A lightweight Arduino library for encoding and transmitting DJI DBUS protocol signals (Robomaster format). Designed for ESP32 and other Arduino-compatible boards.
- Simple API for sending DBUS control signals
- Supports all standard DBUS channels (4 RC, 2 switches, mouse, keyboard)
- Optimized for ESP32 but works with other Arduino boards
- Handles all DBUS protocol formatting automatically
- Converting gamepad/joystick inputs to DBUS signals
- Creating custom wireless controllers for DJI systems
- Robotics projects requiring DBUS protocol
- Install via Arduino Library Manager
- Include in your sketch:
#include <RM_DBUS.h> - Initialize with
DBUS.begin() - Set channel values with
DBUS.write_channel() - Transmit with
DBUS.update()andDBUS.send()
#include <RM_DBUS.h>
RM_DBUS DBUS;
void setup() {
DBUS.begin();
}
void loop() {
DBUS.write_channel(1, 1024); // Set throttle
DBUS.update();
DBUS.send();
delay(10);
}MIT License - Free for personal and commercial use