background image

destination address of 0x5200, then XBee 1 cannot send data to XBee 2. In 
this case, only one-way communication is enabled between the two XBee’s 
(only XBee 2 can send data to XBee 1).

We can use X-CTU to easily configure each of those settings. Here’s how:

Radio Configuration

After the last page, you should already have at least one XBee connected 
to X-CTU. If you’re still over in the console tab, click back over to the 

Configuration tab

. Take a peak at the very first handful of 

settings, and you should see some familiar acronyms: CH, ID, DH, DL, and 
MY. Beside each of those blocks is a text box – that’s where we’ll type in 
our new settings.

Network ID (ID)

Begin by coming up with a unique network ID number. Think of your 
favorite number between 0 and 65535, consult your friends and neighbors 
to make sure your favorite isn’t their favorite, then convert it to hexadecimal. 
Or if you don’t want to put that much effort into it, use a random value like 
894B.

Type your 16-bit network ID into the white text box next to 

PAN ID

.

MY Address (MY)

Your next job is to create addresses for each XBee in your network. These 
values should be unique to each XBee in a network. The MY address can 
be any value between 0x0000 and 0xFFFF. Type this address into the text 
box next to “

MY

16-bit Source Address”.

If you only have two XBees, you can 

assign the first an MY address of 0, 

and the other an address of 1

.

(Your XBee’s can share the same MY address, they’ll both receive the 
same data if it’s broadcasted to that address.)

Destination Address (DH & DL)

The destination address defines which XBee your source XBee is talking to. 
There are actually two values used to set the destination: destination high 
(DH) and destination low (DL). You can use that pair of values in one of two 
ways to set your XBee’s mate:

1. Leave DH set to 0, and set DL to the 

MY address

of the receiving 

XBee.

2. Set DH to the 

Serial Number High (SH)

and DL to the 

Serial 

Number Low (SL)

of your destination XBee.

Either method works, but the former – setting DH to 0 and DL to the 
destination’s MY address – is usually easier.

Page 10 of 16

Summary of Contents for Explorer Dongle

Page 1: ...networks with dozens of XBees or just a pair swapping data You can use them to remotely control your robot or arrange them all over your house to monitor temperatures or lighting conditions in every r...

Page 2: ...omputer with X CTU installed The latest version of X CTU is available for both Mac and Windows Suggested Reading This tutorial builds on some lower level electronics concepts If you re not familiar wi...

Page 3: ...rd compatible headers So if you want to make use of the XBee s extended functionality you can solder some header pins into those or even just solder some wire XBee Explorer USB Dongle The XBee Explore...

Page 4: ...ed to your computer it probably won t be your last there is some driver installation to get out of the way We ve written a tutorial detailing How to Install FTDI Drivers tutorial So go ahead and plug...

Page 5: ...e headers don t fit your purpose you can alternatively solder in female headers to plug jumper wires into or even just bare wire Just make sure you don t solder anything into the top side of the board...

Page 6: ...window also allows you to specify more specific serial characteristics like baud rate data bits and stop bits Assuming this is the first time you ve used your XBee you can leave those settings alone S...

Page 7: ...et up You can certainly perform this test with both XBees connected to the same computer as well just make sure you select the correct port number when you re adding the second XBee If you add a secon...

Page 8: ...ted to If you have two XBees connected to your computer you can switch between each radio s console by selecting the device on the left First open a serial connection on each device by clicking the co...

Page 9: ...Bee communicates over Most XBee s operate on the 2 4GHz 802 15 4 band and the channel further calibrates the operating frequency within that band You can usually leave the channel setting alone or at...

Page 10: ...lue like 894B Type your 16 bit network ID into the white text box next to PAN ID MY Address MY Your next job is to create addresses for each XBee in your network These values should be unique to each...

Page 11: ...rom one XBee to the other via the console As long as the addresses and PAN ID s match up you should have the same success as last time While it may seem like a lot of work to get right back to where y...

Page 12: ...e is hiding it s because the baud rate has been altered A quick fix for this is to select all possible baud rates in the discovery window then click Finish The discovery process works a lot like the a...

Page 13: ...reset your XBee If your Explorer has a reset button simply press it when prompted otherwise see the Reset section below During recovery if XCTU can find your XBee it will It ll also update the firmwa...

Page 14: ...er settings should all be compatible Try communicating over the console again Resetting Old Pre Reset Button Explorers When it s having trouble communicating with an XBee XCTU may present you with a n...

Page 15: ...vantage of the XBee s unique abilities check out this guide XBee Wireless Class Materials Check out our teaching materials for the XBee class we lead every once in a while Going Further With XBee and...

Page 16: ...ot is our popular Arduino based robot platform Once you get it rolling you can take it a step further by controlling it with an XBee Page 16 of 16 6 24 2015 https learn sparkfun com tutorials explorin...

Reviews: