Skip to content
Stan’s Legacy

ESP32 Complex Waveform Generator v3 (RMT)

Files only · Files only

A gated pulse-train and burst generator on the ESP32's RMT peripheral. The whole waveform, pulses and the inter-burst gate, is generated in hardware at 12.5 ns resolution and looped in hardware, so the CPU is out of the timing loop and the output is jitter-free under scope averaging. Clean up to about 20 kHz and usable well beyond; a sigma-delta dither mode gives an exact mean frequency below the raw tick grid. Two operating modes, seven rotary encoders, params persist across switches.

Source, wiring and the serial protocol are in the repository. Free; ask for it and the link is yours.

Source on GitHub: https://github.com/cbake6807/ESP32-CWG-RMT