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 Router XBees

We’ll use the CoolTerm terminal program and an XBee Explorer USB adapter again to set up your radios. For each of your actuator node radios:

  1. Select a router XBee you’ve labeled with an “R” 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 you entered for your first radio above.

  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, in this case also a zero because that’s the fixed address for the coordinator. Type ATDL 0 and press Enter. You should receive an OK response.

  11. Enter ATJV1 to ensure that your router attempts to rejoin the coordinator on startup.

  12. Enter ATD04 to set pin 0 as low digital output to begin with.

  13. Save your new settings as the radio’s default by typing ATWR and pressing Enter.

    Note

    It’s always good to recheck your configurations after you enter them. For example, to recheck that ...

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