Hardware Setup Examples
This pages shows some examples on how to wire & setup DroneBridge for ESP32 hardware.
Last updated
This pages shows some examples on how to wire & setup DroneBridge for ESP32 hardware.
Last updated
The AIR-Unit is the ESP32 that connects to the flight controller, while the GND-Unit is connected to a GCS-PC or phone. The GND-Unit is only required in setups using WiFi-LR or ESP-NOW modes.
All AIR-Units run the standard DroneBridge for ESP32 firmware.
These setups are only required when using ESP-NOW or WiFi-LR Modes. Different firmware flavours are available. They differentiate themselves by which interface they pass the data to the PC-GCS.
This setup requires you to flash the USBSerial
firmware flavour to your GND-ESP32.
Only a few ready-made boards like the official HW boards featuring the C3 & C6 ESP32 chips support this mode.
This setup requires you to flash the regular firmware.
This method always works and can be used with all boards. A recommended Serial-to-USB adapter is for example the CJMCU CP2102 with USB-C. It supports 5V power output and 3.3V UART signal level at the same time, making it 100% compatible with the Pixhawk standard. Connect the adapter using any available pins (see Hardware & Wiring instructions for exceptions). In general, it is not recommended to enable flow-control (only wire GND, VDD, TX & RX) since it may lead to unexpected issues and is usually not needed on the GND side.
This setup is robust and works with MissionPlanner & QGroundControl out of the box.
This setup requires you to flash the noUARTConsole
firmware.
Most generic ESP32 development boards come with an onboard Serial-to-USB chip as part of the board. Usually, that onboard Serial-to-USB chip is connected to the debugging UART of your ESP32 (TX & RX marked pins on your development board). It is used for conveniently flashing and debugging the firmware, removing the need for an external Serial-to-USB adapter. That is why you cannot use/configure these pins with DroneBridge. They are already occupied.
The special firmware flavour noUARTConsole
disables the debugging console on that UART, freeing it for use with DroneBridge. This means you can connect your PC directly to the USB port of the development board's onboard Serial-to-USB chip. All data will be transmitted using that UART.
You must configure the UART`s GPIO pins in the web interface. Check the manufacturer's data sheet for the correct GPIO numbers. They are usually marked with TX & RX on the board.