How to Configure ZigBee/XBee Pro Module

ZigBee/XBee PRO S2C 802.15.4 RF Modules are an embedded solutions providing wireless end-point connectivity to devices. These devices use the IEEE 802.15.4 networking protocol for fast point-to-multi point or peer-to-peer networking. They designed for high-throughput applications requiring low latency and predictable communication timing. In this article, we will learn How to Configure ZigBee/XBee Pro.

Introduction to ZigBee/XBee Pro S2C 802.15.4 Module

The XBee/XBee-PRO S2C 802.15.4 RF Module supports the needs of low-cost, low-power wireless sensor networks. The devices require minimal power and provide reliable delivery of data between devices. The devices operate within the ISM 2.4 GHz frequency band. The XBee/XBee-PRO S2C 802.15.4 RF Module uses S2C hardware and the Silicon Labs EM357 chipset. As the name suggests, the 802.15.4 module is over-the-air compatible with our Legacy 802.15.4. Module (S1 hardware), and the TH versions of the new product are also form factor compatible with designs that use the Legacy module.

ZigBee module

XBee and XBee-PRO ZigBee modules are ideal for hobbyists and educational research as well as applications in the energy and control markets where manufacturing efficiencies are critical. The Serial Peripheral Interface (SPI) provides a high-speed interface and optimizes the integration with embedded microcontrollers, lowering development costs and reducing time to market. Digi’s ZigBee compatible module is based on the Ember EM35x (EM357 and EM3587) system on chip (SoC) radio ICs from Silicon Labs, utilizing 32-bit ARM Cortex M3 processor.

That was a brief introduction to the ZigBee module.

Hardware required:

Software required: 

How to configure ZigBee/Xbee Pro


1. XBee connection with USB adapter.

Place the XBee module on XBee USB adapter: How to configure ZigBee/Xbee Pro

2. Download and Install XCTU software 6.1.1 software

  • Open XCTU software 6.1.1 software. Click on the search button of XCTU. It directs the XBee connected to the USB adapter. Let us start the configuration of the XBee module.
  • Open the XCTU software& then click on the search on the top.
XCTU software 6.1.1 software
  • To know the com port where radios are connected open the device manager and note down the com port. Select the ports and click on next.
Selection of port
  • Leave the port parameters to default. (i.e. 9600-8-N-1)
  • 9600- Baud rate
  • 8- Data bit
  • Parity- None and 1- stop bit
And click on finish.
  • The radios (XBees) are discovered by XCTU& click on Add selected device to see the XBee listed on the left side of the XCTU.
  • Click on the First radio to load the setting. You can see the product family as XBP24C and Function set as ZIGBEE TH PRO.
  • To upgrade the latest firmware, click on the Upgrade Firmware and leave the function set to default and select the Newest version. Click on the finish to upgrade.

3. Now configure the first radio as COORDINATOR.

  • First set Pan ID for your network. This can be any Hex value from 0 to FFFF. (Set it as 1234)
configure the first radio of XBee
  • To operate the Radio in the broadcast mode set the DL (Destination address) as FFFF. Type the name of the first radio in NI (Node Identifier). You can provide any name. Here the NI set as COORDINATOR.
  • To make the Radio as COORDINATOR, Set the CE parameter to Enable and click on the Write button (Pencil Icon) to save the information.

4. Now click on the second radio and configure this as ROUTER.

  • Enter the Pan Id as 1234 which is the same as COORDINATOR. Set the JV channel Verification to enable so that it joins the COORDINATOR. Leave the CE to Disable and click on the Write to save the changes.
Configure second  of XBee

 5. Communication between Coordinator and Router

The Radios are configured, now you can do the communication between the COORDINATOR and Router:
  • Delete the second radio and click on the first one. This is the COORDINATOR and leave this XCTU window open and start another window of XCTU.
  • Click on the search button of the second window of XCTU. Select the com port of the second radio. That is the ROUTER radio. Click on the router radio to load the settings.

6. Check the Output

Now the new window has a ROUTER and the old window has a COORDINATOR.
  • Left side- ROUTER
  • Right side- COORDINATOR
Communication between Xbee module
  • Click on the Console terminal window of both radio and Serial close button.
  • Now you can type the message in the Console log window to see received by other radio. The transmitter message in BLUE and Received message in RED.
Output of ZigBee module
  • This is Bidirectional communication.

Hope this tutorial helps you to understand the deailed of How to configure ZigBee/Xbee Pro. In this tutorial, we have used XCYU software for configuration. We at Robu.in hope that you found it interesting and that you will come back for more of our educational blogs.

About Priyanka Dixit

Leave a Comment Your email address will not be published. Required fields are marked*

S

Shreyash Jagtap

Saturday, February 27, 2021
What is range of ZigBee XBee Pro ( network coverage in meters ) ?

Related Posts

ESP8266 Temperature / Humidity Webserver

ESP8266 Temperature / Humidity Webserver

Short Intro Of  IoT ? And some basic Knowledge You need To know....

Short Intro Of IoT ? And some basic Knowledge You need To know....

A Beginner Guide to NodeMCU

A Beginner Guide to NodeMCU

Programming NodeMCU Using Arduino IDE

Programming NodeMCU Using Arduino IDE

Voice Controlled Home Automation using Google Assistant

Voice Controlled Home Automation using Google Assistant

Share This Article

  • facebook
  • twitter
  • linkedin