This project is maintained by valerio-vaccaro
Mesh Networks are a network architecture in which nodes (devices) are interconnected in a non-hierarchical manner, allowing each node to communicate directly with others without passing through a central point, such as a router or gateway. Each node can potentially act as both transmitter and receiver, and data can be forwarded through multiple paths to reach the destination.
This structure offers several advantages:
However, Mesh Networks also present some challenges:
Mesh Networks are used in wireless technologies such as Zigbee, Bluetooth Mesh, Thread, and, in some cases, proprietary protocols based on LoRa. One of the most relevant technologies for low-power, long-range networks is LoRaWAN, which adopts a different approach compared to traditional mesh topology.
LoRa (Long Range) is a spread spectrum modulation technology derived from the Chirp Spread Spectrum (CSS) technique, developed by Cycleo (acquired by Semtech in 2012).
LoRa represents the physical layer (PHY) of a wireless network, defining how data is modulated and transmitted on unlicensed frequency bands (e.g., 868 MHz in Europe, 915 MHz in North America, 433 MHz in some regions).
Its main characteristics are:
LoRaWAN (Long Range Wide Area Network) is a MAC (Media Access Control) layer protocol based on LoRa, developed by the LoRa Alliance, a non-profit association founded in 2015 with over 500 members, including Semtech, Cisco, IBM, and Orange.
LoRaWAN defines:
Unlike LoRa, which only handles signal modulation, LoRaWAN establishes how devices (end nodes) communicate with gateways and how these connect to network servers via backhaul connections (e.g., Ethernet, Wi-Fi, or cellular).
Unlike traditional Mesh Networks (e.g., Zigbee, Bluetooth), LoRaWAN uses a star topology, where end nodes communicate directly with gateways, which forward data to a central network server. Below is a detailed comparison:
Network Topology Mesh Networks: Nodes act as repeaters, forwarding data to extend coverage. This increases complexity and energy consumption. LoRaWAN: Star topology, with nodes transmitting directly to gateways. This eliminates repeater nodes, simplifying the network and reducing energy consumption.
Energy Consumption Mesh Networks: Repeater nodes consume more energy, reducing battery life. LoRaWAN: End devices transmit only when necessary (e.g., Class A with ALOHA), allowing battery life of up to 10-15 years.
Range and Coverage Mesh Networks: Range is extended via multi-hop, but each hop can introduce latency and reduce efficiency. LoRaWAN: Thanks to CSS modulation, it offers a range of up to 15 km (rural) or 2-5 km (urban) without repeater nodes.
Capacity and Scalability Mesh Networks: In dense networks, multi-hop can cause bottlenecks and reduce capacity. LoRaWAN: Supports millions of messages from thousands of devices, thanks to gateway redundancy and star topology.
Security Mesh Networks: Security depends on the protocol (e.g., Zigbee uses AES-128). Multi-hop forwarding can introduce vulnerabilities. LoRaWAN: End-to-end encryption with AES-128 session keys (Network Session Key and Application Session Key).
Complexity and Costs Mesh Networks: Managing forwarding paths increases complexity. Costs can grow with the addition of repeater nodes. LoRaWAN: Star topology is simpler. Gateways can be expensive, but sensors are cheap and unlicensed ISM bands reduce costs.
LoRa uses Chirp Spread Spectrum (CSS) modulation, which encodes data with frequency-varying sinusoidal signals, distributing the signal over a wider bandwidth to improve noise resistance. It offers high sensitivity (-110 dBm to -140 dBm), ideal for noisy environments.
Main parameters include:
LoRa is ideal for IoT applications with small data packets, such as environmental monitoring, smart metering, and precision agriculture.
LoRaWAN defines three device classes:
The LoRaWAN architecture includes:
Although LoRaWAN uses a star topology, it’s possible to implement a mesh network using LoRa modulation with an external protocol. In a LoRa mesh network, nodes act as repeaters to extend coverage, useful in areas without gateways.
However, this requires:
Example: LoRa modules (e.g., Semtech’s SX1276) with microcontrollers like ESP32 for private Mesh Networks.
Advantages of LoRaWAN
Limitations of LoRaWAN
Mesh Networks offer resilience and flexibility through multi-hop forwarding, but are complex and consume more energy. LoRaWAN, with its star topology and LoRa modulation, is ideal for low-power, long-range IoT applications, thanks to simplicity, scalability, and battery life of up to 15 years.
The choice between Mesh Networks and LoRaWAN depends on requirements: mesh for environments with closely spaced nodes, LoRaWAN for long-distance communications with minimal consumption. Although possible with LoRa, mesh is less common compared to LoRaWAN, which dominates due to its standardization and support from the LoRa Alliance.