IOT

How to Configure ZigBee/XBee Pro Module

This Zigbee XBee Pro Module S2C 802.15.4 2mW is designed with Wire Antenna XB24CZ7WIT-004. It provides quick, robust communication in point-to-point, peer-to-peer, and multipoint/star configurations. Thereby offering ease of connectivity s, providing cost-effective wireless solutions for electronic device modules. XBee Pro Module S2C XB24CZ7WIT-004  interoperable with other ZigBee feature set devices, including devices from other vendors. These are the ideal solution for applications requiring low latency and predictable communication timing.

This blog covers a step by step tutorial for 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 is designed to meet the needs of wireless sensor networks that are low-cost and low-power. The devices use relatively little power and deliver data reliably between devices.This updated version (S2C) of the XBee ProZigBee Series 2 module comes with an  EM357 transceiver utilizing a 32bit ARM Cortex™ M3 processor. The EM357 transceiver features faster performance, lower current consumption, and comparatively more RAM and Flash. 

These advanced features allow EM357-based modules to ensure more network traffic. Hence improved power consumption, more memory for code updates, and operation more efficiently. This provides an upgrade path to DigiMesh or ZigBee mesh protocols if desired. Moreover, XBee 802.15.4 modules provide an easy interface with compatible gateways, device adapters, and range extenders, providing developers with true beyond-the-horizon connectivity.

These are ideal solutions for various applications and are widely used in the energy and controls markets where manufacturing efficiencies are critical. Therefore for users who require these performance improvements, the XBee ZigBee migration guide will assist with migrating from S2B XBee ZigBee modules to the S2C XBee ZigBee modules.

Features:

  • Operating voltage: 2.7V-3.6V
  • Max data rate: 250kbps
  • 63mW output (+17dBm)
  • Range: 1 mile (1600m)
  • ADC Channels: 6 10-bit ADC input pins
  • Digital I/O: 8
  • 128-bit encryption
  • Transmit Current: 120mA at 3.3VDC
  • Receive current: 31mA at 3.3VDC
  • Data Rate: RF 250Kbps, serial up to 1Mbps
  • Indoor/urban range up to 300ft (90m)
  • outdoor/RF line of sight range up to 2miles (3200m)
  • Transmit power is 63mW (+18dBm)
  • Receiver sensitivity is -101dBm
  • Local or over-air configuration
  • AT or API command set
  • External Antenna Required
  • Firmware upgrades via UART, SPI or over the air (OTA)
  • ISM 2.4GHz frequency band, DSSS (direct sequence spread spectrum) interference immunity
  • Dimension: 2.438cm x 3.294cm

Hardware required:

  • 2 x  ZigBee XBee Pro
  • 2 x XBee USB adapter
  • 2 x USB cable

Software required: 

  • XCTU software (6.1.1 version) (click to download)

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

  • Install the XCTU software version 6.1.1. XCTU’s search button should be selected. It directs the USB adapter-connected XBee. Let’s get started on the XBee module’s configuration.
  • Open the XCTU software and then go to the top of the screen to the search bar.
  • To find out which com port your radios are attached to, go to the device manager and look for the com port. Next, select the ports you want to use.
  • 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, and you can see the XBee listed on the left side of the XCTU by clicking on Add selected device.
  • To load the setting, select the First radio option. The product family is XBP24C, and the function set is ZIGBEE TH PRO, as you can see.
  • To upgrade to the most recent firmware, go to the Upgrade Firmware menu, select the Newest version, and leave the function at default. To upgrade, click the finish button.

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 1234, which is the same as COORDINATOR, as the Pan Id. Set the JV channel Verification to ON so that it can connect to the COORDINATOR. To save the changes, set the CE to Disable and click the Write button.
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:

  • Remove the second radio and replace it with the first. This is the COORDINATOR; close this XCTU window and open another XCTU window.
  • In the second window of XCTU, click the search button. Choose the second radio’s com port. ROUTER is the name of the radio. 

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.
  • You can now write the message in the Console log window to see if other radios have received it. The transmitter message is displayed in BLUE, while the received message is displayed in RED.
Output of ZigBee module
  • This indicates Bidirectional communication.

Hope this blog helps you to understand how to configure ZigBee/XBee Pro.We ,MATHA ELECTRONICS  will come back with more informative blogs.

Leave a Reply

Your email address will not be published.