ArduPilot / ArduRemoteID

RemoteID support using OpenDroneID
GNU General Public License v2.0
93 stars 46 forks source link

Troubleshooting Guidance #93

Closed nichogenius closed 1 year ago

nichogenius commented 1 year ago

I am attempting to get this working on an ESP32-C3 dev board and I am running into a dead end. I could use some troubleshooting advice.

I believe I have successfully flashed the ESP32-C3 board, but I can't see any indication that it is working. I have a constant red LED indicating power as the only sign of life. No wifi networks visible on my phone, no bluetooth devices visible on my phone, no indication that mavlink is being sent from my flight controller, and my drone scanner apps can't see anything.

What tests can I run to verify my ESP32-C3 ArduRemoteID flash was successful?

Ideas for what might be wrong:

  1. I missed some part of the setup procedure in Mission Planner (I am very new to DIY drones and Mission Planner)
  2. Insufficient power from my USB port to power all devices
  3. Using wrong pins on the ESP32-C3 for TX/RX . The readme has pin 2 as RX and pin 3 as TX which is backwards from the board labels. I tried both just in case.
  4. Bad flash. I tried two different flashing utilities, neither of which worked. I finally got it to flash using esptool.py from Windows Command Line.
  5. Bad wiring between the flight controller and the ESP32-C3. I am new to soldering.

Update 1 -

Update 2 -

Update 3 -

My Setup

Breadboard:

Desktop PC (Windows 10):

Android Phone:

BluemarkInnovations commented 1 year ago

I wrote most of the comment before I saw your update 2. Good that it works now! You can only use OTA (Over The Air) firmware files to update via the web interface. For the initial flashing you need to use the normal firmware file.

Screenshot (40)

nichogenius commented 1 year ago

Thanks for all of the wonderful advice! I think I'm on the last issue. The aircraft location information appears to be missing. The operator location is working fine and my GPS shows "3D Fix". I tried both Mavlink v1 and v2 and multiple different baud rates.

image

BluemarkInnovations commented 1 year ago

RemoteID needs two GPS receivers. One for the drone location and the other one for the operator location. So the issue is the GPS receiver connected to the flight controller. Did you configure that correctly? (Mission Planner configuration) If you have set it up correctly, you should see the drone location in Mission Planner regardless of the RID configuration. It could also be that you connected a GPS receiver/chip to the flight controller that is not supported. For instance u-blox 8/9 series are supported. FYI there is also the #opendroneid channel in the ArduPilot discord server for support.

nichogenius commented 1 year ago

@BluemarkInnovations Thank you! Hardware compatibility is my top suspect right now. I'll close this and move any further discussion over to Discord. Thanks again!

nichogenius commented 1 year ago

The problem with the missing location message was resolved by flashing my flight controller with a firmware build that had ODID enabled. As ArduPlane is not currently shipped with ODID enabled, I had to compile it myself. Leaving this here for anyone that finds this.