Hardware Reference
In-Depth Information
Programming Option 2: Using the SparkFun USB Explorer
(Recommended)
Using an XBee-USB adapter is easy: Plug the XBee into the socket on the adapter,
connect it your computer with the USB cable, and you are ready to program. The
SparkFun board uses the same FTDI chip that older Arduinos used for serial-USB
communication. Later in the chapter, this adapter is used to facilitate wireless
communication between your computer and an Arduino with an XBee shield.
ChoosingYourXBeeSettingsandConnectingYourXBeeto
YourHostComputer
You have an enormous number of configuration options for your XBees, and
covering all of them could constitute its own topic. Here, we cover the most
important values that you need to configure:
ID: Personal area network (PAN) ID. All XBees that you want to talk to
each other must be assigned to the same PAN ID.
MY : My address. This is a unique address identifying each XBee within
a certain personal area network.
DL: Destination address. This is the unique address of the XBee that you
want this XBee to talk/listen to.
BD: Baud rate. The rate at which the radios communicate with. We will
use 9600 baud for this value, which is the default.
These values are shown in Figure 11-7 for a two-XBee system using the values
that you will configure in the next step.
Figure 11-7: XBee point-to-point system
Search WWH ::




Custom Search