manuals.online logo
Brands
  1. Home
  2. •
  3. Brands
  4. •
  5. XBee
  6. •
  7. Control Unit
  8. •
  9. XBee S1 User manual

XBee S1 User manual

Other XBee Control Unit manuals

XBee ZNet 2 Series Installation and user guide

XBee

XBee ZNet 2 Series Installation and user guide

Popular Control Unit manuals by other brands

Seitz 14A80 user manual

Seitz

Seitz 14A80 user manual

Wilo RS485 Installation and operating instructions

Wilo

Wilo RS485 Installation and operating instructions

Becker CentralControl CC41 Commissioning Instruction

Becker

Becker CentralControl CC41 Commissioning Instruction

SICK CDB650 operating instructions

SICK

SICK CDB650 operating instructions

Panduit NetKey NKP5E88M Series installation instructions

Panduit

Panduit NetKey NKP5E88M Series installation instructions

MX Options Concentric Petite Fitting instructions

MX

MX Options Concentric Petite Fitting instructions

Clean Water Systems Fleck 2510 Installation & start?up guide

Clean Water Systems

Clean Water Systems Fleck 2510 Installation & start?up guide

Fairchild FSB44104A user guide

Fairchild

Fairchild FSB44104A user guide

LEGRAND Wattstopper LMIN-104 installation instructions

LEGRAND

LEGRAND Wattstopper LMIN-104 installation instructions

PMK ATT10BNCS instruction manual

PMK

PMK ATT10BNCS instruction manual

Tektronix TDS3FFT user manual

Tektronix

Tektronix TDS3FFT user manual

Woodward easYgen Technical manual

Woodward

Woodward easYgen Technical manual

Balluff BNI EIP-502-105-R015 user guide

Balluff

Balluff BNI EIP-502-105-R015 user guide

NXP Semiconductors TWR-LS1021A Getting started

NXP Semiconductors

NXP Semiconductors TWR-LS1021A Getting started

Advantech PCM-3117 Startup manual

Advantech

Advantech PCM-3117 Startup manual

Danfoss MCO 101 manual

Danfoss

Danfoss MCO 101 manual

Moons' Lin Engineering R701P user manual

Moons'

Moons' Lin Engineering R701P user manual

Aventics RV1 operating instructions

Aventics

Aventics RV1 operating instructions

manuals.online logo
manuals.online logoBrands
  • About & Mission
  • Contact us
  • Privacy Policy
  • Terms and Conditions

Copyright 2025 Manuals.Online. All Rights Reserved.

