I've built a WordClock with a NodeMcu and some ws2812b LEDs some time ago and it worked really well for like half a year but now the LEDs are starting to flicker when the WordClock runs longer than some days. Video of the problem

I've got a 25w meanwell power supply, has this something to do with undervoltage? The strip is connected on both side to the PSU and I've measured stable 5V on the strip back when I installed them. Any recommendations?

  • 2
    That looks more like a communication problem than a power supply problem.
    – Majenko
    Jun 14, 2020 at 13:06
  • that looks like a flash, not a flicker ... the LEDs brighten suddenly ... they do not waver in intensity like candle light .... maybe your code turns off all of the LEDs and then lights some of them, and the code loop gets paused when the leds are lit
    – jsotola
    Jun 14, 2020 at 17:12
  • It seems, that only the already lighted LEDs flash. Is that correct? (Is not easy to see behind the letters). Are you sure, that the voltage is really stable? If you have an oscilloscope, you could check for that. Please also show your code. Maybe it can give a hint about what is wrong. Just a wild guess: Have you checked, if the controlling Arduino maybe resets for some reason? Depending on the code that might cause such a problem
    – chrisl
    Jun 14, 2020 at 18:06
  • @chrisl the lighted LEDs are working normally but rather the LEDs right next to them have this flashing problem, I tweaked my code a little bit and reduced the update cycle of my FastLED library to only update when the minute actually changes, maybe this could prevent this from happening because before I used called my update lights function every 30ms.
    – Janik
    Jun 15, 2020 at 9:10


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.