ZigBee Technology Tutorial

ZigBee Technology Tutorial

Published: 17th January 2018

ZigBee is a wireless networking standard that is aimed at remote control and sensor applications which is suitable for operation in harsh radio environments and in isolated locations.

ZigBee technology builds on IEEE standard 802.15.4 which defines the physical and MAC layers. Above this, ZigBee defines the application and security layer specifications enabling interoperability between products from different manufacturers. In this way ZigBee is a superset of the 802.15.4 specification.

With the applications for remote wireless sensing and control growing rapidly it is estimated that the market size could reach hundreds of millions of dollars as early as 2007. This makes ZigBee technology a very attractive proposition for many applications.

ZigBee standards and ZigBee Alliance

The ZigBee standard is organised under the auspices of the ZigBee Alliance. This organisation has over seventy members, of which five have taken on the status of what they term "promoter." These five companies are Ember, Honeywell, Invensys, Mitsubishi, Motorola, Philips, and Samsung. Under the umbrella of the ZigBee Alliance, the new standard will be pushed forward, taking on board the requirements of the users, manufacturers and the system developers.

ZigBee standards and releases

ZigBee 2004This was the original release of ZigBee - defined as ZigBee 1.0 which was publicly released in June 2005.
ZigBee 2006This release of the ZigBee standard introduced the concept of a cluster library and was released in September 2006.
ZigBee 2007The next version of the ZigBee standard was released publicly in October 2008 and contained two different profile classes
ZigBee PROZigBee PRO was a profile class that was released in the ZigBee 2007 release. ZigBee PRO provides additional features required for robust deployments including enhanced security.
RF4CERF4CE - Radio Frequency for (4) Consumer Electronics was a standard that was aimed at audio visual applications. It was taken on board by the ZigBee Alliance and the Version 1.0 of the standard was released in 2009.

ZigBee basics

The distances that can be achieved transmitting from one station to the next extend up to about 70 metres, although very much greater distances may be reached by relaying data from one node to the next in a network.

The main applications for 802.15.4 are aimed at control and monitoring applications where relatively low levels of data throughput are needed, and with the possibility of remote, battery powered sensors, low power consumption is a key requirement. Sensors, lighting controls, security and many more applications are all candidates for the new technology.

Physical and MAC layers

The system is specified to operate in one of the three license free bands at 2.4 GHz, 915 MHz for North America and 868 MHz for Europe. In this way the standard is able to operate around the globe, although the exact specifications for each of the bands are slightly different. At 2.4 GHz there are a total of sixteen different channels available, and the maximum data rate is 250 kbps. For 915 MHz there are ten channels and the standard supports a maximum data rate of 40 kbps, while at 868 MHz there is only one channel and this can support data transfer at up to 20 kbps.

The modulation techniques also vary according to the band in use. Direct sequence spread spectrum (DSSS) is used in all cases. However for the 868 and 915 MHz bands the actual form of modulation is binary phase shift keying. For the 2.4 GHz band, offset quadrature phase shift keying (O-QPSK) is employed.

In view of the fact that systems may operate in heavily congested environments, and in areas where levels of extraneous interference is high, the 802.15.4 specification has incorporated a variety of features to ensure exceedingly reliable operation. These include a quality assessment, receiver energy detection and clear channel assessment. CSMA (Carrier Sense Multiple Access) techniques are used to determine when to transmit, and in this way unnecessary clashes are avoided.

Data transfer

The data is transferred in packets. These have a maximum size of 128 bytes, allowing for a maximum payload of 104 bytes. Although this may appear low when compared to other systems, the applications in which 802.15.4 and ZigBee are likely to be used should not require very high data rates.

The standard supports 64 bit IEEE addresses as well as 16 bit short addresses. The 64 bit addresses uniquely identify every device in the same way that devices have a unique IP address. Once a network is set up, the short addresses can be used and this enables over 65000 nodes to be supported.

It also has an optional superframe structure with a method for time synchronisation. In addition to this it is recognised that some messages need to be given a high priority. To achieve this, a guaranteed time slot mechanism has been incorporated into the specification. This enables these high priority messages to be sent across the network as swiftly as possible.

Upper layers (ZigBee)

Above the physical and MAC layers defined by 802.15.4, the ZigBee standard itself defines the upper layers of the system. This includes many aspects including the messaging, the configurations that can be used, along with security aspects and the application profile layers.

There are three different network topologies that are supported by ZigBee, namely the star, mesh and cluster tree or hybrid networks. Each has its own advantages and can be used to advantage in different situations.

The star network is commonly used, having the advantage of simplicity. As the name suggests it is formed in a star configuration with outlying nodes communicating with a central node.

Mesh or peer to peer networks enable high degrees of reliability to be obtained. They consist of a variety of nodes placed as needed, and nodes within range being able to communicate with each other to form a mesh. Messages may be routed across the network using the different stations as relays. There is usually a choice of routes that can be used and this makes the network very robust. If interference is present on one section of a network, then another can be used instead.

Finally there is what is known as a cluster tree network. This is essentially a combination of star and mesh topologies.

Both 802.15.4 and ZigBee have been optimised to ensure that low power consumption is a key feature. Although nodes with sensors of control mechanisms towards the centre of a network are more likely to have mains power, many towards the extreme may not. The low power design has enabled battery life to be typically measured in years, enabling the network not to require constant maintenance.


Although there is an increasing number of wireless standards that are appearing, ZigBee has a distinct area upon which it is focussed. It is not inteneded to compete with standards such as 802.11, Bluetooth and the like. Instead it has been optimised to ensure that it meets its intended requirements, fulfilling the needs for remote control and sensing applications.

Article written by Ian Poole from http://www.radio-electronics.com

You Might also like

UWB Certification Why it Matters and How its Tested

UWB Certification: Why it Matters and How it’s Tested

Looking back at the history of great wireless innovations, the common factor that has launched technologies on a successful path is the broad ecosystem built around them. The success that Wi-Fi and Bluetooth® have enjoyed over the past 20 years is mostly due to the fact that devices from any maker or brand simply work together.

Read more
Real Time vs Sampling Oscilloscopes What Are the Differences

Real-Time vs. Sampling Oscilloscopes: What Are the Differences?

All modern oscilloscopes are categorized as digital storage oscilloscopes (DSO) which digitally sample, store, and display a signal to the user - but the technique for accomplishing this can vary from one scope to another. Two distinct categories you’ve probably heard about are real-time scopes and sampling scopes, each of which have advantages for specific applications. Understanding the differences between these two instruments can help determine which one is right for your use case.

Read more
Abstract Background - Purple Wave

How Open RAN is Disrupting Traditional Cellular Network

In the modern tech industry, 5G and cloud are the two biggest trends that are seeing significant uptake across the globe. These trends have disrupted the way networks are built, causing a shift from the traditional practice of building cellular networks.

Read more

Sign up for the MCS Newsletter

You will receive all the latest test & measurement news and rental offers.