1098 LoRaWAN Architecture
1098.1 Overview
LoRaWAN (Long Range Wide Area Network) is a low-power, wide-area networking protocol designed for IoT applications that require long-range communication with minimal power consumption. This section provides comprehensive coverage of LoRaWAN architecture across four focused chapters.
The Problem: Physics works against us when designing LPWAN systems. Long range needs high power, but high power drains batteries quickly.
The Solution: LoRaWAN achieves 10-15 km range with 10+ year battery life through:
- Chirp spread spectrum modulation with adaptive data rates
- Star-of-stars topology where simple end devices offload complexity to the network server
- Dual-layer encryption ensuring end-to-end security
Explore the chapters below to understand how LoRaWAN achieves this balance.
1098.2 Architecture Chapters
1098.2.1 1. Network Topology and Components
Learn the fundamentals of LoRaWAN’s star-of-stars architecture:
- Network Components: End devices, gateways, network servers, and application servers
- Star-of-Stars Topology: How it differs from mesh and cellular networks
- Gateway Behavior: Transparent bridging and message forwarding
- Network Server Functions: Deduplication, ADR, security, and routing
1098.2.2 2. Device Classes
Understand the three device classes and their trade-offs:
- Class A: Lowest power, device-initiated communication (ideal for sensors)
- Class B: Scheduled receive windows via beacons (for actuators with latency tolerance)
- Class C: Continuous reception (for mains-powered devices needing instant response)
- Selection Guide: Flowchart for choosing the right class
1098.2.3 3. Security and Joining
Explore LoRaWAN’s dual-layer security model:
- NwkSKey and AppSKey: Network vs application encryption
- OTAA vs ABP: Over-the-Air vs pre-provisioned activation
- Security Trade-offs: When to use each activation method
- Common Pitfalls: Frame counter issues, key provisioning errors
1098.2.4 4. Link Budget and ADR
Master range calculations and network optimization:
- Link Budget Calculator: Interactive tool for range estimation
- Spreading Factor: How SF affects range, data rate, and airtime
- ADR Algorithm: How the network optimizes per-device settings
- Worked Examples: Duty cycle compliance, gateway capacity planning
- Interactive Lab: Wokwi-based LoRaWAN simulation
1098.3 Quick Reference
| Topic | Key Concepts | Chapter |
|---|---|---|
| Network structure | Star-of-stars, gateways, deduplication | Topology |
| Power optimization | Class A/B/C, RX windows, battery life | Device Classes |
| Encryption & keys | NwkSKey, AppSKey, OTAA, ABP | Security |
| Range & capacity | Link budget, SF, ADR, duty cycle | Link Budget |
1098.4 Learning Path
- Start with Network Topology to understand the overall architecture
- Then Device Classes to learn communication patterns
- Follow with Security for encryption and joining
- Complete with Link Budget and ADR for practical deployment planning
1098.6 Visual Reference Gallery
These visual references provide alternative perspectives on LoRaWAN architecture concepts.
Start with LoRaWAN Network Topology to begin learning about LoRaWAN architecture, or continue to LoRaWAN Topic Review for focused topic summaries.