01 Overview
The RMT LED strip example demonstrates how to drive WS2812-class single-wire protocol strips using the ESP32's RMT peripheral. RMT generates precise timing waveforms in hardware, freeing the CPU, making it ideal for large numbers of LEDs.
LED strips are commonly used for status rings, accent lighting, decorative lights, and any application requiring multi-color, programmable, dynamic effects.
This example is not for simple single-color GPIO lamps; use Blink or LEDC for those. It is also not for high refresh rates or complex protocols like SPI strips.
WS2812 uses a single-wire return-to-zero protocol with 24-bit GRB data per LED, requiring strict timing. RMT handles this easily.
Power and ground design are critical when driving strips; poor design leads to flicker, color errors, and other issues.
During RF certification, the strip itself can become an EMI source, so attention to suppression is necessary.