Telemetry-XBee

XBee radios (also known as ZigBee radios) are generally not recommended over the SiK Radio and RFD900 Radio. Still there may be some situations where only an XBee can be used so these high-level instructions could be helpful.

../_images/Telemetry_XBee_Pixhawk.jpg

Where to Buy

XBee radios are available from Sparkfun and many other robotics stores globally. Generally you will need two XBee radiios (one for the ground station and one for the vehicle) along with two different adapter boards. One with a USB connection for the ground station computer and another with a serial connection which can be connected to the flight controller as shown above.

Configuration

Click on the diagram at the top of this page to see the individual wire connections that must be made between the flight controller and Xbee module. Note that in the diagram above only 4 wires are connected (GND, 5V, Transmit, Receiver). The CTS and RTS (Ready-to-send) pins are left unconnected because although connecting them should improve the data rate during the creation of this wiki page we were unable to successfully connect.

With the CTS and RTS pins disconnected the BRD_SER1_RTSCTS (if using Telem1) or BRD_SER2_RTSCTS (if using Telem2) should be set to zero (after making the change the flight controller will need to be restarted).

../_images/Telemetry_XBee_MPSetup.jpg

The X-CTU application can be used to configure the XBee modules. In particular they should be set to transmit at 57600 baud.

Connecting to the Ground Station

If you’re using a USB adapter, simply connect it via a USB cable as shown:

../_images/xbee_usb_connection.jpg

If you’re using an XtreamBee adapter on the ground side, connect it to a FTDI cable as shown below and plug that into your USB port. The adapter should also be in Master mode.

../_images/XtreemBee.jpg

XBee with XtreemBee Adapter

Once properly configured you should be able to connect to the vehicle from the ground station (i.e. Mission Planner) by selecting the appropriate COM port for the XBee and selecting the baud rate of 57600. If the connection is successful but the download of parameter stalls please see the notes above re CTS and RTS.

../_images/Telemetry_XBee_MPConnect.jpg