Hmm, here’s some troubleshooting steps to try. For each XBee module, connect it to your computer, start the X-CTU software, click the “Read” button on the “Modem Configuration” tab and check the following:
For the coordinator module:
- “Function Set” should be “ZNET COORDINATOR 2.5 AT”
- Version should be 1041
- PAN ID should be whatever you set it to. The default value is 123.
- Scan Channels should be 1FFE
- Node Join Time should be FF
- Double check that the Node Identifier is the correct value (like “coord” or whatever you’re calling this module)
If the “Function Set” or Version is incorrect, then check the “Always Update firmware” box and click write. If the “Function Set” and Version are correct, but any of the values are incorrect, then enter the correct values, make sure that “Always Update Firmware” is UNCHECKED and click write (it’s normally fine to leave the box checked, but updating the firmware, then reseting , then writing new values in one step can lead to problems for some).
If everything looks right on the Coordinator, then connect your “router” module to the computer, start the X-CTU software, click the “Read” button on the “Modem Configuration” tab and check the following:
- “Function Set” should be “ZNET ROUTER/END DEVICE AT”
- Version should be 1241
- PAN ID should match the PAN ID of the Coordinator OR you can set the PAN ID to FFFF and the module will connect to any open network
- Scan Channels should be 1FFE
- Node Join Time should be FF
- Double check that the Node Identifier is what you want it to be (like “router1”)
Just as with the coordinator module, if the function set or version are incorrect, check the “Always update firmware” box and click write. If only the PAN ID and/or NI need to be changed, UNCHECK “Always update firmware” and click write.
Once all you’ve checked that all of these values are correct, you should be able to get a functioning XBee network. If you’re still not getting the blinking light on the router module, there’s something else to check. With the router module connected to the computer, power up the coordinator module using another XBee Shield or breakout board. Start the X-CTU software and click the “Read” button on the Modem Configuration tab. Check to see if the “Operating PAN ID” matches the PAN ID you’ve set on the coordinator. Also, scroll to the bottom of the window and check the value of “AI - Association Indication”. You want the value to be ‘0’; if it’s not, check the number against this list to find out why the router isn’t joining the network:
0x21 - Scan found no PANs
0x22 - Scan found no valid PANs based on current SC and ID settings
0x23 - Valid Coordinator or Routers found, but they are not allowing joining (NJ expired)
0x27 - Node Joining attempt failed (typically due to incompatible security settings)
0x2A - Coordinator Start attempt failed’
0xFF - Scanning for a Parent
0x2B - Checking for an existing coordinator
Let me know how the troubleshooting goes. Good luck!