Difference between revisions of "XBee configuration"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
== Configuring XBee AT mode (for pprz protocol) == | == Configuring XBee AT mode (for pprz protocol) == | ||
This is the recommended way to start. | This is the recommended way to start. | ||
<br/> | |||
Basic approach: | |||
# Connect your XBee, e.g. via a USB XBee Explorer. | # Connect your XBee, e.g. via a USB XBee Explorer. | ||
# Start the X-CTU programm and go to the modem configuration. | # Start the X-CTU programm and go to the modem configuration. | ||
Line 14: | Line 15: | ||
# Select the appropriate function set with AT command set. | # Select the appropriate function set with AT command set. | ||
# set PAN ID, etc... depending on which XBee you use | # set PAN ID, etc... depending on which XBee you use | ||
# Set the baudrate you want to use. | # Set the baudrate you want to use. 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. | |||
=== XBee Pro ZB 2.4GHZ === | |||
==== Flashing the airborne module ==== | |||
# Connect your XBee, start X-CTU, click READ | |||
# Select the function set ZIGBEE END DEVICE AT (or ZIGBEE ROUTER AT). | |||
# Set the PAN ID to any number, must be the same as the pan id of the coordinator (Ground Station). | |||
# Set the Node Identifier (NI) to your aircraft name or any other appropriate name. | |||
# Set the baudrate you want to use. 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. | |||
==== Flashing the ground station module ==== | |||
# Connect your XBee, start X-CTU, click READ | |||
# Select the function set ZIGBEE COORDINATOR AT. | |||
# Set the PAN ID to any number, must be the same as the pan id of the end device (aircraft). | |||
# Set the Node Identifier (NI) to PPRZ_GROUND or any other appropriate name. | |||
# Set the baudrate you want to use. 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. | # Then write the firmware to the module. | ||
=== XBee Pro ZNet 2.5 2.4GHZ === | |||
You can upgrade these to XBee Pro ZB. | |||
=== XBee Pro 802.15.4 2.4GHZ === | |||
=== XBee Pro 900 MHZ === | |||
=== XBee Pro XSC 900 MHZ === | |||
== Configuring XBee API mode (xbee protocol) == | == Configuring XBee API mode (xbee protocol) == |
Revision as of 10:41, 10 August 2010
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.
Basic approach:
- 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. 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.
XBee Pro ZB 2.4GHZ
Flashing the airborne module
- Connect your XBee, start X-CTU, click READ
- Select the function set ZIGBEE END DEVICE AT (or ZIGBEE ROUTER AT).
- Set the PAN ID to any number, must be the same as the pan id of the coordinator (Ground Station).
- Set the Node Identifier (NI) to your aircraft name or any other appropriate name.
- Set the baudrate you want to use. 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.
Flashing the ground station module
- Connect your XBee, start X-CTU, click READ
- Select the function set ZIGBEE COORDINATOR AT.
- Set the PAN ID to any number, must be the same as the pan id of the end device (aircraft).
- Set the Node Identifier (NI) to PPRZ_GROUND or any other appropriate name.
- Set the baudrate you want to use. 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.
XBee Pro ZNet 2.5 2.4GHZ
You can upgrade these to XBee Pro ZB.