Skip to content
OctoPrint plugin that intercepts M150 GCode commands and controls LEDs connected to PCA9685 over I2C.
Python HTML
Branch: master
Clone or download
Pull request Compare This branch is 17 commits ahead of google:master.
Latest commit 5d244f8 May 7, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
octoprint_PCA9685LEDStripControl Update __init__.py May 7, 2019
.editorconfig Adding this back in Mar 10, 2017
.gitignore Initial Import Mar 10, 2017
CONTRIBUTING.md Initial Import Mar 10, 2017
LICENSE Initial Import Mar 10, 2017
MANIFEST.in PCA9685 mod May 7, 2019
README.md Update README.md May 7, 2019
babel.cfg Initial Import Mar 10, 2017
requirements.txt Revert "bumping version, adding pigpio in requirements." Mar 1, 2018
setup.py Update setup.py May 7, 2019

README.md

OctoPrint-PCA9685LEDStripControl

OctoPrint plugin that intercepts M150 GCode commands and controls LEDs connected to PCA9685 over I2C.

PCA9685 dev board

Implements the M150 command syntax from the latest Marlin.

    M150: Set Status LED Color - Use R-U-B for R-G-B Optional (W)
    M150 R255       ; Turn LED red
    M150 R255 U127  ; Turn LED orange (PWM only)
    M150            ; Turn LED off
    M150 R U B      ; Turn LED white
    M150 W          ; Turn LED white if using RGBW strips (optional)

Setup

  1. Connect PCA9685 (address 0x40) and enable I2C in configuration

     sudo raspi-config
    
  2. Install via the bundled Plugin Manager or manually using this URL:

     https://github.com/ozgunawesome/OctoPrint-PCA9685LEDStripControl/archive/master.zip
    
  3. Restart OctoPrint

Configuration

Configure the PCA9685 pins via the OctoPrint settings UI.

Disclaimer

This is not an official Google product.

You can’t perform that action at this time.