background image

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. Hooray, wireless 
communication! 

Final Thoughts 

If you’ve gone through all these steps, you should have a basic idea of how to use the XBee ZNet 
modules to communicate wirelessly between your Arduino and your computer. If that’s all you 
want to do with the XBees, then there’s not much more (if anything) you’ll need to configure to 
get your project working. 
 
If you will be using more than two XBee modules and you want two routers/end devices to talk 
to one-another, you’ll need to set the Destination Nodes for each module. You can easily do this 
by entering command mode (typing “+++”) and then sending “ATDNxxxxxx” where xxxxxx is 
the Node Identifier (NI) you’ve set-up for the Destination Node XBee such as “router2”. This 
essentially replaces the “ATMYxxxx” command that is commonly used with XBee Series 1 
modules. 
 
For more information about using the XBee ZNet modules, I highly recommend the Knowledge 
Base articles and support forum on Digi’s site, 

www.digi.com

 – the folks at Digi seem to be 

pretty good about offering support. 
 
I would appreciate any feed back on this tutorial. Feel free to e-mail me at ‘caimaver at yahoo 
dot com’. 
 
- Cairn 

Содержание ZNet 2 Series

Страница 1: ...ncluded with NKC kit 1 Male Header row for XBee breakout Sparkfun SKU PRT 00117 or included with NKC kit 1 FT232RL Breakout Board Sparkfun SKU BOB 00718 male or female headers for the FT232RL Breakout...

Страница 2: ...circuit on your bread board using the diagram Instead of using a reset switch I just plug one end of a jumper wire into the XBee reset pin and leave the other end of that jumper hanging off the edge...

Страница 3: ...nected to the XBee should light up and stay on assuming your XBee shipped as a Router End Device and there is no Coordinator around to connect to Download the X CTU software from Digi and install it T...

Страница 4: ...ent settings of the attached XBee Select ZNet 2 5 Router End Device AT as the firmware in the pull down menu Change the Node Identifier to something like router1 You may want to change the PAN ID to a...

Страница 5: ...for Coordinator Type ATID to check the PAN Network ID that the XBee is using It should respond with 123 or whatever unique PAN ID you set in step 4 Type ATNI to check the Node Identifier The XBee sho...

Страница 6: ...m the settings in the terminal and move on to the next step Step 7 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...

Страница 7: ...the serial connection once per second while blinking the LED on pin 13 Used for testing serial devices such as the XBee Adapted from the SoftSerial Demonstration code define ledPin 13 byte pinState 0...

Страница 8: ...wo XBee modules and you want two routers end devices to talk to one another you ll need to set the Destination Nodes for each module You can easily do this by entering command mode typing and then sen...

Отзывы: