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

Can you add support for a WS2812B 5050 RGB 24 led ring? #27

Closed cellfreak closed 5 years ago

cellfreak commented 5 years ago

Here is the link below. The second link will run the 24 led perfectly off the Pi 3 using pin 18

https://www.ebay.com/itm/WS2812B-5050-RGB-LED-Ring-24Bit-RGB-LED-Integrated-Drivers-For-Arduino/201748593347?hash=item2ef9273ac3:g:gBwAAOSw241YU2w4&rmvSB=true

https://tutorials-raspberrypi.com/connect-control-raspberry-pi-ws2812-rgb-led-strips/

EricHigdon commented 5 years ago

@cellfreak if the article you linked controls those leds, then so should this plugin. They both use the rpi_ws281x library.

cellfreak commented 5 years ago

Your plugin does not work. I have the correct pins plugged in but the LED neopixel does not light up.

EricHigdon commented 5 years ago

Ah, and it works with the tutorial you linked?

cellfreak commented 5 years ago

I got it to work. But had to change the 1 to a 0 for pin 10. My PI3 started to drop the wifi connection. Thie RGB status was the only plugin I installed. I flashed a new Octoprint image with no plugins and the wifi stays connected.

EricHigdon commented 5 years ago

@cellfreak If you mean that you changed the led_channel to 0, that is correct. In order to use pin 10 for RGB LED control, you should use led_channel 0.

As for WiFi issues, I highly doubt that this plugin is related. It has nothing to do with WiFi.

There are still a lot of things documentation wise that I need to improve with this plugin. It's a slow process right now with other job/life things pulling me away.

So glad to hear you got it working. Enjoy!