Exploring XBees and XCTU a learn.sparkfun.com tutorial
Available online at: http://sfe.io/t353
Contents
Introduction
Selecting an Explorer
Drivers and Assembly
Starting With X-CTU
Configuring Networks
Troubleshooting
Resources and Going Further
Introduction
Heads up! Originally, this tutorial was written to configure an XBee Series 1 to communicate in transparency mode. However, this can
apply to the XBee Series 3 module as long as you configure the firmware to the legacy 802.15.4 protocol. For more information, read
through this guide!
Is your project being dragged down by wires? Looking for an easy transition to wireless communication? If you want reliable, low-cost, bi-
directional communication at moderate speeds, XBee may be the solution for you!
XBees are hugely popular wireless transceivers for a number of reasons. They're flexible -- they send and receive data over a serial port,
which means they're compatible with both computers and microcontrollers (like Arduino). And they're highly configurable -- you can have
meshed 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 room.
Covered In This Tutorial
The pair of XBees alone won't get you very far. In most cases you'll want a separate module to interface with the XBee. You can use an
XBee Shield to connect an XBee to your Arduino. Or you can use an XBee Explorer to connect an XBee to your computer.
Page 1 of 24
The focus of this tutorial is to explain how to use an XBee Explorer with an XBee. There are a variety of Explorer boards, all designed to
achieve the same purpose: to create a communication gateway between your computer and the XBee.
The Explorers: USB Explorer, Explorer Dongle, and Serial Explorer.
With an XBee Explorer connected between your computer and your XBee, and with the help of the X-CTU software, you can easily
configure XBees, test connections, and pass data between your computer and remote XBees. We're going to show you how to do all of
that in this tutorial!
Materials Required
XBees are really only useful if you have at least a pair of them. They need buddies to talk to! Hence, there's a lot of "2x" in this list of
materials. To follow along with this tutorial, you will need the following materials. You may not need everything though depending on what
you have. Add it to your cart, read through the guide, and adjust the cart as necessary.
2x XBees -- XBees exist in a variety of series, frequencies, and ranges. If you're just getting started with XBee, we highly
recommend going with Series 1 (or Series 3 configured with the 802.15.4 protocol) models with a built-in antenna -- either with a
trace antenna, wire antenna. You can also get one with a u.fl connector but you will need to get the appropriate external antenna.
For more help picking an XBee, check out our XBee Buying Guide.
2x Explorers -- either the Explorer USB, Explorer USB Dongle, or Explorer Serial.
These boards act as an interface between your computer and an XBee. They're used to configure your XBee and pass data to
and from your computer.
Depending on which explorer you have, you may also need a matching mini-B USB or serial cables.
At least one computer with X-CTU installed.
The latest version of X-CTU is available for both Mac and Windows!
Suggested Reading
Don't know what XBees to start with? Try checking out our buying guide to compare the different modules.
XBee Buying Guide -- We highly recommend Series 1 XBee's, if this is your first time playing with them. If you're curious about other
XBee classes, check out this guide!
This tutorial builds on some lower-level electronics concepts. If you're not familiar with the subjects below, we recommend checking out
those tutorials first.
Serial Communication -- XBee's communicate over a serial port. This tutorial will get you familiar with terms like "RX", "TX", "baud
rates", "stop bits", and "parity".
Serial Terminal Basics -- The X-CTU software we'll use has an integrated serial terminal called the "console". You can use your
preferred terminal instead; if you don't have a preferred serial terminal, check out this tutorial.
How to Install FTDI Drivers -- If you are using an FTDI to connect to the XBees, you'll need to install the appropriate drivers.
Hexadecimal -- XBee configuration settings -- like addresses and network ID's -- are all programmed in hex. Base 16. If you don't
know how to make numbers with 0-9 and A-F, check out this tutorial.
Serial Communication
Asynchronous serial communication concepts: packets, signal levels, baud rates, UARTs and more!
Favorited Favorite 85
How to Install FTDI Drivers
How to install drivers for the FTDI Basic on Windows, Mac OS X, and Linux.
Favorited Favorite 8
Page 2 of 24
Serial Terminal Basics
This tutorial will show you how to communicate with your serial devices using a variety of terminal emulator applications.
Favorited Favorite 33
Hexadecimal
How to interpret hex numbers, and how to convert them to/from decimal and binary.
Favorited Favorite 25
Selecting an Explorer
Compatibility with XBee 3's Overall, SparkFun boards designed with the XBee footprint are hardware compatible with XBee Series 3
modules. They modules are drop-in replacements for Series 1 and Series 2 with a few exceptions. Below are two of those exceptions
taken out of the migration guide and hardware reference manual.
VREF - VREF (pin 14) on the XBee Series 1 is not supported by the XBee 3 hardware. As indicated in the hardware reference
manual, you should not connect to this pin on boards labeled with VREF.
Brownout - If your XBee 3 experiences any voltage brownouts or supply dips when powering up, your XBee may not start up as
expected. The hardware reference manual indicates that:
Parts with an early revision of the microcontroller unit (MCU) may experience an issue recovering from brownouts under
rare conditions.
To remedy the issue, you must power cycle the XBee Series 3 module. One method is to remove the XBee while the board is
powered. Then reinsert the module back carefully into the sockets. Otherwise, you can perform a hardware reset by toggling the
XBee 3's reset pin. To automate this, during startup, you can solder a wire between the reset pin and the 3.3V I/O pin of a
microcontroller Toggling the reset pin with a minimum of 50ns-100ns will reset the XBee Series 3. As an example, check out this
Arduino example code for the XBee Series 3 on the wireless joystick.
   
