Hi all,
I’m having an issue which seems to be a particular set of LED strips + FastLED code.
Firstly, thank you so much for the FastLED library! It’s been fantastic in the short time I’ve been using it and I really appreciate how well documented it is.
Hardware: I’m driving a 64-long WS2812b strip with the NodeMCU ESP-12E.
I’m having an issue with flickering, which you can see in the video below.
If I replace this particular strip with a strip from a different batch purchase, the flickering goes away.
If I replace the NodeMCU with an Arduino Mega, the flickering goes away.
If I replace the FastLED library with the NeoPixelBus library, the flickering goes away (you can see this here: https://photos.google.com/share/AF1QipOIo2t34G4Bs-em3d87vJ4EUBT_h4eNFzkOnw-fMKS8U_JfrYY0VjCcab5zdoq5jg?key=dXk3V1ZJeHRvVklNNjhva2R1Y1VVYUM4enVGSzln)
About the LED strips:
I have strips from two different purchases that exhibit this behavior. I have strips from a third batch purpose that does not exhibit this behavior. I can’t determine any notable difference between the strips, and unless they were incorrectly advertised (I purchased them from Amazon), they are WS2812b strips.
I’ve noticed also that this strip which exhibits this flickering behavior does not seem to dither as smoothly (it has a distinctly “steppy” fade) as the strip which functions as expected.
So there is an unexpected interaction between the FastLED communication and the particular batch of LED strips that I have.
I have made sure that everything is grounded properly. I’ve attempted various strip definitions from the FastLED library. I tried a logic level converter, and this did not help.
I would prefer to continue using FastLED rather than switch libraries, as I already have my code written there, and would prefer not to port it due to time constraints. On the topic of time constraints, I have a project that will be shipping this Saturday and don’t have time to buy several batches of LEDs and hope that one of them does not exhibit this behavior.
Can anyone point me in a helpful direction? Thank you in advance!
https://photos.google.com/share/AF1QipONbxSfaQQI7wXRbt43EKuuVRTPxPYkysF8troTdTu2xw0AknVtmKZxcPC1l-DVKg?key=ZEU3SE1sbTY4czlCYVdNd2x0ZC01RmFoWmxSb3VR
