All of my ESP32 boards do this constant flicker, it’s like one led that runs down the length of the strip and flickers (seemingly random) colors, It’s not too noticable but it’s quite annoying. I’m at the point where I’m still trying to figure out if it’s my code or it’s the hardware I’m using.
Hi @John_Sahhar , I’ve been using ESP32 boards (the DoIt V1 variety) successfully without flicker, but I did have flicker initially.
The main cause of flicker in my particular case was that my data wire that connects the ESP32 and the LED strip was sitting too close to my buck converter, which was creating interference.
Make sure the ground of your ESP32 and the ground of your LED strip are connected together, make the data wire between the ESP32 and strip as short as practically possible, and ensure all your solder and connections are secure.
Finally, if you’re not level shifting, that could likely be the culprit. Personally, I’ve been able to run ESP32s without needing any level shifting, but it’s a game of chance. If you decide to try level shifting, give the 74HCT245 a go.
And you mentioned you’re figuring out if it’s your code. Can you run something like this (FastLED "100-line" demo reel · GitHub) without flickering? Keep in mind that one of the rainbow effects actually has a white flicker programmed into it
@Chris_Parton perfect. I would just ask that if you have to have long distance between the ESP32 and the strip you can use Ethernet cables or twisted a ground line with a data line to shield it. I was able to send data up to 4meters away from the esp32 without any flickering
@Chris_Parton@Sam_Guyer Thank you guys so much, big thank you to you Sam. It’s rare that something just fixes an annoying problem so perfectly and quickly. I appreciate your effort.