How derdoktor667/dshotrmt works
DShotRMT is an ESP32 Arduino/ESP-IDF library for sending DShot motor-control frames and, optionally, receiving ESC telemetry. The principal workflow is an application calling the driver to initialize RMT, send throttle or commands, then poll decoded telemetry. Protocol definitions and utility reporting support that runtime. The README documents the major capabilities; implementation excerpts show frame transmission and telemetry handling, but omit parts of initialization and RX processing, so those links rely on the README.
Main entry points: DShotRMT.cpp DShotRMT driver · DShotRMT.h Public API · dshot_init.cpp RMT initialization · dshot_definitions.h Protocol definitions
Components 8
DShot driver
- DShotRMT driver
src/DShotRMT.cpp - Public API
src/DShotRMT.h
Protocol support
- Protocol definitions
src/dshot_definitions.h - Result and info helpers
src/dshot_utils.h
RMT hardware
- RMT initialization
src/dshot_init.cpp - ESP32 RMT peripheral
Other components
- Arduino application
- BLHeli ESC
Connections 11
- Arduino application → Public API: calls
README.md - Public API → DShotRMT driver: implements
src/DShotRMT.cpp - DShotRMT driver → RMT initialization: initializes
README.md - DShotRMT driver → Protocol definitions: uses
- DShotRMT driver → Result and info helpers: includes
- RMT initialization → ESP32 RMT peripheral: configures
src/dshot_init.cpp - DShotRMT driver → ESP32 RMT peripheral: transmits
src/DShotRMT.cpp - ESP32 RMT peripheral → BLHeli ESC: sends signal
- BLHeli ESC → ESP32 RMT peripheral: returns telemetry
README.md - DShotRMT driver → ESP32 RMT peripheral: receives telemetry
README.md - Arduino application → DShotRMT driver: polls telemetry
README.md