796  Network Access and Physical Layer Protocols

NoteLearning Objectives

By the end of this section, you will be able to:

  • Understand the role of network access and physical layer protocols in IoT
  • Compare and contrast wired (Ethernet) and wireless (Wi-Fi, Zigbee, LoRa, Cellular) protocols
  • Map IoT protocols to network classifications (PAN, LAN, WAN)
  • Evaluate protocol selection based on bandwidth and coverage requirements
  • Understand the evolution of cellular protocols for IoT (2G to 5G)
  • Select appropriate protocols for different IoT deployment scenarios

796.1 Prerequisites

Before diving into this chapter, you should be familiar with:

  • Networking Basics: Understanding fundamental networking concepts including the OSI model, protocol layers, and basic data transmission principles is essential for grasping network access layer functions
  • Basic Electronics: Familiarity with radio frequencies, signal transmission, and electromagnetic spectrum helps you understand physical layer wireless technologies
  • Communication Fundamentals: Knowledge of concepts like bandwidth, data rates, modulation, and error correction provides foundation for comparing different physical layer protocols

Network access and physical layers are like the roads and vehicles that carry messages between friends who live far apart!

796.1.1 The Sensor Squad Adventure: The Great Message Relay Race

Sammy the Sensor had exciting news to share with his friend Max the Microcontroller, who lived all the way across Sensor City. But there was a problem - Sammy couldn’t just shout loud enough for Max to hear!

“I need to send my temperature reading to Max,” Sammy said. “But he’s SO far away!”

Lila the LED had an idea. “We need a MESSENGER! Like how people used to send letters on horseback!”

Just then, they met three different messengers, each with their own special transportation:

Ethel the Ethernet Cable said, “I travel on WIRES! I’m super fast and reliable, but I can only go where my cables are laid - like a train on tracks!”

Wally the Wi-Fi Wave said, “I fly through the AIR as invisible radio waves! I can reach anywhere in this room, but walls slow me down and I get tired after about 100 meters.”

Lori the LoRa Signal said, “I travel through the air too, but I use SPECIAL radio waves that can go REALLY far - even 10 kilometers! But I can only carry small messages, like postcards instead of packages.”

Sammy thought carefully. His temperature reading was just a small number, Max was on the other side of the city, and there were no wires between them.

“Lori the LoRa, you’re perfect for this job!” Sammy cheered.

The Sensor Squad learned that just like choosing between walking, biking, driving, or flying for a trip, IoT devices must choose the RIGHT way to send their messages based on how far, how fast, and how much data needs to travel!

796.1.2 Key Words for Kids

Word What It Means
Physical Layer The actual “roads” that carry messages - wires, radio waves, or light beams
Wi-Fi Invisible radio waves that let devices talk to each other through the air (short range)
Ethernet Super-fast messages that travel through special cables (like telephone wires for computers)
LoRa Special radio waves that can travel REALLY far but carry small messages
Bandwidth How much “stuff” you can send at once - like a skinny pipe vs. a fat pipe for water

When you hear “networking,” you might think of Wi-Fi or Ethernet cables. But underneath those familiar terms are two critical OSI layers: the Physical Layer (Layer 1) and the Data Link/Network Access Layer (Layer 2). These are the foundation of all network communication.

Physical Layer answers: “How do bits physically travel?” Through copper wires? Radio waves? Fiber optic light? It defines voltages, frequencies, and physical connectors.

Network Access Layer answers: “How do devices share the physical medium and address each other locally?” It handles MAC addresses, frame formatting, and media access control.

Term Simple Explanation
Physical Layer How bits physically travel—wires, radio waves, light pulses
Network Access Layer How devices share medium and address each other locally
Ethernet (802.3) Wired LAN protocol—reliable, high bandwidth, requires cables
Wi-Fi (802.11) Wireless LAN—high bandwidth, short range (50-100m indoors)
802.15.4 Low-power wireless—foundation for Zigbee, Thread
LoRa Long-range radio—kilometers of range on low power
Cellular Mobile networks—ubiquitous coverage, higher power and cost
TipMVU: Medium Access Control (MAC)

Core Concept: MAC protocols determine when devices can transmit on a shared medium - using methods like CSMA/CA (listen before talk) or TDMA (assigned time slots) to prevent collisions when multiple devices want to communicate simultaneously.

Why It Matters: In IoT networks with hundreds of sensors sharing one wireless channel, uncoordinated transmission causes collisions that waste energy and bandwidth. MAC efficiency directly impacts battery life and network capacity.

Key Takeaway: Choose CSMA/CA for low-traffic sporadic sensors (Wi-Fi, Zigbee), TDMA for deterministic industrial control (WirelessHART), and understand that MAC overhead can consume 20-50% of available airtime in dense IoT deployments.


796.2 Chapter Overview

