this post was submitted on 13 Apr 2026
6 points (100.0% liked)
Ask Electronics
4102 readers
2 users here now
For questions about component-level electronic circuits, tools and equipment.
Rules
1: Be nice.
2: Be on-topic (eg: Electronic, not electrical).
3: No commercial stuff, buying, selling or valuations.
4: Be safe.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
well, it's more being able to detect long vs. short pulses, as it's not the logic level but the pulse width that encodes the bits.
With a 24MHz sample rate, there will be 30 samples per bit. The narrowest a pulse for the WS2812 can be is 220 ns, which will be about 5 samples. That's more than enough to decode it.