Device Configuration Made Easy with Digi XCTU - Managing Digi XBee Networks (2024)

Welcome to our series on the XCTU tool. As described in an earlier post, (Top 12 Digi XBee Management Tools in Free XCTU), Digi XCTU® provides a host of useful features for creating, deploying, managing and testing Digi XBee® radio networks. Even the basic features contain some hidden gems, so we'll begin with a quick walk-through of the XCTU Configuration mode to highlight the contextual support that puts you fully in charge of your XBees.

Step 1

Begin by downloading and installing XCTU. If you need detailed instructions, refer to theXCTU User Guide.Next, mount a Digi XBee on an XBIB evaluation board, a Grove development board or similar. Connect that board to your computer with a USB cable. (Additional details are available in the documentation for theDigi XBee3 Zigbee Kitand theDigi XBee3 LTE-M Kit.)

Device Configuration Made Easy with Digi XCTU - Managing Digi XBee Networks (1)

Step 2

Open XCTU and click the Add Devices icon, then select the correct USB port and baud rate (9600 is the XBee default). Click Finish to add the module to your device list.

Device Configuration Made Easy with Digi XCTU - Managing Digi XBee Networks (2)

Step 3

Clicking on a module in the device list on the left will display its configuration on the right. There are a lot of settings! Some modules have 70 or more different configuration options, but XCTU has your back. Clicking the "i" for information iconDevice Configuration Made Easy with Digi XCTU - Managing Digi XBee Networks (3)will display contextual help including a brief explanation of the feature, how to set it, and the factory default value. For example, let's say we want to configure an XBee3 Zigbee module to sleep for twenty seconds, then wake up for one second to check for data, repeating this cycle indefinitely.

Device Configuration Made Easy with Digi XCTU - Managing Digi XBee Networks (4)

Scroll down to the Sleep Modes section. You can use the + and - buttonsDevice Configuration Made Easy with Digi XCTU - Managing Digi XBee Networks (5)at the top of the right section to collapse and expand the configuration setting categories. You can also search for the setting code, for example SM for Sleep Mode, which is what we'll look at first.

Step 4

When you've located the Sleep Mode (SM) setting, click on theinformation icon to show the description for that parameter. For the XBee3 Zigbee the text reads:

"Set/read sleep mode: Pin Hibernate is lowest power, Cyclic Sleep wakes on timer expiration, Cyclic Sleep Pin-Wake wakes on timer expiration or when Sleep_Rq (module pin 9) transitions from a high to a low state. If SM is set to 0, the XBee is a router, otherwise it is an end device."

We know we want the XBee module to sleep and wake up repeatedly according to a timer. Cyclic Sleep mode sounds exactly like what we want. Go ahead and set SM to "Cyclic Sleep [4]". To hide the text description, simply click theinformation icon again. Finally, click on the pencil to write your change to the firmware.

Device Configuration Made Easy with Digi XCTU - Managing Digi XBee Networks (6)

Step 5

Next we want to set two different sleep timers. One will tell the XBee how long to sleep, and the other will tell it how long to stay awake between naps. We'll start by looking at the Sleep Period (SP) setting.

There are three different types of help available, just for this one setting.

  • The first is theinformation description. Click the info icon to see a brief description of this parameter, including some implementation notes.
  • Secondly, a mouse hovering over the text entry box pops up a helper window that shows the full hexadecimal range for this parameter along with a translation of the current hex code with x10 multiplier into human-readable milliseconds. We know we want our XBee to sleep for 20 seconds. That's 20,000 in milliseconds but what is it in hex?
  • That brings us to the third type of help. At the right you'll see a calculator icon. Click on it to display a window where you can enter values in milliseconds that are automatically translated to hex codes with the proper multiplier. Enter 20000 milliseconds here and the correct hex code for this parameter, 7D0, is automatically generated.

Device Configuration Made Easy with Digi XCTU - Managing Digi XBee Networks (7)

