Hello there!
How can I use more than 115 leds in WS2811/12 ledstrips?
That’s the maximum I could control and turn on when using the library.
I really appreciate if anyone can help with some tips on this.
I had the same problem using Adafruit Neopixel library too.
Thanks!
Yes, you can use more. If you’re having problems, you may have a memory issue in your routines. For instance, the last LED in the array is leds[NUM_LEDS-1] and NOT leds[NUM_LEDS]. Be careful in your for loops or you’ll overshoot the array.
The questions remains, what microcontroller are you using? A trinket, for example, with large animations can have a rough time with LEDS > 100.
I’m using Arduino UNO and Arduino Mega, the same problem… could be a deffective led?
Here is a simple code I made to test:
Yes, and possible power issues…how many LEDs are on the roll? If the first 100 only light up and the rest of the roll is dark, then it possibly is a defective LED or manufacturing process error.
Possibly - I’ve certainly run hundreds, if not thousands of leds before without issue. (Though, to be fair, thousands required moving to an Arduino Due)
Thankyou guys. I will try again with other ledstrip. I will also try to remove/jump the led #116 and check if it works
You might also want try this (known to be working) code using the FastLED library.
i think it would help if you define “not work” by the fact you’ve used 2 libraries, i would put it to defective led/chip, but it could be a power issue also.
if you’re using the standard roll of leds, you can carefully solder some bridge wires across the offending broken led and see if the rest light up (or bend the flex until the connections touch
)
it really was a deffect LED. thank you guys for the help 