In the previous page we’ve set up a basic configuration for the coordinator device. Now we need to configure the second xbee module in order to establish a communication between them.

Set up the router device

  1. Plug the second Xbee in the USB Explorer board and connect it to the computer.

  2. Click the Test Query button in the “PC Settings” tab. A dialogue box should pop up with informations about your device. Note your Modem type.

Errors?

If you get an error, check your connections, and the connection's parameters. Make sure that baudrate = 9600, Flow Control = None, Data bits = 8, Parity = None and Stop bits = 1. Try with the 'Enable Api' option checked before throwing your xbee away.
  • Select the “Modem Configuration” tab and select the “Read” button. The current configuration will be shown. On the top right corner click on “Download new versions” and select the web option. Once updated, select the last firmware version in the dropdown list.

  • ModemConfig


  • In the function set, select Zigbee Router AT. Now, let’s choose the ID of the network we want to create. In the PAN ID row enter the same value we chose for the coordinator 1000.

  • Go to the “Addressing” folder and specify as Destination Address High and Low the value 0. Alternatively you could use the ones of your coordinator device.

  • addressCoord


  • Click the “write” button and we are ready to go!

  • Arduino side

    Reference