ESP-32 WS2812b flickering when lost Wifi connection

Adding
Posts: 1
Joined: Sat May 07, 2022 8:57 am

ESP-32 WS2812b flickering when lost Wifi connection

Postby Adding » Sat May 07, 2022 9:22 am

Hello everybody,

today I noticed a weird flickering behaviour of a WS2812b LED strip, which is controlled by an ESP-32 Wroom 32D. The flickering ONLY occurs, when Wifi connection is lost and the flickering stops (everything works fine) when the ESP reconnects to the internet. I made my own circuit board with all the design rules I found in the internet.
Here the important setup:

1. ESP32 Wroom 32D (see picture for schematics)
2. WS2812b
3. NeoPixel library from Adafruit
4. WifiMager library

Like I said, the flickering behaviour only occurs, as soon as the internet connection is lost (some random LEDs light up in a random color for a very short time, which repeats over random time spans). When reconnected to the internet, the LEDs are working perfectly! I am still pretty new to this topic (my first project with ESP32) and I don't know whether this is a problem in Code (maybe NeoPixel library?) or a problem in my hardware setup (but apart from the described problem, everything works fine).

I appreciate your help, thank you very much!
Attachments
Screenshot 2022-05-07 at 11.14.08.png
Screenshot 2022-05-07 at 11.14.08.png (85.55 KiB) Viewed 1326 times

Charles_Wen
Posts: 13
Joined: Fri Aug 06, 2021 1:39 am

Re: ESP-32 WS2812b flickering when lost Wifi connection

Postby Charles_Wen » Wed Aug 31, 2022 10:32 am

The power supply may be insufficient, when WIFI disconnect, the board need more power, then the strip flicker.

Who is online

Users browsing this forum: Asgeir and 52 guests