Skip to main content

CraftBeerPi Plugin

Project description

CraftBeerPi4 Actor i2cPWM Plugin

Actor i2cPWM

Plugin will provide the ability to run actors using Adafruit's DC & Stepper Motor HAT for Raspberry Pi. Reason for using this HAT is to take advantage of a the fully-dedicated PWM driver chip. The PWM control is amazing!

Installation:

First two steps can be combined.

  • install i2c support:
    • sudo raspi-config
    • Interface Options
    • I2C
    • Enable by selecting
    • sudo reboot
    • After reboot, make sure it's working:
      • sudo i2cdetect -y 1
  • configure SPI:
    • sudo raspi-config
    • SPI
    • Enable by selecting
    • sudo reboot
    • After reboot, make sure it's working:
      • "ls -l /dev/spidev*"
  • sudo pip3 install cbpi4-Actori2cPWM
  • or install from repo: sudo pip3 install https://github.com/sjhoglund/cbpi4-Actori2cPWM/archive/main.zip
  • cbpi add cbpi4-Actori2cPWM

Usage:

More to come

Hardware:

Changelog:

  • 01-29-22: (0.0.1) Updated README

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cbpi4-Actori2cPWM-0.0.1.tar.gz (193.6 kB view details)

Uploaded Source

File details

Details for the file cbpi4-Actori2cPWM-0.0.1.tar.gz.

File metadata

  • Download URL: cbpi4-Actori2cPWM-0.0.1.tar.gz
  • Upload date:
  • Size: 193.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for cbpi4-Actori2cPWM-0.0.1.tar.gz
Algorithm Hash digest
SHA256 582f66eee89b5973e6d27822e9b0de5d0945cf1fb657c2c6ff7e1ecfc9fbd25d
MD5 753eecd109ccaf8dc4381167827e5c2b
BLAKE2b-256 124b0e2627d6929f2d41309a1946b5f39b6c9c30acc57c05f5b9c4cbc2370af3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page