3 ms·
Been using ESP32 to drive WS2812b LEDs for years. You need to use the SPI peripheral to drive the LEDs, using a driver that outputs the data format the LEDs und
by leptons 3y ago
Been using ESP32 to drive WS2812b LEDs for years. You need to use the SPI peripheral to drive the LEDs, using a driver that outputs the data format the LEDs understand. The SPI peripheral uses DMA and does not glitch when wifi is accessed at the same time.
- bryal 3y agoAnother alternative is to use the RMT (remote control module). I've had success with that. There's a driver for it in Rust: https://lib.rs/crates/ws2812-esp32-rmt-driver https://lib.rs/crates/ws2812-esp32-rmt-driver
- leptons 3y agoRMT glitches when wifi is accessed. I started with RMT, it was a big fail for me.