Hey guys,
Sorry in advance, I’m new to all this forum stuff. I am having a really frustrating (novice af) problem with some WS2812B strips.
I want to run a basic chase effect on 150 led’s with a mega 328p controller but nothing does what it is suppose to. Very few of the examples even light up any LED’s. The code attached manages to flick the first LED green then white then move on to the next but only reaches no. 13…
So I just want to know whether I should be superstitious or that maybe this particular strip isn’t what its suppose to be? (ebay buy, doesnt say WS2812b anywhere on the packaging/strip itself)
Rather than supply the Arduino with power from the USB port, I would program the Arduino from the USB, disconnect the USB and then connect the +5V from your PS to the 5V pin on the Arduino.
I suspect your grounds were not connected properly.
@JP_Roy I guess I wont be able to show my face on this forum again… Thank you so much sir, this was exactly it!
@Andrew_Tuline It was actually the wrong resistor magnitude as stated by JP Roy. But I will be doing this once I have a grip on the programming so out of interest, is there any problems in doing this? My PS drops to 4v when the lights are at full capacity…
I would simply change to a PSU that can deliver all the current for your 150 LEDS. That is 150 X 60 milliamps = 9 amps if you set all the LEDs to full brightness white.
USB typically can deliver 2 amps so to work you must significantly reduce the strip brightness.