User Tools

Site Tools


xbee:configuring_a_base_station

Configuring a base station

The direct way to configure a XBee radio module (Series 1) is to use AT commands over serial.

* Install the XBee in an Arduino XBee shield, removes the microcontroller and set the jumpers to USB. Alternatively, you can use a XBee Explorer.

* Open your serial console/terminal (Zterm, goSerial, screen on OSX, Putty or HyperTerminal on Windows). If you use the modules from the Interaction Workshop, the baud rate is 19200. If you use brand new modules, the default value is 9600.


+++ is instruction to enter command mode. Note that all AT commands with be confirmed with the string OK sent back by the module. If you don't get an acknowledge, you have to wait a couple of seconds and start again from the beginning with +++

+++


Restore configuration to defaults, not necessary but advisable as older configuration could conflict.

ATRE


Set the Personal Area Network (PAN) ID. Change ID if you want to create your own network. (16 bit, 0 - 65535 in decimal)

ATID0


Set the module ID address. Must be unique (16 bit, 0 - 65535 in decimal)

ATMY0


Sets the destination address to broadcast to the whole PAN network.

ATDLFFFF


Set the interface data rate to 19200. BD3 is the default with 9600.

ATBD4


Write the changes/settings to memory

ATWR


Exit command mode

ATCN
xbee/configuring_a_base_station.txt · Last modified: 2011/08/29 12:13 by camille