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 hashes)

Uploaded Source

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