Wireless Telemetry For Ardupilot Mega
Wireless Telemetry For Ardupilot Mega
Summar ry: This tuto orial is about establishing a wireless interface for Ardupilot M t g i r Mega . Benefits: 1) Wireless uplo W oading of the codes from Arduino ID to Ardupilot. USB ca omitted. e m DE able 2) Able to serial read the dat from the Ardupilot M A l tas Mega wireles ssly.
Modifyin the XBee ng e-to-USB ad daptor or USB Dongle On your USB-to-seri adaptor, solder in a tiny jumper b ial s between the R pin and D3 as show RTS d wn here:
Note: You can also link short them with jumper wire if you d not want to solder. Y o t h do t
Preparing the XBee radios through X-CTU Software Download Link: http://www.digi.com/support/productdetl.jsp?pid=3352&osvid=57&s=316&tp=5 &tp2=0
In order to program the Ardupilot Mega wirelessly, you need to configure two XBee radios, one for the Ardupilot Mega and one to connect to the programming computer serially. The latter will connect to your computer using the adapters mentioned in the last step. Once you've done that, you'll program the Ardupilot Mega using the radio link just like a normal Arduino USB-to-serial link. The settings for the two radios are as follows: Parameter Programming Radio BD ID MY DL D3 IC RR IU
IA RO
User's preference, e.g. 0000 user's preference, e.g. 0001 FFFF or Ardupilot Mega 's MY value 3 8 3 not set not set 10 programmer's MY value 5 not set not set 0 FFFF 10
Note: If you set the programmer's destination address (DL) to FFFF, it will re-program all Ardupilot Mega in its PAN ID. To program one Ardupilot Mega at a time wirelessly while others are on, set the programmer's DL to that Ardupilot Mega 's MY address. Modifying the serial port settings (Windows only) If you're running Windows, you have to make a slight change to the driver preferences. In the Device Manager, select the USB COM port. Then right click and select Properties. Click on
the Port Settings tab, and click on Advanced..., then make Set RTS On Close is selected and click OK to apply settings.