Hi,
I would like to use a strip of LEDs (WS2812B) that are 55 leds long. but only the first 33 are illuminating.
I am controlling with the examples/LED_roll.lua , swapping to use set_num_neopixel, and adjusting the num_leds. if i set num_leds to anything less than 33 it shows that many as expected but over 33 no more appear. ive also lowered the brightness by halving all the values in the rainbow func so shouldnt be near the current limit.
I’m using rover 4.3.0-beta10 on a H743-SLIM. connected to servo9 in pwm group 4 (as the only thing in that group) paramsLED.param (18.6 KB)
.
the leds also change on the here2 gps to off once the battery is plugged in (unsure if related)
That’s an awful lot of LEDs if you are sourcing power from a pin on the autopilot itself. Recommend testing with a bench power supply to confirm if you are indeed running into a current/voltage drop issue.
As far as I know, the firmware limit for LEDs on a single channel is 128.
I didn’t realize there was a fundamental issue - great pointout!
You could split the LEDs across multiple channels or use an intermediate device like an Arduino and connect as many lights as it will suffer. But if you read the entirety of that issue, there is no resolution for single channel LEDs.