Telecoms, Datacoms, Wireless, IoT


Demystifying 802.15.4 and ZigBee

6 August 2008 Telecoms, Datacoms, Wireless, IoT

Creating wireless networks can be done using a variety of RF protocols. Some protocols are proprietary to individual vendors, others are industry standards. This article explores the ZigBee protocol industry standard for data transmission, and the IEEE 802.15.4 protocol on which it was built. It defines the frequencies used, the bandwidth it occupies, and networking features unique to each of these protocols and explores the features they were designed to exploit.

802.15.4

802.15.4 is a standard for wireless communication put out by the IEEE (Institute for Electrical and Electronics Engineers). The IEEE is a technical professional association that has put out numerous standards to promote growth and interoperability of existing and emerging technologies. The organisation has published the standards that define communication in areas such as the Internet, PC peripherals, industrial communication and wireless technology. As two examples, the IEEE 802.11 standard defines communication for wireless LAN and 802.16 defines communication for broadband wireless metropolitan area networks.

While both of those wireless standards are concerned with higher bandwidth Internet access applications, 802.15.4 was developed with lower data rate, simple connectivity and battery application in mind. The standard specifies that communication can occur in the 868–868,8 MHz, 902–928 MHz or 2,400–2,4835 GHz industrial scientific and medical (ISM) bands. While any of these bands can technically be used by 802.15.4 devices, the 2,4 GHz band is more popular as it is open in most countries worldwide. The 868 MHz band is specified primarily for European use, whereas the 902–928 MHz band can only be used in the United States, Canada and a few other countries and territories that accept the FCC regulations.

The 802.15.4 standard specifies that communication should occur in 5 MHz channels ranging from 2,405 to 2,480 GHz. In the 2,4 GHz band, a maximum over-the-air data rate of 250 Kbps is specified, but due to the overhead of the protocol the actual theoretical maximum data rate is approximately half of that. While the standard specifies 5 MHz channels, only approximately 2 MHz of the channel is consumed with the occupied bandwidth.

At 2,4 GHz, 802.15.4 specifies the use of direct sequence spread spectrum modulation and uses an offset quadrature phase shift keying (O-QPSK) with half-sine pulse shaping to modulate the RF carrier. Figure 1 shows the various channels at the spacing specified by 802.15.4.

Figure 1. IEEE 802.15.4 channel spacing
Figure 1. IEEE 802.15.4 channel spacing

The 802.15.4 standard allows for communication in a point-to-point or a point-to-multipoint configuration. A typical application involves a central coordinator with multiple remote nodes connecting back to this central host, as shown in Figure 2.

Figure 2. A typical 802.15.4 application
Figure 2. A typical 802.15.4 application

MaxStream’s XBee Series 1 family of radios can be set up to operate in a point-to-point, point-to-multipoint or a peer-to-peer configuration. While standard 802.15.4 always requires a coordinator, the MaxStream radios are set up so that a coordinator is not required.

ZigBee

ZigBee is a protocol that uses the 802.15.4 standard as a baseline and adds additional routing and networking functionality. The ZigBee protocol was developed by the ZigBee Alliance, a group of companies that worked in cooperation to develop a network protocol that can be used in a variety of commercial and industrial low data rate applications.

What ZigBee is designed to do is add mesh networking to the underlying 802.15.4 radio. Mesh networking is used in applications where the range between two points may be beyond the range of the two radios located at those points, but intermediate radios are in place that could forward on any messages to and from the desired radios.

As an example, referring to Figure 3, suppose it is required to transmit data from point A to point B, but the distance is too great between the points. The message could be transmitted through point C and a few other radios to reach the destination. The ZigBee protocol is designed so that if a number of different radios were deployed as in Figure 3, the radios would automatically form a network without user intervention.

Figure 3. A typical ZigBee application
Figure 3. A typical ZigBee application

The ZigBee protocol within the radios will take care of retries, acknowledgements and data message routing. ZigBee also has the ability to self-heal the network. If the radio at point C was removed for some reason, a new path would be used to route messages from A to B.

Devices in the ZigBee specification can either be used as end devices, routers or coordinators. Routers can also be used as end devices. Since the ZigBee protocol uses the 802.15.4 standard to define the PHY and MAC layers, the frequency, signal bandwidth and modulation techniques are identical.

Because ZigBee was designed for low power applications, it fits well into embedded systems and those markets where reliability and versatility are important but a high bandwidth is not.

Table 1 offers a comparison of features with several other popular wireless technologies and their different applications.

The lower data rate of the ZigBee devices allows for better sensitivity and range, but of course offers less throughput. The primary advantage of ZigBee lies in its ability to offer low power and extended battery life.





Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

The trends driving uptake of IoT Platform as a Service
Trinity IoT Editor's Choice Telecoms, Datacoms, Wireless, IoT
IoT platforms, delivered as a service, are the key that will enable enterprises to leverage a number of growing trends within the IT space, and access a range of benefits that will help them grow their businesses.

Read more...
RF power amplifier
RF Design Telecoms, Datacoms, Wireless, IoT
The ZHL-20M2G7025X+ from Mini-Circuits is a 32 W power amplifier that operates from 20 to 2700 MHz and delivers a saturated output power of +45 dBm.

Read more...
Introducing the Quectel EG800Z series
iCorp Technologies Telecoms, Datacoms, Wireless, IoT
The EG800Z series is Quectel’s latest ultra-compact LTE Cat 1 bis module, designed to deliver reliable connectivity, low power consumption, and robust performance across a wide range of IoT applications.

Read more...
NeoMesh on LoRa
CST Electronics Telecoms, Datacoms, Wireless, IoT
Thomas Steen Halkier, CEO of NeoCortec, recently gave a keynote speech where he spoke about “NeoMesh on LoRa: Bringing true mesh networking to the LoRa PHY”.

Read more...
Modules upgraded with Direct-to-Cell tech
iCorp Technologies Telecoms, Datacoms, Wireless, IoT
Quectel Wireless Solutions has announced that several of its LTE modules are now available with Direct-to-Cell (D2C) functionality, enabling devices to seamlessly connect to satellite networks.

Read more...
USB/Ethernet smart RF power sensor
RF Design Telecoms, Datacoms, Wireless, IoT
The PWR-18PWHS-RC from Mini-Circuits is an RF power sensor that operates from 50 MHz to 18 GHz and is designed to capture pulsed and trace modulated signals with very high data resolution.

Read more...
Tiny Bluetooth LE + 802.15 + NFC module
RF Design Telecoms, Datacoms, Wireless, IoT
Unleashing enhanced processing power, expanded memory, and innovative peripherals, the BL54L15µ from Ezurio is the ultimate choice for small and low power connectivity.

Read more...
AI modules for edge intelligence
Otto Wireless Solutions Telecoms, Datacoms, Wireless, IoT
SIMCom has introduced two new entry-level AI computing modules, the SIM8668 and SIM8666, designed to bring intelligent capabilities to lightweight, energy-efficient edge devices.

Read more...
High performance ISM antennas
iCorp Technologies Telecoms, Datacoms, Wireless, IoT
Quectel Wireless Solutions has announced the launch of two new high performance ISM antennas, designed to meet the need for wireless communication in devices that operate in the industrial and commercial applications.

Read more...
Quad-band high-precision positioning module
iCorp Technologies Telecoms, Datacoms, Wireless, IoT
Quectel Wireless Solutions has recently announced the launch of the LG680P, a multi-constellation, quad-band GNSS module designed to deliver high-precision positioning across a wide range of applications.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved