XBee configuration

From PaparazziUAV
Revision as of 10:16, 10 August 2010 by Flixr (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Paparazzi supports the following modem protocols:

  • Standard transparent serial (pprz) - this is compatible with all modems and can be used to connect the autopilot directly to a PC for testing without a modem.
  • Digi (formerly Maxstream) API protocol (xbee) - compatible with all Digi modems including the 9XTend and Zigbee. This protocol enables hardware addressing, allowing multiple aircraft to be managed from a single ground modem.

Installation

The simples way to configure the XBee modems is to use the X-CTU software from Digi. It runs under Windows or under Wine

Configuring XBee AT mode (for pprz protocol)

This is the recommended way to start.

  1. Connect your XBee, e.g. via a USB XBee Explorer.
  2. Start the X-CTU programm and go to the modem configuration.
  3. Click on READ
  4. Select the appropriate function set with AT command set.
  5. set PAN ID, etc... depending on which XBee you use
  6. Set the baudrate you want to use. The groundstation and the MAV module should have the same baudrate. Also you need to know what Baudrate the current attached XBee has. 57600 is the maximum baudrate setting for bidirectional transfers to work correctly. At a higher baudrate setting, transmission can only be done in one direction.
  7. Then write the firmware to the module.

Configuring XBee API mode (xbee protocol)