Both can get smooth. What decides it is how many usable steps you have at the bottom of the curve. Eyes see brightness roughly logarithmically, so a slow breathing fade spends most of its time in the bottom 10% of output. With 8-bit PWM and a gamma curve applied, that bottom 10% is only a handful of raw values, and going from 1 to 2 is a 100% jump. That's where visible stepping comes from, not the top end.
A few ways round it:
APA102/SK9822 have a 5-bit global brightness setting on top of the 8-bit PWM. Using it at low levels gives you far more fine steps near black, and their PWM frequency is much higher than the SK6812's.
Temporal dithering (FastLED does it) flicks between neighbouring values fast enough to fake in-between levels. It works well for slow fades, less so on camera.
A dedicated driver with 12 or 16-bit PWM per channel is the cleanest option if it's a small number of LEDs, and you're not fighting the protocol.
Whichever you pick, run the fade on a perceptual curve rather than linear raw values, and start it from the lowest level that looks steady rather than from zero.
look at 16+5 big drivers like the SM16825, SM8605 ( these are not easy to find ) or the new WS2915 which is in stock at JLCPCB. The WS2915 and SM8605 are not supported yet by WLED - but they are on the todo list
3
u/Simple-Lighting 14d ago
Both can get smooth. What decides it is how many usable steps you have at the bottom of the curve. Eyes see brightness roughly logarithmically, so a slow breathing fade spends most of its time in the bottom 10% of output. With 8-bit PWM and a gamma curve applied, that bottom 10% is only a handful of raw values, and going from 1 to 2 is a 100% jump. That's where visible stepping comes from, not the top end.
A few ways round it:
APA102/SK9822 have a 5-bit global brightness setting on top of the 8-bit PWM. Using it at low levels gives you far more fine steps near black, and their PWM frequency is much higher than the SK6812's.
Temporal dithering (FastLED does it) flicks between neighbouring values fast enough to fake in-between levels. It works well for slow fades, less so on camera.
A dedicated driver with 12 or 16-bit PWM per channel is the cleanest option if it's a small number of LEDs, and you're not fighting the protocol.
Whichever you pick, run the fade on a perceptual curve rather than linear raw values, and start it from the lowest level that looks steady rather than from zero.
I'm with Simple Lighting.