Each XBee has a unique MAC address, printed on a sticker in the
highlighted area.
As with the last module, make sure all settings are defaulted (channel=C,
PAN ID=3332, DH=0, DL=0, MY=0). That’ll make the next step possible.
Quick and Easy Test
Click the “Switch to Consoles” icon
–
– in the upper-right part of
the window. This will switch from the configuration tab to the console. We
can use the console to send characters to an XBee, which will route that
character over-the-air to any other XBee it’s connected 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 connect
icon –
. The icon will change, and the border of the console will turn
green.
Next, click into the
left half
of the console, and
type a letter or number
.
You should notice that character echoed in a blue font (the hexadecimal
digits on the right represent the ASCII value). Now click into the other
XBee’s console. As long as it was open, you should see that same
character, but
red
. Try typing a different character into the second XBee’s
console, and you should see it work the other way.
Page 8 of 16