Zigbee, Bluetooth, BLE and Z-Wave
Clear, exam-focused notes comparing Zigbee, Bluetooth (Classic), Bluetooth Low Energy (BLE) and Z‑Wave: frequencies, PHY/MAC, topologies, security, performance, worked examples and exam tips.
Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.
Why it matters
Engineers use Zigbee, Bluetooth, BLE and Z‑Wave to build low‑power wireless links for sensors, actuators and home/industrial automation. Knowing their radio bands, data rates, topologies, security and trade‑offs helps you pick the right wireless technology for an IoT design or justify it in an exam answer.
Key ideas
Typical PHY channels: 2.4 GHz ISM band (worldwide, channels 11–26). Lower bands (915 MHz, 868 MHz) exist for some regions via 802.15.4 variants (typical raw rates: 40 kb/s at 915 MHz, 20 kb/s at 868 MHz).
Typical raw data rate at 2.4 GHz: 250 kb/s (802.15.4 physical layer).
Bluetooth Classic: protocol family under Bluetooth SIG for audio and broadband links. Uses frequency‑hopping spread spectrum (FHSS/AFH) in the 2.4 GHz ISM band over 79 1‑MHz channels; raw air rates: BR 1 Mb/s and EDR 2 or 3 Mb/s. Logical structure: piconet (one master, up to 7 active slaves) and optional scatternet (interconnected piconets). Used where higher throughput and audio profiles are needed. Pairing and link‑level encryption: BR/EDR uses the E0 stream cipher for payload encryption (still in current specs); newer versions add Secure Simple Pairing with ECDH for key agreement, but AES‑CCM is used only in BLE. Device addresses are 48‑bit (BD_ADDR).
Bluetooth Low Energy (BLE): designed for very low power IoT devices. Operates in 2.4 GHz ISM band with 40 RF channels (3 advert channels, 37 data channels). BLE stack divides into Controller (PHY + Link Layer) and Host (L2CAP, ATT, GATT, GAP). Connection model is central (master) and peripheral (slave) — star topology for simple cases. BLE 4.x offers 1 Mb/s PHY; BLE 5 introduced 2 Mb/s PHY and coded long‑range PHY options (trading rate for sensitivity). Coded PHY options are 500 kb/s (S=2) and 125 kb/s (S=8). Security: AES‑128 for link encryption; LE Secure Connections uses ECDH P‑256 for key exchange (modern secure pairing).
Z‑Wave: a proprietary low‑power mesh protocol used mostly for home automation. Operates below 1 GHz (region‑dependent frequencies such as ~908 MHz US, ~868 MHz EU — check regional channels). For example, US commonly uses 908.4/916.0 MHz; EU uses 868.4/869.85 MHz (exact channels vary by country). Z‑Wave network has a primary controller and nodes; supports routing/mesh; network size limited by spec (historically up to 232 nodes in a mesh; Z‑Wave LR increases this to up to ~4000 nodes). Security has evolved (S0 to S2 frameworks) and uses AES for encryption with additional key exchange methods. Typical data rates: 9.6 kb/s, 40 kb/s, and 100 kb/s (Z‑Wave Plus).
Key tradeoffs (first principles):
- Higher frequency (e.g., 2.4 GHz) gives more bandwidth but shorter range and worse penetration through walls.
- Lower frequency (sub‑GHz) gives longer range and better penetration, but less spectrum and lower data rates.
- Mesh routing extends coverage but increases complexity, latency and multi‑hop reliability issues.
- Power consumption depends on radio duty cycle, PHY efficiency, and MAC sleep support.
PHY/MAC differences to memorise for exams:
- Zigbee: 802.15.4 PHY, CSMA/CA MAC, mesh capable.
- BLE: GFSK based PHY (LE GFSK), connection oriented with advertising for discovery, low duty cycle, central/peripheral roles; BLE mesh uses managed flooding (not classical routing).
- Bluetooth Classic: FHSS, synchronized piconet scheduling.
- Z‑Wave: sub‑GHz narrowband, simple mesh with source routing in some stacks.
Security primitives: AES‑128 (symmetric block cipher) is common for frame confidentiality; modern key exchange uses Elliptic Curve Diffie‑Hellman (ECDH) for establishing shared keys in BLE Secure Connections and recent Z‑Wave S2. Be explicit in answers about which version of a protocol you mean when you state security features.
Diagrams to draw for exam answers (describe exactly what to draw):
- Zigbee mesh: draw a central node labelled Coordinator, several Router nodes with bidirectional arrows between routers and coordinator, and End Device nodes connected with single arrows to routers; label roles and show IEEE 64‑bit address and 16‑bit short address on one node.
- Bluetooth piconet: draw one Master at centre and up to 7 Slave nodes around, arrows from master to slaves, label as up to 7 active slaves; note scatternet by showing one slave that is master of another piconet.
- BLE protocol stack: draw two vertical blocks: Controller (PHY + Link Layer) at bottom; Host above with L2CAP, ATT, GATT, GAP; Application on top. Show HCI between Host and Controller.
Formulas
λ = c / f — λ is wavelength (m), c is speed of light (≈ 3·10^8 m·s⁻1), f is frequency (Hz). Applies to free‑space radio.
Pr = Pt · Gt · Gr · (λ / (4 · π · R))^2 — Friis free‑space equation (linear units). Pr, Pt in watts, Gt/Gr unitless gains, R is distance (m). Applies in far field, unobstructed LOS.
Lfs(dB) = 20 · log10(4 · π · R / λ) — free‑space path loss in dB. R in metres, λ in metres.
Pr(dBm) = Pt(dBm) + Gt(dBi) + Gr(dBi) - Lfs(dB) - Lmisc(dB) — link budget in dB units. Use to estimate received power and range; Lmisc includes connectors, body loss.
Time = Bits / DataRate — time to transmit a frame (s). Bits in bits, DataRate in bits per second.
Note: for medium access, CSMA/CA and FHSS are protocol rules, not single algebraic formulas — list behaviour in Key ideas.
Worked examples
- Zigbee received power at 2.4 GHz, 30 m distance.
Given: Pt = 0 dBm, Gt = 0 dBi, Gr = 0 dBi, f = 2.4 GHz, R = 30 m.
Step 1: λ = c / f = 3·10^8 / 2.4·10^9 = 0.125 m.
Step 2: Compute Lfs(dB) = 20·log10(4·π·R / λ).
4·π·R / λ = 4·π·30 / 0.125 = 3015.92.
Lfs = 20·log10(3015.92) = 69.6 dB.
Step 3: Pr(dBm) = Pt + Gt + Gr - Lfs = 0 + 0 + 0 - 69.6 = -69.6 dBm.
Conclusion: Received power ≈ -69.6 dBm. If the receiver sensitivity is -100 dBm, margin is ~30 dB (so 30 m is easily covered in free space). (Assumes no obstacles, check indoor loss separately.)
- Maximum free‑space range for Zigbee given sensitivity.
Given: Pt = 0 dBm, Gt = Gr = 0 dBi, Rx sensitivity S = -95 dBm, f = 2.4 GHz.
Link budget required Lfs = Pt - S = 0 - (-95) = 95 dB.
Solve 20·log10(4·π·R / λ) = 95 dB → 4·π·R / λ = 10^(95/20) = 10^4.75 ≈ 56234.
R = (λ / (4·π)) · 56234 = 0.125 / 12.566 · 56234 ≈ 559 m.
Conclusion: Free‑space max range ≈ 559 m. Real indoor range will be much lower due to multipath and walls. (This is for conceptual calculation; verify receiver sensitivity used.)
- Time to send 100‑byte application payload on Zigbee PHY (250 kb/s).
Payload = 100 bytes = 800 bits. Data rate = 250·10^3 bit/s.
Time = 800 / 250000 = 0.0032 s = 3.2 ms (ignores preamble, MAC headers and acknowledgements). If MAC+PHY overhead ~50 bytes (400 bits), total time ≈ 1200/250000 = 4.8 ms.
Common mistakes
- Confusing mesh routing (Zigbee stores/forwards routing tables) with BLE mesh (uses managed flooding, not classical routing).
- Giving ranges without stating assumptions (free space vs indoor). Always state Pt, antenna gains, and receiver sensitivity when computing range.
- Claiming “Z‑Wave is worldwide at 908 MHz” — frequency depends on region; always specify regional channel.
For your exam
Types of questions:
- Definitions and short‑note: define each protocol, list layers and typical use cases.
- Comparison question: tabular comparison of frequency, data rate, topology, routing, security.
- Derivation/numerical: link‑budget / free‑space path loss calculations as in worked examples.
- Diagram question: draw and label Zigbee mesh, BLE stack, or Bluetooth piconet.
- Design question: pick a protocol for a use case (home automation, wearable) and justify using range, power, throughput and security.
What full‑marks answers include:
- Clear definitions of terms used (e.g., IEEE 802.15.4, piconet, coordinator, central/peripheral).
- Numerical answers must show every step, units and final numeric with units.
- When comparing, use a short table or bullet list with exact numbers (frequency, data rate, typical range) and note assumptions.
- For security questions, mention algorithm (AES‑128) and key exchange technique (ECDH P‑256 for modern BLE Secure Connections / Z‑Wave S2) and state the protocol version.
Quick check
- What standard defines the PHY and MAC used by Zigbee?
- How many advertising channels does BLE have in the 2.4 GHz band?
- Give one advantage of sub‑GHz protocols (like Z‑Wave) over 2.4 GHz systems.
Answers: 1) IEEE 802.15.4. 2) Three advertising channels. 3) Better range and wall penetration (lower path loss at lower frequency).
Notes about uncertainty (I am unsure about exact regional channel frequencies, certain version‑specific security details, and some exact numeric limits): see verify list.
Finished this topic? Mark it so your progress, study plan and readiness keep up.
Stuck on something here?