O'Reilly logo

Building Wireless Sensor Networks by Robert Faludi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configure Your End Device XBees

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:

  1. Select an end device XBee you’ve labeled with an “E” and place it into the XBee Explorer.

  2. Plug the XBee Explorer into your computer.

  3. Run the CoolTerm program and press the Options button to configure it.

  4. Select the appropriate serial port and check the Local Echo box so you can see your commands as you type them.

  5. Click on the Connect button to connect to the serial port.

  6. Type +++ to go into command mode. You should receive an OK reply from the radio.

  7. Select the same PAN ID that you entered for your original simple sensor network.

  8. Type ATID followed by the PAN ID you selected and press Enter on the keyboard. You should receive OK again as a reply.

  9. Every ZigBee coordinator always has 0 as its 16-bit network address. Type ATDH 0 and press Enter on the keyboard. You should receive an OK response.

  10. Enter ATDL followed by the low part of your radio’s destination address (0, the address of the coordinator). Type ATDL 0 and press Enter. You should receive an OK response.

  11. Enter ATD02 to put pin 0 in analog mode.

  12. Enter ATIR3E8 to set the sample rate to 1,000 milliseconds.

  13. Enter ATSM4 to put the radio into cyclic sleep mode.

  14. Enter ATSP64 to sleep the radio for one second (100 * 10 ms).

  15. Enter ATST14 to time out and sleep 20 milliseconds after each sample transmission.

  16. Save your new settings as the radio’s default ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required