Awesome
<br /> <div align="center"> <img src="wiki/DroneBridgeLogo_text.png" alt="DroneBridge logo" width="400"> <h1>DroneBridge for ESP32</h1> </div>A firmware for the popular ESP32 modules from Espressif Systems. Probably the cheapest way to communicate with your drone, UAV, UAS, ground-based vehicle or whatever you may call them.
It also allows for a fully transparent serial to WiFi pass-through link with variable packet size (As of release v2.0RC4 no continuous stream of data required anymore in MAVLink and transparent mode).
DroneBridge for ESP32 is a telemetry/low data rate-only solution. There is no support for cameras connected to the ESP32 since it does not support video encoding.
Features
- Bidirectional: serial-to-WiFi, serial-to-WiFi Long-Range (LR), serial-to-ESP-NOW link
- Support for MAVLink, MSP, LTM or any other payload using transparent option
- Affordable: ~7€
- Up to 150m range using standard WiFi
- Up to 1km of range using ESP-NOW or Wi-Fi LR Mode - sender & receiver must be ESP32 with LR-Mode enabled
- Fully encrypted in all modes including ESP-NOW broadcasts secured using AES-GCM 256 bit!
- Weight: <8 g
- Supported by: QGroundControl, Mission Planner, mwptools, impload etc.
- Easy to set up: Power connection + UART connection to flight controller
- Fully configurable through an easy-to-use web interface
- Parsing of LTM & MSPv2 for more reliable connection and less packet loss
- Parsing of MAVLink with the injection of Radio Status packets for the display of RSSI in the GCS
- Fully transparent telemetry down-link option
- Reliable, low latency
Hardware
Officially supported and tested boards:
Do the project and yourself a favour and use one of the officially supported and tested boards below.
These boards are very low in price, have everything you need and are also very small. Perfect for use on any drone.
- Official board for DroneBridge for ESP32 ebay DE/EU
Official board for DroneBridge for ESP32 ebay EU- spares from the second batch, pre-installed and ready for use
currently shipping to EU only - contact seller for non-EU shipping options <img src="https://github.com/DroneBridge/ESP32/assets/24637325/e3b2975d-7de4-41af-b052-e4fa024d905e" alt="Official Boadrd DroneBridge for ESP32" width="350">
- spares from the second batch, pre-installed and ready for use
- Order the PCB yourself using the KiCAD PCB Project & Production files with private and commercial use options!
- Official board for easy use as ground station coming soon!
For further info please check the wiki!
Installation/Flashing using precompiled binaries
It is recommended that you use the official online flashing tool!
In any other case there are multiple ways how to flash the firmware.
For further info please check the wiki!
Wiring
- Connect the UART of the ESP32 to a 3.3V UART of your flight controller. It is not recommended to use the ESP32s pins that are marked with TX & RX since they often are connected to the internal serial ouput. Go for any other pin instead!
- Set the flight controller port to the desired protocol.
Check out the manufacturer datasheet! Only some modules can take more than 3.3V. Follow the recommendations by the ESP32 board manufacturer for powering the device
For further info please check the wiki!
Configuration
- Connect to the WiFi
DroneBridge ESP32
with passworddronebridge
- In your browser type:
dronebridge.local
(Chrome:http://dronebridge.local
) or192.168.2.1
into the address bar. You might need to disable the cellular connection to force the browser to use the WiFi connection - Configure as you please and hit
save
For further info please check the wiki!
Use with QGroundControl, Mission Planner or any other GCS
- The ESP will auto-send data to all connected devices via UDP to port 14550. QGroundControl should auto-connect using UDP
- Connect via TCP on port 5760 or UDP on port 14550 to the ESP32 to send & receive data with a GCS of your choice.
- In case of a UDP connection the GCS must send at least one packet (e.g. MAVLink heart beat etc.) to the UDP port of the ESP32 to register as an endpoint. Add ESP32 as an UDP target in the GCS
- Manually add a UDP target using the web interface
Further Support & Donations
If you benefited from this project please consider a donation:
For questions or general chatting regarding DroneBridge for ESP32 please visit the Discord channel
<div> <a href="https://discord.gg/pqmHJNArE3"> <img src="wiki/discord-logo-blue.png" width="200px"> </a> </div>