After setting up the Xbees as End and arduino.jpgCoordinator Devices. You can now use the device to communicate with Arduino.

Step 1
Now that you’ve got one of the XBees set up as a router/end device, you can unplug it from the XBee Breakout board and install it in whetever device it will communicate with; I recommend plugging it into an XBee Shield for the Arduino at this point. You may also want to put a sticker or label on this XBee to identify it as your router. Set it aside for the moment. Now plug your other XBee module into the XBee explorer and repeat stepson previous page. However, in this time in the steps you will select the “ZNet 2.5 Coordinator AT” as the firmware and set the Node Identifier as “coordinator” or something similar. Once you’ve updated to the coordinator firmware, the “Associate” LED should begin blinking once-per-second while the “On” LED should remain lit. Confirm the settings in the terminal and move on to the next step.

Step 2 : Creating the network
At this point, you should have one XBee updated with the “ZNet 2.5 Router” firmware plugged into the XBee Shield on top of an Arduino and the other XBee updated to the “ZNet 2.5 Coordinator” firmware and connected to the Xbee explorer which is plugged into your computer. The “Associate” LED on the Coordinator XBee should be blinking once-persecond. On the XBee shield, you should see a pair of jumpers labeled
“XBEE/USB”. Remove both of those jumpers for now. Connect your Arduino to a power source(USB or External, doesn’t matter for now). After powering up, the “Associate” LED on the XBee shield should begin blinking twice-per-second – congratulations; the XBees have formed a network!
Using the X-CTU terminal connected to the coordinator, type “+++”, wait for the “OK” response, then type “ATND”. The XBee will respond with the serial number, node identifier and other information about the router XBee connected to the Arduino.

Step 3: Sending Serial Data
When using the ZNet 2.5 firmware, routers or end devices will communicate with the coordinator by default. This makes point to point communication really easy. All you need to do is send serial data to the XBee router connected to the Arduino and it will be received by the coordinator where you can read it into your computer. Connect the Arduino with the XBee Shield to your computer using a USB cable. The jumpers on the XBee shield should still be disconnected. Load the following sketch on to the Arduino.


With the coordinator XBee still connected to your computer via the FT232 Breakout, you should see “testing…” over and over in the “Terminal” tab of X-CTU.

Source: The Embedded Lab