APA102 Flickering when adjusting brightness

I’ve got an APA102 strip running from a D1 mini lite. I’ve tried with and without level shifting.

The problem I have is there is flashing when I adjust the brightness. Pretty much everything else is very stable and looks good, but it strobes when adjusting brightness. I don’t have this problem with WS2812b’s only with the APA102’s

Here is a video… when you see strobe flashing… that’s when I’m adjusting the brightness:

Any ideas?

Did you compile yourself? I think this was fixed in an update to a library.

I see your data cable is longer then 20cm. When you ned a longer distance to the led strip you must use a level shifter.
The other thing is:

  • How many LED’s you use on the strips?
  • What for a power supply you use?

-A better image from the wemos d1 mini and power supply and led strip would be awesome because that video don’t shows what we need to see. Hope you can make one much better image.

Hi, i had exact the same issue, it’s fixed in an update in NeoPixelBus.
See: LEDs flickering while using brightness

Right there was an update for the NeoPixelNus.
Question is @zimmer62 have you used the lates binaty for 0.9.1 or have you compiled for your own?

Good way to start is use the newest binarey or compile the leatest dev version for yourown needs.

I compiled myself, probably a week ago. I’ll check my libraries and report back. I did get the exact same issue with and without the level shifter so I have that out of the loop for now.

Based on the other message, it sounds like this is a library issue that’s been fixed. I’ll check into that and report back. Thanks everyone!

The library for neopixelbus was updated less then a week ago.
So a new compile with the updated library will work.
I use apa102 leds also, with the new update it works ok now.

That was it! Thanks everyone. The fix was NeoPixelBus@2.5.7
I had been using 2.5.6

To answer all of the other questions for completeness:

APA102 (144/m qty 214)
Power supply SMUN AS-75-5 (75 watt 5v power supply 15amps)

It’s working just fine without the level shifter. My data cable is about 55cm to the first pixel

The D1 Mini Lite (ESP8285) didn’t seem to take the binary, hence me compiling myself.

2 Likes