To set how long the module should stay awake we'll use the Time before Sleep (ST) setting. We want the module to sleep for one second or 1000 milliseconds. The calculator will use ST's x1 multiplier to generate the correct hex code setting. Using the calculator for ST, enter 1000 ms. The resulting hex code should be 3E8.

Device Configuration Made Easy with Digi XCTU - Managing Digi XBee Networks (8)

Step 6

There's an additional type of calculator that's tremendously useful when working with bitfield settings. Bitfields are essentially binary feature switches that are set using a hexadecimal. They're often used for setting different options on and off, or configuring which radio channels to use.

You can see one example of a bitfield right in this Sleep section, the Sleep Options (SO) setting. Pop openfor a description of the parameter. In this case, most of the options are reserved for later use so the only bit youcouldset is Bit 2, if you wanted extended sleep mode. While we don't need to turn this on, if you wanted to you would simply click on the calculator icon, and then click the bit under "02" to activate it. (The resulting hex setting would be 4).

Device Configuration Made Easy with Digi XCTU - Managing Digi XBee Networks (9)

It may be helpful to see bitfields used in another context. The Digi XBee3 Zigbee can operate on up to 16 different channels. Its Scan Channels (SC) setting stores a bitfield that defines which channels it can operate on. Click on the calculator for this setting to see how nearly all channels are in use by default. Each bit defines one of the channels, so to turn off the channel linked to bit 7 for example, you can simply click on it and deselect it.

Device Configuration Made Easy with Digi XCTU - Managing Digi XBee Networks (10)

Remember that your selections are only saved to firmware when written with one of the pencil icons. To restore a module to its defaults, Click Default at the top of the right section, then save those changes with the pencil Write button next to it.

Everyone knows that Digi XBees are a breeze to set up, and that they also offer powerful configuration options. XCTU provides all the assistance needed, with contextual help for every option on every single XBee. Calculators are also available to assist with inputs. Confused by Sleep Modes? Simple click theinfo icon to learn more. Need to determine the bitfield for channel scanning? Select the desired channels with theinline calculator and the rest is done for you. XCTU puts you fully in charge of your XBees and makes it easy to use their powerful features.

Device Configuration Made Easy with Digi XCTU - Managing Digi XBee Networks (2024)

FAQs

How to configure XBee using xctu? ›

Add XBee modules to XCTU
  1. Connect two XBee modules to your computer using the USB cables. ...
  2. Launch XCTU.
  3. Click the Configuration working modes button .
  4. Click the Discover radio modules button .
  5. In the Discover radio devices dialog, select the serial ports where you want to look for XBee modules, and click Next.
Sep 16, 2021

What is Digi XCTU? ›

Digi XCTU is a free multi-platform application designed to enable developers to interact with Digi RF modules through a simple-to-use graphical interface. It includes new tools that make it easy to set-up, configure and test XBee® RF modules.

How to connect XBee? ›

To connect an XBee module to a computer, use an XBee module on a USB base unit and connect it to the computer's USB port. To configure an XBee module, first connect it to a Windows computer. You may need to add a USB-serial adapter if your computer lacks a serial port and the XBee module is on a serial base unit.

How to communicate between two XBees? ›

There are two simple modes for using XBees:
  1. direct input/output communication - the pins of one XBee are directly linked to the pins of the other XBee. ...
  2. "wires" for serial communication - the XBees behave like wires between the transmit (tx) and receive (rx) pins of two separate microcontrollers.

How does XBee protocol work? ›

XBee devices communicate with each other over the air, sending and receiving wireless messages. The devices only transfer those wireless messages; they cannot manage the received or sent data. However, they can communicate with intelligent devices via the serial interface.

What does a Digi device do? ›

Centrally Manage and Control Your Mission-Critical Network

The sophisticated features of Digi Remote Manager (Digi RM) include automated configuration scanning with remediation, the ability to remotely troubleshoot or reboot devices, and deploy mass firmware updates.

