We’ll continue to use CoolTerm and an XBee Explorer USB adapter to set up the radios. For each of your sleeping end device sensor node radios:
Select an end device XBee you’ve labeled with an “E” and place it into the XBee Explorer.
Plug the XBee Explorer into your computer.
Run the CoolTerm program and press the Options button to configure it.
Select the appropriate serial port and check the Local Echo box so you can see your commands as you type them.
Click on the Connect button to connect to the serial port.
+++ to go into
command mode. You should receive an OK reply from the radio.
Select the same PAN ID that you entered for your original simple sensor network.
ATID followed by
the PAN ID you selected and press Enter on the keyboard. You should
receive OK again as a reply.
Every ZigBee coordinator always has 0 as its 16-bit network
ATDH 0 and
press Enter on the keyboard. You should receive an OK
ATDL followed by
the low part of your radio’s
destination address (0, the address of the
ATDL 0 and
press Enter. You should receive an OK response.
ATD02 to put pin
0 in analog mode.
ATIR3E8 to set
the sample rate to 1,000 milliseconds.
ATSM4 to put the
radio into cyclic sleep mode.
ATSP64 to sleep
the radio for one second (100 * 10 ms).
ATST14 to time
out and sleep 20 milliseconds after each sample transmission.
Save your new settings as the radio’s default ...