Comment on Sniffing WS2812 (Neopixel) bus?
cmnybo@discuss.tchncs.de 1 month agoThe WS2812 only runs at 800kbps. That’s well within the capabilities of one of those 24 MHz FX2 based USB logic analyzers that you can get for less than $10. Sigrok has a protocol decoder for the WS2812 LEDs.
GandalfDG@beehaw.org 1 month ago
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.
cmnybo@discuss.tchncs.de 1 month ago
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.