jackw01 / led-control

Advanced WS2812/SK6812 RGB/RGBW LED controller with on-the-fly Python animation programming, web code editor/control interface, 1D, 2D, and 3D display support, and E1.31 sACN support
https://jackw01.github.io/led-control/
MIT License
162 stars 35 forks source link

Random Flicker #7

Closed ogpw closed 3 years ago

ogpw commented 3 years ago

So I setup a strip of SK6812 LEDs (2m, 120 LEDs in total) with a Raspberry Pi 4 Model B. The software works perfectly with the LEDs except for at random intervals, the LEDs will flicker.

For example, when left on "Solid Colour" on red (255,0,0), the LEDs will randomly flicker to white at full brightness. Sometimes it will be frequent (3/4 times in 10 seconds) while sometimes it can go half a minute or longer without flickering.

I'm uncertain as to what could be causing this. I've tried changing the FPS to no avail (default of 60 to 30 then to 24). I've tried setting up the circuit with a level converter and without one. The program and lights work on both occasions but the flickering still happens. I've tried switching DMA channels, the problem still persists.

Any help would be appreciated!

ogpw commented 3 years ago

After shutting off my Pi for a while and then booting it and the program up again, there seems to be no flickering. I'm gonna put it down to either me fiddling with the settings erratically initially caused it to have a tantrum or just using it during a bad moment.

For now, the issue is resolved.

jackw01 commented 3 years ago

Sometimes flickering can be caused by a defective LED, an inadequate power supply, or (most of the time) a loose data connection.