For more detailed information regarding the differences, check out the XBee 3 Documentation.
Migration Guide
Hardware Reference Manual
Special Considerations for XBee XSC Modules! For those using an XBee XSC series, the pinout is slightly different in the XBee family.
Pin 6 on the XBee XSC series uses it as a configuration pin (as stated on page 96 of the datasheet), instead of having an RSSI pin on pin
6 like most XBees. For standard serial UART pass-through uses, this module can be mounted to one of our XBee Explorer boards with a
small adjustment. For the explorer's, locate the RSSI jumper on the back, and cut the trace between the pads with a hobby knife. For the
XBee shield, simply disconnect the resistor or LED next to the RSSI pin using a soldering iron.
The first step to communicating with your XBee is picking an interface board that allows you to. XBee Explorers act as a gateway between
your computer and your XBee. There are a few to pick from, each offering their own, key differences. Here's a quick overview of each:
XBee Explorer USB
The XBee Explorer USB is the most popular of the Explorers. It's equipped with a mini-B USB connector, so you'll need the proper USB
cable to connect it to your computer.
Page 3 of 24
The highlight of this board is an FT231X USB-to-Serial converter. That's what translates data between your computer and the XBee.
There's also a reset button, and a voltage regulator to supply the XBee with plenty of power. In addition, there are four LEDs that'll help if
you ever need to debug your XBee: RX, TX, RSSI (signal-strength indicator), and a power indicator.
This board also breaks out each of the XBee's I/O pins to a pair of breadboard-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.
Hook-Up Wire - Assortment (Solid Core, 22 AWG)
PRT-11367
$16.95
32
Favorited Favorite 65
Wish List
Break Away Headers - Straight
PRT-00116
Page 4 of 24
$1.50
20
Favorited Favorite 111
Wish List
Female Headers
PRT-00115
$1.50
7
Favorited Favorite 57
Wish List
XBee Explorer USB Dongle
The XBee Explorer Dongle is an extension of the Explorer. In fact, the only real difference between this and its predecessor is the USB
connector. The Dongle can be connected directly to your laptop or PC USB port.
Or, if you need some distance from your computer, you can use a USB extension cable.
Page 5 of 24
USB Cable Extension - 6 Foot
CAB-00517
$3.95
Favorited Favorite 1
Wish List
The Dongle still shares all of the features of its sibling -- reset button, LEDs, voltage regulator, and breadboard-compatible pin breakouts.
XBee Explorer Serial
Computers with an RS-232 serial port are becoming harder and harder to find, but if you do have one of those relics, the XBee Explorer
Serial is a viable option.
The Serial Explorer has a bigger footprint than its USB-based brethren, but still shares most of the same features. There are RX and TX
LEDs, reset button, break-out pins, and a voltage regulator. One additional feature that the Serial Explorer has is an On/Off switch on
board. This enables the user to turn on or off the power supply to the XBee module.
One additional feature available on the Serial Explorer are two jumpers available near the DB9 connector. These allow the user to swap
the configuration of the DB9 connector to work with either a straight through cable (DCE configuration), or a switched cable (DTE
configuration). If you’re using our Serial Cable, the default DCE configuration of the jumpers is fine.
Page 6 of 24
Serial Cable DB9 M/F - 6 Foot
CAB-00065
$4.25
Favorited Favorite 4
Wish List
The Serial Explorer does require an external power supply. It has a barrel jack connector which will work with our 12V, 9V, or 5V wall
adapters. Make sure the selected power supply can source enough current for the XBee you are using.
Wall Adapter Power Supply - 9VDC 650mA
TOL-00298
12 Retired
Favorited Favorite 23
Wish List
Wall Adapter Power Supply - 12VDC 600mA
TOL-09442
13 Retired
Favorited Favorite 15
Wish List
Wall Adapter Power Supply - 5V DC 2A (Barrel Jack)
TOL-12889
16 Retired
Favorited Favorite 19
Wish List
Heads up! If you're using an Arduino, another option available is the XBee Shield. That's a subject for another tutorial. Let's focus on
Page 7 of 24
configuring a pair of XBees first.
XBee Shield Hookup Guide
June 5, 2014
How to get started with an XBee Shield and Explorer. Create a remote-control Arduino!
Favorited Favorite 10
Drivers and Assembly
The USB-based XBee Explorers all operate using an FTDI FT231X chip, which converts serial to USB and vice-versa. This is one of our
favorite chips because it supports all computer platforms and it's easy to work with. If this is the first FTDI chip you've ever connected 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 your USB Explorer into your computer, and
head on to either the Windows, Mac, or Linux section there. (Ignore the final steps, where Arduino software is invoked.) Regardless of
whether you're on Mac or Windows, once your Explorer's drivers are installed it will be assigned a unique COM port number. Take note
of that port number, as you'll need it on the next pages.
How to Install FTDI Drivers
June 4, 2013
How to install drivers for the FTDI Basic on Windows, Mac OS X, and Linux.
Favorited Favorite 8
Basic Assembly: Plug In an XBee!
Time to "assemble" the XBee Explorer. Grab your XBee of choice. Notice how it has a flat edge and a more angular/diagonal edge?
Match that footprint up to the white lines on your XBee Explorer, and carefully insert! Take care not to bend any of the XBee pins -- be
gentle when you're plugging it in. (And be even more careful if you're removing it!)
Nice work! You've assembled the XBee Explorer. You're ready for the next step. Or, if you're a power user, looking to get the most out of
your explorer, you can check out the more "advanced" assembly below.
Advanced Assembly (Totally Optional)
For most basic-use cases, all Explorer boards should be good-to-go once you've installed drivers. If you want to use any of the XBee's I/O
pins, you can solder male headers to the 0.1"-pitch pins inside the XBee headers. This will allow you to plug the board into a breadboard,
so you can wire other components up to the XBee. Each XBee pin is labeled on the bottom side of the board. You can also check out the
schematic for help locating a specific pin.
Page 8 of 24
The XBee Explorer can be used with a USB cable and breadboard concurrently -- just solder some headers into the breakout pins.
(Actually solder them, don't pretend like we did in the image above.)
If male 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 -- or you may be unable to plug the XBee in!
Tip: We won't cover it in this tutorial, but those "DIO#" pins can be configured as either inputs or outputs. That means you can use an
XBee to directly drive LEDs or motors, and read analog sensors or buttons. Just make sure to use a logic level converter or transistor
when using the pins for I/O line passing. More information about configuring the pins for I/O line passing can be found in the XBee's user
manual.
Starting With X-CTU
X-CTU is free software, provided by Digi (the manufacturer of XBee), which we use to configure and manage XBees, and test XBee
networks. If you haven't already, head over to their website and download the latest release and follow their instructions to install the
software.
Download X-CTU
Tip: The latest XBee Series 3 has enhanced features including new AT commands, Bluetooth, and MicroPython. While MicroPython is
available for the XBee Series 3, not all MicroPython modules are available for the XBee Series 3. For more information, make sure to
check the support documentation.
Adding XBee's
Before continuing on, make sure you've plugged an XBee (correctly) into your Explorer, and have the Explorer plugged into your
computer. When you installed the drivers for your Explorer it should have been assigned port number. You'll need that shortly.
After initially opening X-CTU, you'll be presented with a window like this:
Page 9 of 24
To add your XBee(s), click the "Add device" icon -- -- in the upper-left part of the window. That will prompt this screen to show
up:
Select Your Communication Port
If you're lucky (or just don't have a lot of stuff connected to your computer) you may only have one option here. Otherwise, Windows users
should look for the entry that says "USB Serial Port" and Mac users should look for something like "usbserial-XXXXXXXX", if you're using
a USB XBee board. If you're using a Serial Explorer instead, pick the "Communications Port" option. If the Serial Explorer is not showing
up, make sure the switch onboard is set to “On”!
This window also allows you to specify more specific serial characteristics like baud rate, data bits, and stop bits. Assuming this is the first
Page 10 of 24