XBee configuration
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.
- Connect your XBee, e.g. via a USB XBee Explorer.
- Start the X-CTU programm and go to the modem configuration.
- Click on READ
- Select the appropriate function set with AT command set.
- set PAN ID, etc... depending on which XBee you use
- 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.
- Then write the firmware to the module.