ArduPilot/ArduRemoteID

todo - Document how to build and test this, how to configure it, how to wire it to an autopilot, and

Closed this issue · 1 comments

Right now, it builds with "Arduino", and needs very recent 'esp32' board-manager added in eg:

Arduino IDE -> File Menu -> Preferences -> "Additional Board Manager URLs:" https://github.com/espressif/arduino-esp32/releases/download/2.0.3-RC1/package_esp32_dev_index.json
Arduino IDE -> Tools Menu -> Board -> Boards Manager -> [search for 'esp32'] ->Select Version [drop-down]-> 2.0.3-RC1 -> Install
Arduino IDE -> Tools Menu -> Board -> "ESP32 Arduino" ->"ESP32S3 Dev Module" [choose it]
In your file manager navigate to ~/Arduino/libraries/ folder
In this folder you need symlinks to a few folders... one called 'id_open' and a folder called 'utm' that come from https://github.com/sxjack/uav_electronic_ids. as well as some others - there's a shell script to make these symlinks into ~/Arduino/libraries, but how they get here doesn't matter too much.

You can then open one of the minimal 'remote-id' example/s from id_open eg:
Arduino IDE -> File Menu -> Examples ->[scroll] Examples from Custom Libraries -> id_open -> random_flight
OR
You can then open the 'RemoteIDModule.ino 'from this repo:
Arduino IDE -> File Menu -> Open ... [navigate to it and open it ...

how to connect?
Plugin your ep32-s3 with usb cable using the port labeled "USB" on the pcb - this is for FLASHING/debug/console/etc
Optional:
Plugin your ep32-s3 with ANOTHER usb cable using the port labeled "UART" on the pcb - this is where mavlink is coming/going, and you can connect to this with mavproxy, etc.
Optional:
Plugin your ep32-s3 into a flight-controller UART using RX/TX/GND on pins 17,18,GND on the pcb - this listens for mavlink from an autopilot, and expects to find REMOTE_ID* packets in the mavlink stream, and it broadcast/s this information from the drone as bluetooth/wifi on 2.4ghz in a manner that can be received by Android mobile phone App [https://play.google.com/store/apps/details?id=org.opendroneid.android_osm] and hopefully other open-drone-id compliant receivers.

Arduino IDE -> Tools Menu -> Port:... -> /dev/ttyACM0
Press 'Upload' '"arrow" in IDE green bar.
If board does not flash, hold-down BOOT pushbutton on pcb while pressing RESET pushbutton briefly [to force it into bootloader mode] and retry.
done, ESP32-S3 is now running and emitting test/demo remote-id bluetooth messages.

done.