esp-rs / esp-hal-community

Apache License 2.0
14 stars 11 forks source link

Updated timings for ws28xx/sk68xx & clones. #9

Closed tschundler closed 1 month ago

tschundler commented 1 month ago

The existing timings don't work reliably with all my various ws28xx clones. This set of timings is more reliable.

I added some notes about constraints I discovered. It seems WLED uses 400ns/800ns, which is below datasheet values, but can be a little glitchy on one chipset I tried.

I've used 6 different types of LEDs - these work for all of them.

https://photos.app.goo.gl/nF5x5BMQ2qTPjZ6x8 - some of my tests. The lower genuine (I think) ws2812 works in all cases - original timing and mine. Another 8x8 panel of unknown LEDs only works when T1H >= 850ns and T0H >=350ns. LED tubes from ClenLED using UCS2903 chips need at least 800ns T1H and 400ns T0H