I’m having a bit of a problem, and was hoping someone might be able to help.
I have a circuit using 224 ws2812b leds, on strips of 30/meter (so 7.5 meters). This is split into 8 uneven strips (23, 23, 28, 28, 31, 32, 29, 30), run off one continuous data line for all of them, with a 300ohm resistor before the first pixel. Each strip has it’s own power connection, run off one 6A power supply. My microcontroller (lilypad usb) is powered seperately with a 2.5A lipo battery.
When I run the neopixel library teststrip program (from an uno, 5v power supply), everything works perfectly. When I switch to my program running fastLED, the final meter of leds goes crazy, intermittently. Those leds will flash red, green, blue, very quickly for a couple seconds, at full brightness, then go back to what they’re programmed to do for a few seconds, over and over (I’ve tried it at a 100 and 50 brightness value, same result both times). If I pinch any exposed part of the data line, I can force the craziness to happen.
If I bypass the resistor, the flashing on the final meter stops, but then the program runs at or near full brightness. By pinching the any exposed part of the data line then, It goes back to the programmed brightness, and the craziness happens again.
It seems I have plenty of power to run the circuit, since the teststrip program works fine, which also indicates to me everything is wired up good.
My guess is a weak data signal. Perhaps I need to run the lilypad via usb to gain a 5v signal? I’m only home on weekends and didn’t think of this until I left for work.
However, I’m confused why bypassing the resistor would cause it to run full brightness, when programmed to do much less, so I thought it best to see if anyone has any insights.
I can draw up a circuit diagram if needed, or provide code if you like.
Thank you