This is firmware to turn an esp32 into an OpenDroneID receiver which then is transmitted via mavlink over serial to a flight controller. It can be used to report threats to the ground station or perform other actions based on the flight controllers discretion.
This project is done as part of UCI's EECS Senior Design Project and is also supported by ASTM International through their Senior Design Project Grants.
It uses FAA regulations that require Open Drone ID transmitters on every Drone. This regulation can be extended to allow the automated drone warning and avoidance systems for other drone usersof collisions between drones when they fly close to each other. Our project aims to achieve this.
Repo is meant to work with PlatformIO in Visual Studio Code.
First select a version that you want to upload from the tags,
current latest version is v1.0.1
.
git checkout v1.0.1
You can upload it by running the command:
pio run --target upload
If you are using this under SITL, to find the UART device that it is connected to, run
ls /dev/serial/by-id
If you have only one esp32 connected to it, you can copy the only file that is listed under this directory. The esp32 must be connected via the USB port that is marked UART. Add the serial device to your sitl command by adding this:
--serialX="/dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_eae59a1bbed2eb11a213c149e93fd3f1-if00-port0
Change the last part to your the file you found by listing /dev/serial/by-id
.
We appreciate the code that we were able to refer to and use in order to build this project.
Fork of uav_electronic_ids with libraries from: opendroneid-core-c mavlink