webmailtje There is indeed a timing difference. look in the datasheet to correct for it.
Antwort 07/03/2020Anton WS2812Bis better
Antwort 17/12/2021
BG344213471
They're pretty forgiving wrt timings in my limited experience. The WS2812B-5050 (5.0 mm x 5.0 mm LED package) have a ±600 ns tolerance on the 1.25 us period (TH+TL) and about ±125 ns on TH and TL. Doesn't really add up wrt to the period and the datasheets are somewhat inconsistent, but not too bad. As long as you don't wait too long between writing to the LEDs (datasheet says < 20 us IIRC otherwise the cascading will reset but these numbers vary wildly between datasheets and models), the first LED will "recondition" the signal before cascading it out to the next LED. A "sufficiently clean" signal, where you have quite a bit of timing slack should be fine.
What you can't do is add a series resistor to dim the insane brightness of these things. LEDs will display red instead of the white you asked for, as an example. A 10-20 Ω resistor seems to work, because of the lower voltage drop I guess, but the effect it has on brightness is limited and it's not unlikely to burn the resistor either (these can pull multiple amps).
IME just scale down the range, to say [0..32]. They're already blinding bright indoor anyway so at that range. Also consider gamma correction, and maybe a separate correction table per primary (green is a lot brighter at the same level as the other two, for example). Depends on how pedantic you are on getting the colors right I guess .
Unser Unternehmen | Kontaktieren Sie uns | Zahlung & Versand | Partnerschaft-Programme |
---|---|---|---|