vince.cimo
Well-known member
Hi guys, I'm having flickering issues using the WS2812B LED chips.
Here's what's going on:
*This is USB powered, so I have max 400mA to work with. Keeping that in mind...*
I have 12 WS2812B LEDs connected, which I planned on operating at half brightness, meaning I should be drawing a total of 30mA * 12 = 360mA.
With solid colors (Red, Green or Blue), I can run all 12 LEDs just fine.
Colors that require mixing, however, badly flicker if I'm running more that 3 LEDs.
What troubles me, is that this flickering is persistent even if I lower the brightness level to 1/10th of the brightness. Furthermore, the flickering sometimes turns the LED off, but sometimes flickers a totally different color, at a seemingly random brightness.
It seems like this issue has less to do with power consumption and more to do with my logic not properly getting to the LEDs or noise on the signal line.
I'm attaching my schematic...if you guys have any tips it would be greatly appreciated.
UPDATE:
This is weird, but I've just found that if I send unequal RGB values to the LEDs, they seem to work fine...for example, 0x121212 will not work, but 0x121416 will work. Is this a software issue? Super confused...
Here's what's going on:
*This is USB powered, so I have max 400mA to work with. Keeping that in mind...*
I have 12 WS2812B LEDs connected, which I planned on operating at half brightness, meaning I should be drawing a total of 30mA * 12 = 360mA.
With solid colors (Red, Green or Blue), I can run all 12 LEDs just fine.
Colors that require mixing, however, badly flicker if I'm running more that 3 LEDs.
What troubles me, is that this flickering is persistent even if I lower the brightness level to 1/10th of the brightness. Furthermore, the flickering sometimes turns the LED off, but sometimes flickers a totally different color, at a seemingly random brightness.
It seems like this issue has less to do with power consumption and more to do with my logic not properly getting to the LEDs or noise on the signal line.
I'm attaching my schematic...if you guys have any tips it would be greatly appreciated.
UPDATE:
This is weird, but I've just found that if I send unequal RGB values to the LEDs, they seem to work fine...for example, 0x121212 will not work, but 0x121416 will work. Is this a software issue? Super confused...