EricHigdon / OctoPrint-RGB_status

Adds RGB LED support to OctoPrint with the ability to choose effects based on the current status of your printer
33 stars 12 forks source link

LEDs #1

Closed codegrue closed 5 years ago

codegrue commented 5 years ago

Thanks for making this. Do you have any references for where to get the LED's to control?

EricHigdon commented 5 years ago

Most of my LEDs have come from Amazon. The Alitove LEDS always seem to be fairly good quality, so maybe these.

However, this plugin should support anything that rpi_ws281x supports, so the options are virtually endless. I've also done some testing with LED pixels that I got from Ray Wu's Aliexpress store.

codegrue commented 5 years ago

Perfect, Thank you!

codegrue commented 5 years ago

The Amazon one will plug right into the Raspberry Pi circuit board? Forgive me I'm new to this stuff.

EricHigdon commented 5 years ago

For the most part. You'll probably want to use an external power supply (your 3D printer supply may work if you use a buck converter to shift the voltage).

The Adafruit tutorial for Neopixels on the Raspberry Pi is a very good resource for getting started. Note: "NeoPixels" are the Adafruit branded version of WS2811/2812 LEDs. The Amazon link above has the same LEDs and chips for slightly less money.

For the most part, this image shows the wiring that you will need. The main difference is that you'll probably want to use pin 10 since pin 18 (used in the image) requires that you run OctoPrint as root.