+33 970 820 250 Mon–Sat, 9 am – 5 pm (CET) [email protected]
Protocols & Standards

IEEE 802.15.4 and Zigbee Explained

Learn about IEEE 802.15.4 and Zigbee — the standards powering low-power wireless sensor networks. Understand physical layer, MAC, network topologies, and how WiSMote implements them.

XBee radio module with antenna connector
Photo: SparkFun Electronics from Boulder, USA, CC BY 2.0, via Wikimedia Commons · Credits

When engineers design wireless sensor networks, they need a radio standard that balances range, data rate, power consumption, and cost. For the vast majority of IoT applications, that standard is IEEE 802.15.4. And the most recognizable brand built on top of it is Zigbee. This article explains both standards, their relationship, and how WiSMote leverages them.

IEEE 802.15.4: The Foundation

IEEE 802.15.4 is an international standard that defines the physical layer (PHY) and medium-access control (MAC) layer for low-rate wireless personal area networks (LR-WPANs). First published in 2003 and revised multiple times since, it is the most widely adopted radio standard for IoT sensor networks.

Physical Layer

The standard supports multiple frequency bands, but the 2.4 GHz ISM band is the most common, offering worldwide availability and a data rate of 250 Kbps using Direct Sequence Spread Spectrum (DSSS) modulation with Offset Quadrature Phase-Shift Keying (O-QPSK). The WiSMote module’s TI CC2520 transceiver implements this physical layer with high sensitivity and excellent adjacent-channel rejection.

MAC Layer

The MAC layer provides two operating modes: beacon-enabled mode, where a coordinator periodically transmits beacons to synchronize the network and allocate guaranteed time slots; and non-beacon mode, where nodes use CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance) for channel access. Non-beacon mode is simpler and more common in large-scale sensor networks.

Key MAC features include 16-bit short addresses and 64-bit extended (IEEE/MAC) addresses, frame types for data, acknowledgment, beacons, and MAC commands, AES-128 encryption at the link layer, and energy detection and clear channel assessment for spectrum management.

Frame Structure

An 802.15.4 frame has a maximum size of 127 bytes, including headers and a 2-byte CRC. After MAC headers (typically 9–23 bytes depending on addressing mode and security), the payload available for upper-layer protocols is roughly 100–118 bytes. This tight budget is what makes header compression (6LoWPAN) so important.

Zigbee: The Application Framework

Zigbee is a specification maintained by the Connectivity Standards Alliance (formerly the Zigbee Alliance) that adds network-layer routing, security, and application-layer profiles on top of IEEE 802.15.4. While 802.15.4 defines how bits get from one radio to its neighbor, Zigbee defines how to build a complete application network.

Zigbee Network Layer

Zigbee uses the Ad-hoc On-Demand Distance Vector (AODV) routing protocol to establish multi-hop paths across the network. It supports three device types: coordinators (one per network, responsible for formation), routers (relay traffic and extend range), and end devices (typically battery-powered sensors that communicate only with their parent router).

Zigbee Application Profiles

Zigbee defines standardized application profiles for specific use cases: Home Automation (ZHA), Building Automation (ZBA), Smart Energy (ZSE), Health Care, and others. These profiles specify device types, clusters (collections of commands and attributes), and data formats, ensuring interoperability between products from different manufacturers within the same profile.

Zigbee vs. 6LoWPAN: Different Paths from the Same Foundation

Both Zigbee and 6LoWPAN use IEEE 802.15.4 at the radio level, but they diverge at the network layer:

  • Zigbee uses its own addressing scheme and routing protocol (AODV). Zigbee devices are not natively IP-addressable — a gateway is required to translate between Zigbee and IP networks.
  • 6LoWPAN uses standard IPv6 addressing and RPL routing. Every 6LoWPAN node has a globally routable IPv6 address and can communicate with any host on the Internet without protocol translation.

WiSMote can serve both approaches at the radio level: its CC2520 transceiver is compliant with 6LoWPAN, Zigbee and WirelessHART radio requirements (a Zigbee stack would have to be integrated separately), while the Contiki firmware provides a full 6LoWPAN/RPL/CoAP stack for native IPv6 deployments. The choice depends on the application: Zigbee excels in home automation with its rich application profiles, while 6LoWPAN offers superior interoperability and scalability for large-scale IoT and smart-city deployments.

Range and Performance

At 2.4 GHz with the standard 0 dBm transmit power, typical indoor range is 10–30 meters, and outdoor line-of-sight range is 100–300 meters. Using an external antenna (WiSMote offers an internal antenna or an external antenna connector) and higher transmit power settings can extend range significantly; the actual distance depends on the antenna, the environment and local regulations. Mesh routing extends effective coverage far beyond the range of any single link.

Coexistence with Wi-Fi and Bluetooth

The 2.4 GHz band is shared with Wi-Fi (802.11) and Bluetooth. IEEE 802.15.4 uses DSSS modulation with 2 MHz channel bandwidth across 16 channels, while Wi-Fi uses much wider channels (20–40 MHz). Careful channel selection — placing 802.15.4 on channels that fall in gaps between Wi-Fi channels — minimizes interference. The CC2520’s clear channel assessment and automatic retransmission provide further resilience.

Security

IEEE 802.15.4 supports AES-128-CCM encryption at the MAC layer, providing confidentiality, integrity, and replay protection for each frame. Zigbee adds network-layer and application-layer security with key management, trust centers, and device authentication. For 6LoWPAN deployments, DTLS (Datagram Transport Layer Security) provides end-to-end encryption at the application layer.

The Evolving Standard

IEEE 802.15.4 continues to evolve. The 802.15.4g amendment adds sub-GHz frequencies for longer range, 802.15.4e introduces time-slotted channel hopping (TSCH) for ultra-reliable industrial communication, and the Matter standard (formerly Project CHIP) aims to unify smart-home protocols across Zigbee, Thread (a 6LoWPAN-based mesh protocol), Wi-Fi, and Bluetooth.

Why WiSMote Chose 802.15.4

WiSMote uses IEEE 802.15.4 because it offers the best balance of power efficiency, mesh-networking capability, global spectrum availability, and ecosystem maturity for wireless sensor networks. The TI CC2520 transceiver provides excellent sensitivity, selectivity, and power efficiency, while the standard’s broad adoption ensures access to development tools, protocol stacks, and interoperable devices.

Explore WiSMote products built on the IEEE 802.15.4 standard.

WiSMote Engineering Team

Engineers at ARAGO SYSTEMS working on WiSMote, Contiki and wireless sensor networks.

Keep reading