I'm developing a museum exhibit using Node-RED, and I'm using the node-red-node-pi-neopixel to control it. Simplified version of the issue: I'm treating the strip as an LED VU meter to display 0-100% of an arbitrary "power level" across 10 LEDs. I have this working very well using a 5V WS2811 string connected directly to the Pi for both 5V power and data from Pin 12 (GPIO18).
When I attempt to connect my 12V WS2811 string that will be used in production (using a tested 12V DC power supply), it behaves very erratically. I made a short video illustrating the behavior. I'm sending the same RGB value for each of the pixels (using the
x,y,r,g,b payload format), and you can see from the video that there's a lot of flickering and incorrect colors showing up.
- I have tested the string with an SP107E connected to the same 12V power supply and everything behaves swimmingly. So I know it's not the strip.
- My code works properly with a different 5V LED strip, so I don't believe it's the code. For purposes of QA, I did try simply injecting different string payloads into the neopixel node that replicated what I was injecting with code, same behavior.
- Here is my wiring diagram
- I've tried both GRB and RGB settings, to no avail
- I did follow the instructions in this oft-referenced tutorial, including editing
- I did try a different pin for data just to rule that out
Can nny LED wizards out there point me in the right direction?