Zigbee Networking with XBee Series 2 and Seeed's Products

  1. This step-by-step tutorial is created to help users learn to use XBee ZB modules with Seeeduino / Arduino, XBee® Shield, UartSBee, Grove - XBee Carrier, Seeeduino Stalker v2.0. These products makes life easier for working with XBee ZB modules.
  2. XBee ZB modules can be used in many different ways. They also provide lots of configuration parameters. In this tutorial, we have tried to showcase the essential configurations in simple steps.
  3. Please read through the complete tutorial at-least once, before deciding which configuration to use for your application.
  4. This tutorial makes use of XBee Series 2 modules and does not use the old Series 1 modules. We sell Series 2 modules in our Bazaar.

Zigbee Modules and Network

Zigbee is a standard for low-power, short range wireless devices based on an IEEE 802 standard for personal area networks(PAN). Zigbee modules work in unlicensed ISM(Industrial Scientific Medical) band. Zigbee devices are capable of peer-to-peer, point-to-multipoint and mesh communication. They offer convenient low power wireless solutions for embedded systems where power consumption is a critical factor. A Zigbee network consist of three different types of ZigBee devices: coordinator, router, end-device. Each network has a 16bit PAN ID. All devices in a Zigbee network is assigned a single PAN ID.

Device Types

Device Addressing

Any data sent from one Zigbee device to another is sent by specifying the 16-bit Network Address and the 64-bit Device Address.

Getting Zigbee modules

Seeedstudio Bazaar currently sells two types of Zigbee modules from digi :

XBee® RF Modules ZNet 2.5 RF Module modules are Series 2 hardware which comes with ZNet 2.5 firmware.

In this tutorial we are going to use XBee ZB firmware on a XBee Znet 2.5 Module. XBee ZNet 2.5 Module modules can be upgraded to XBee ZB firmware by following the procedure listed at Converting a XBee/XBee-PRO ZNet 2.5 Module to a ZB Module. This procedure is also illustrated in the next section.

XBee ZB Hardware and Pin Layout


Upgrading XBee firmware with UartSBee or Grove - XBee Carrier

The XBee modules have to be configured with a 3.3V logic UART. Both UartSBee and Grove - XBee Carrier comes with FT232RL based USB to Serial Port and a XBee compatible socket.

Installing drivers for USB-to-Serial Port

XBee ZB connected to UartSBee for configuration XBee ZB connected to Grove - XBee Carrier for configuration


Download and install the Virtual COM port driver from FTDI website :



All modern GNU/Linux OS comes with FT232RL drivers. To check if UartSBee or Grove -XBee Carrier is detected, Issue a lsusb command. An output similar to below should appear.

GNU/Linux assigns /dev/ttyUSB0, /dev/ttyUSB1 etc... as device name.  

Using Digi's X-CTU (XCTU) Software

X-CTU is XBee Configuration and Test Utility. It is primarily used for configuring XBee Modules from Digi and also to upgrade the onboard MCU firmware. It comes with a Serial-Terminal to interact with XBee modem using AT commands. X-CTU is a Windows application. But, it is known to work under GNU/Linux using Wine .

Wireless UART demo using XBee ZB modules and PC

This demo configures two XBee modules to connect to each other automatically upon power-up and continuously trans-receive data. This setup can be used as a Wireless UART to connect any two PCs or two MCUs with serial ports.

Wireless UART demo using XBee ZB modules and Arduinos

Wireless Sensor Networks(WSN) demo with XBee ZB modules

Configuring a standalone sensor nodes using XBee ZB module and Grove - XBee Carrier

Configuring a Zigbee Coordinator using XBee ZB module, Seeeduino and XBee® Shield

Using Seeeduino as Internet Gateway using XBee ZB module,Wifi Bee and Bees Shield


Related Projects

If you want to make some awesome projects by XBee, here's some projects for reference.


This is an interesting demo made by XBee and Grove.
This project uses a zigbee mesh and GPRS SIM900 card to communicate to a server. The server conducts an analysis on the data and provides the user with real time information as well as forecasting.
I want to make it.

Hot Water Solar Boiler Project

This is an IoT demo made by XBee and Grove.
A solar boiler is great because it gives you hot water using free-sun-energy, but what if there is not enough sun or someone already used all the hot water ? This project helps you take the right decision. It warns you when you run out of hot water and allows you to turn on the electric heating. It also let you know when you can take a bath or shower !
I want to make it.

Share Your Awesome Projects with Us

Born with the spirit of making and sharing, that is what we believe makes a maker.

And only because of this , the open source community can be as prosperous as it is today.

It does not matter what you are and what you have made, hacker, maker, artist and engineers,

as long as you start sharing your works with others,

you are being part of the open source community and you are making your contributions .

Now share you awesome projects on with us on Recipe, and win a chance to become the Core User of Seeed.

Get more information about Core User please email to: recipe@seeed.cc

Copyright (c) 2008-2016 Seeed Development Limited (www.seeedstudio.com / www.seeed.cc)
This static html page was created from http://www.seeedstudio.com/wiki