What is an XBee module? ›

Digi XBee LR is a wireless communications module that OEMs can easily incorporate into end-node sensor products – enabling the LoRaWAN protocol for device-to-cloud connectivity.

How to download xctu? ›

Install XCTU - Windows
  1. Go to www.digi.com/xctu.
  2. Click Download XCTU.
  3. Under Utilities, click the Windows installer link.
  4. When the file has finished downloading, run the executable file and follow the steps in the XCTU Setup Wizard. A “What's new” dialog appears when installation is complete.
Sep 16, 2021

What is the difference between ZigBee and XBee? ›

XBee and Zigbee

But whereas XBee is a radio module, Zigbee is a secure communications protocol standard for low-power, local-area wireless mesh networking that operates on global frequencies. XBee modules run Zigbee and many other protocols, making it easy and cost-effective to develop wireless applications.

How do ZigBee devices connect? ›

ZigBee devices communicate with each other via a central ZigBee hub (gateway) that is connected to the Internet. In addition, the controller, i.e. your ZigBee app, is connected to the gateway. This allows you to control your smart home devices from virtually anywhere.

What is the network configuration of ZigBee? ›

The most common network configurations for a ZigBee network are star, mesh and cluster tree. Star Network: There is one coordinator initiating and managing several end devices (nodes). End devices only communicate with the coordinator. This is fine up to a point until the coordinator becomes bottlenecked.

How to use XBee as transmitter and receiver? ›

Read an analog value from potentiometer, then convert it to PWM and finally send it through serial port to xBee. The xBee serial module will send it to another xBee (resiver) and an Arduino will turn on (fade) an LED. The sending message starts with '<' and closes with '>' symbol.

Is XBee WiFi? ›

The Digi XBee Wi-Fi Cloud Kit includes all of the hardware and software tools needed to build a cloud-connected Wi-Fi prototype in under an hour.

What is the range of XBee? ›

Newest Related Content
HardwareDigi XBee-PRO 900HP
Indoor/Urban Range*10 Kbps: up to 2000 ft (610 m); 200 Kbps: up to 1000 ft (305 m)
Outdoor/ Line-Of-Sight Range*10 Kbps: up to 9 miles (14 km); 200 Kbps: up to 4 miles (6.5 km) ( w/ 2.1 dB dipole antennas)
Transmit PowerUp to 24 dBm (250 mW) software selectable
26 more rows

How to run XCTU on Linux? ›

Then download and install XCTU:
  1. Go to www.digi.com/xctu.
  2. Click Download XCTU.
  3. Under Utilities, click the Linux installer link.
  4. When the file has finished downloading, run the executable file and follow the steps in the XCTU Setup Wizard. A “What's new” dialog appears when installation is complete.
Sep 16, 2021

How does XBee transmit data? ›

You can send data either using a unicast or a broadcast transmission. Unicast transmissions route data from one source device to one destination device, whereas broadcast transmissions are sent to all devices in the network.

Which XBee shield allows the Arduino board to communicate wirelessly using the XBee protocol? ›

Using this shield, you only have to insert your xbee module on the provided socket and plug the shield onto your Arduno UNO. With no additional circuit and connections required, you can then start using the xbee modules. This Xbee Shield allows Arduino boards to communicate wirelessly with each other using Zigbee.

Top Articles
Latest Posts
Article information

Author: Kieth Sipes

Last Updated:

Views: 6144

Rating: 4.7 / 5 (67 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Kieth Sipes

Birthday: 2001-04-14

Address: Suite 492 62479 Champlin Loop, South Catrice, MS 57271

Phone: +9663362133320

Job: District Sales Analyst

Hobby: Digital arts, Dance, Ghost hunting, Worldbuilding, Kayaking, Table tennis, 3D printing

Introduction: My name is Kieth Sipes, I am a zany, rich, courageous, powerful, faithful, jolly, excited person who loves writing and wants to share my knowledge and understanding with you.