Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Another 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


RMT glitches when wifi is accessed. I started with RMT, it was a big fail for me.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: