HiRel/CanSat/Slave XBee
(→Setup) |
(→CanSat modules) |
||
Line 56: | Line 56: | ||
The modules are configured as AT ZRs. | The modules are configured as AT ZRs. | ||
+ | |||
+ | They all have a distinctive MAC address, starting with the <code>0013A2</code> Organizationally Unique Identifier (OUI). | ||
+ | The further <code>0040B8</code> are identical on the devices we have acquired and the last 4 hex digits are written on the board. | ||
+ | This address will be used by the ZC to connect to the module. | ||
The serial port setup is: | The serial port setup is: |
Revision as of 13:13, 29 May 2015
|
Type | CanSat Slave XBee | Schematic | Description |
---|---|---|---|
V1.0 | CanSat Slave XBee v1.0 Schematic PDF | XBP24BZ7UIT-004 |
The CanSat RF communication is done with the help of an XBee-PRO ZB S2B module w/ U.Fl antenna connector.
Connection
The connection to the module is done through following pins:
name | pin | dir | description |
---|---|---|---|
data_in | b2 | in | serial link RxD |
data_out | b4 | out | serial link TxD |
reset_n | b6 | in | reset_n |
sleep_rq | b8 | in | sleep control |
RSSI_PWM | t1 | out | radio signal strength indication |
associate | t3 | out | association indication |
dio | t5 | inout | digital I/O |
sleep_n | t7 | out | sleep indicator |
Setup
An XBee module can work in API mode, providing a complete ZigBee network, or as a simple AT modem. In order to communicate between different modules, a common PAN identifier must be set. The XBee product manual gives the setup information.
The module can be configured via a serial or USB programmer board with the XCTU application.
Coordinator
The XBee module on the CanSat connects to a PC via a ZigBee Coordinator (ZC).
The coordinator is configured as an API ZC.
CanSat modules
The XBee module on the CanSat is configured as a ZigBee Router (ZR).
The modules are configured as AT ZRs.
They all have a distinctive MAC address, starting with the 0013A2
Organizationally Unique Identifier (OUI).
The further 0040B8
are identical on the devices we have acquired and the last 4 hex digits are written on the board.
This address will be used by the ZC to connect to the module.
The serial port setup is:
- 115200 baud
- 8 bit, no parity
AT commands
The communication can be configured via AT commands.