The network access and physical layers form the foundation of IoT connectivity. These protocols define how devices physically connect to networks and how data is transmitted over communication media (wired or wireless).

%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#2C3E50', 'primaryTextColor': '#fff', 'primaryBorderColor': '#16A085', 'lineColor': '#E67E22', 'secondaryColor': '#16A085', 'tertiaryColor': '#E8F6F3', 'clusterBkg': '#E8F6F3', 'clusterBorder': '#16A085', 'fontSize': '13px'}}}%%
graph TB
    App["Application Layer<br/>(MQTT, CoAP, HTTP)"]
    Trans["Transport Layer<br/>(TCP, UDP)"]
    Net["Network Layer<br/>(IP, RPL)"]
    Access["Network Access Layer<br/>(MAC, LLC)"]
    Phys["Physical Layer<br/>(Radio, Wired)"]

    App --> Trans
    Trans --> Net
    Net --> Access
    Access --> Phys

    style App fill:#7F8C8D,stroke:#2C3E50,color:#fff
    style Trans fill:#7F8C8D,stroke:#2C3E50,color:#fff
    style Net fill:#7F8C8D,stroke:#2C3E50,color:#fff
    style Access fill:#E67E22,stroke:#2C3E50,color:#fff,stroke-width:3px
    style Phys fill:#2C3E50,stroke:#16A085,color:#fff,stroke-width:3px

Figure 796.1: Network protocol stack highlighting Network Access and Physical layers

This section is divided into four focused chapters covering all aspects of network access and physical layer protocols:

796.3 Chapter Navigation

796.3.1 Wired Network Access: Ethernet for IoT

Explore IEEE 802.3 Ethernet standards for IoT deployments. Learn about 10/100/1000BASE-T speeds, Power over Ethernet (PoE), and when wired connectivity is the best choice for reliability and performance.

Topics covered: - Ethernet standards (10BASE-T, 100BASE-T, 1000BASE-T) - Power over Ethernet (PoE, PoE+, PoE++) - Use cases: IP cameras, industrial control, high-security applications - Worked examples comparing Ethernet vs wireless

796.3.2 Wireless Network Access: Wi-Fi for IoT

Understand IEEE 802.11 Wi-Fi evolution and IoT-specific standards. Compare Wi-Fi 4/5/6 and learn about Wi-Fi HaLow (802.11ah) for long-range IoT and Wi-Fi 6 (802.11ax) for dense deployments.

Topics covered: - Wi-Fi protocol evolution (802.11 b/g/n/ac/ax) - IoT-specific: Wi-Fi HaLow (1km range) and Wi-Fi 6 (OFDMA, TWT) - Frequency band trade-offs (2.4 GHz vs 5 GHz) - Hands-on lab: ESP32 Wi-Fi scanning

796.3.3 Low-Power Networks: 802.15.4, LPWAN, and Cellular

Deep dive into low-power wireless technologies. Cover IEEE 802.15.4 (Zigbee, Thread), LPWAN (LoRaWAN, Sigfox, NB-IoT), and cellular IoT evolution from 2G to 5G.

Topics covered: - IEEE 802.15.4 and protocols (Zigbee, Thread, WirelessHART) - LPWAN comparison: LoRaWAN vs Sigfox vs NB-IoT vs LTE-M - Cellular evolution: 2G GSM to 5G (mMTC, URLLC, eMBB) - Licensed vs unlicensed spectrum trade-offs

796.3.4 Network Classification: PAN, LAN, and WAN

Understand how IoT protocols map to traditional network classifications. Learn about bandwidth-coverage trade-offs and practical deployment topologies.

Topics covered: - PAN: Bluetooth, Zigbee, Thread, Z-Wave - LAN: Wi-Fi, Ethernet, Wi-Fi HaLow - WAN: LoRaWAN, Cellular, Satellite - Bandwidth vs coverage quadrant analysis - Common IoT networking terminology


Layered Models: - Layered Network Models - OSI/TCP-IP layer framework - Layered Models Labs - MAC addressing and ARP - Network Mechanisms - How networks operate

Wireless Protocols: - Wi-Fi Fundamentals - 802.11 wireless LANs - Bluetooth Overview - Bluetooth/BLE for IoT - Zigbee Architecture - 802.15.4-based mesh networks - LoRaWAN Overview - Long-range low-power WAN

Wired Protocols: - Wired Communication - UART, I2C, SPI for device interconnection

Protocol Comparison: - LPWAN Comparison - LoRaWAN vs Sigfox vs NB-IoT - IoT Protocols Overview - Application layer protocols

Learning: - Simulations Hub - Network simulators and protocol analyzers

796.4 What’s Next?

Start with Wired Network Access: Ethernet for IoT to understand when and why wired connectivity remains essential for IoT, then progress through wireless technologies to build a complete understanding of network access options.