Mesh Networks

How To Make (almost) Anything
MAS.863/4.140/6.9020

The Computer Chronicles, “The Internet” (1993)

How to Network (almost) Anything

aprs winlink arrl aredn IP over Avian Carriers (RFC 1149) barbed wire telephone meshtastic Reticulum meshcore bitchat B.A.T.M.A.N. lorawan Internet 0 the beacons of Gondor
  • Physical (PHY) layer radio modulation technique that allows for very low power, long range communications
  • Uses Chirp Spread Spectrum (CSS) modulation
  • Designed to work in license-free RF bands: 915 MHz (Americas), 868 MHz (Europe), 433 MHz, 920–923 MHz (Asia), 865 MHz (India), 470 MHz (China), 2.4 GHz (worldwide)
  • Data rates between 0.3 kbps and 27kbps
Chirp spread spectrum: up-chirp and down-chirp waveforms and a spectrogram with up-chirp and down-chirp callouts
Spreading factor sets the sweep time: SF7 to SF12 chirps, each twice as long as the one before
Coding rate: 4 data bits plus 1 to 4 error-correction bits for CR 4/5 to 4/8
Table of LoRa bit rate for SF7 to SF12 at 125, 250 and 500 kHz bandwidth, with minimum SNR Arrows: SF7 high bit rate, less reliable; SF12 low bit rate, more reliable
Spectrogram of a real LoRa packet with preamble, sync, down-chirps and data labelled

LoRa hardware: modules

nameradio chipprocessoradditional featuresdocumentation
Seeed Wio-SX1262Seeed Wio-SX1262Semtech SX1262none, needs an SPI host—docs ↗
Seeed Wio-WM1110Seeed Wio-WM1110Semtech LR1110nRF52840BLE; GNSS + Wi-Fi scanning for locationdocs ↗
Seeed Wio-LR2021Seeed Wio-LR2021Semtech LR2021none, needs an SPI host2.4 GHz band; FLRC high-speed modedocs ↗
RAK4630RAK4630Semtech SX1262nRF52840BLEdocs ↗
Seeed Wio-S3Seeed Wio-S3Semtech SX1262ESP32-S3Wi-Fi, BLEdocs ↗
Heltec HT-CT62Heltec HT-CT62Semtech SX1262ESP32-C3Wi-Fi, BLEdocs ↗

LoRa hardware: dev boards

namemoduleradio chipprocessoradditional featuresdocumentation
RAK WisBlock RAK4631RAK WisBlock RAK4631RAK4630Semtech SX1262nRF52840BLE; modular sensor and GPS add-onsdocs ↗
Heltec Mesh Node T114Heltec Mesh Node T114noneSemtech SX1262nRF52840BLE; optional color screen; solar/battery inputdocs ↗
Seeed XIAO nRF52840 + Wio-SX1262 kitSeeed XIAO nRF52840 + Wio-SX1262 kitWio-SX1262Semtech SX1262nRF52840BLE; XIAO form factordocs ↗
Muzi Works Base DuoMuzi Works Base DuoElecrow LR1121 moduleSemtech LR1121nRF52840BLE; dual-band sub-GHz + 2.4 GHz; solar/battery inputdocs ↗
Heltec WiFi LoRa 32 V3Heltec WiFi LoRa 32 V3noneSemtech SX1262ESP32-S3Wi-Fi, BLE; OLED screen; battery chargingdocs ↗
Heltec WiFi LoRa 32 V4Heltec WiFi LoRa 32 V4noneSemtech SX1262 + power amplifierESP32-S3Wi-Fi, BLE; OLED screen; up to 28 dBm; solar input; GNSS connectordocs ↗
Seeed XIAO ESP32S3 + Wio-SX1262 kitSeeed XIAO ESP32S3 + Wio-SX1262 kitWio-SX1262Semtech SX1262ESP32-S3Wi-Fi, BLE; XIAO form factordocs ↗
LilyGO T-Beam SupremeLilyGO T-Beam SupremeLilyGO radio moduleSemtech SX1262ESP32-S3Wi-Fi, BLE; GPS; OLED; 18650 battery holderdocs ↗

LoRa hardware: ready-to-use devices

nametyperadio chipprocessoradditional featuresdocumentation
Seeed SenseCAP T1000-ESeeed SenseCAP T1000-Ephone companionSemtech LR1110nRF52840BLE; credit-card size; GPS; waterproofdocs ↗
Seeed SenseCAP Solar Node P1-ProSeeed SenseCAP Solar Node P1-Prooutdoor solar repeaterSemtech SX1262nRF52840BLE; solar panel; four 18650 batteries; GPS; Grove sensor port; weatherproofdocs ↗
RAK WisMesh Repeater Mini V2RAK WisMesh Repeater Mini V2outdoor solar repeaterSemtech SX1262nRF52840BLE; built-in solar panel and battery; 1 W version; optional GPS; weatherproofdocs ↗
LilyGO T-EchoLilyGO T-Echophone companionSemtech SX1262nRF52840BLE; e-paper screen; GPS; NFCdocs ↗
RAK WisMesh Pocket V3RAK WisMesh Pocket V3phone companionSemtech SX1262nRF52840BLE; OLED screen; GPS; 3200 mAh battery; waterproofdocs ↗
Heltec MeshPocket V2Heltec MeshPocket V2phone companionSemtech SX1262nRF52840BLE; color screen; GPS; Qi2 magnetic power bankdocs ↗
Seeed Wio Tracker L1Seeed Wio Tracker L1phone companionSemtech SX1262nRF52840BLE; OLED screen; GPS; joystickdocs ↗
LilyGO T-Deck PlusLilyGO T-Deck Plusstandalone handheldSemtech SX1262ESP32-S3Wi-Fi, BLE; color screen; keyboard; GPSdocs ↗
LilyGO T-LoRa PagerLilyGO T-LoRa Pagerstandalone handheldSemtech SX1262 or LR1121ESP32-S3Wi-Fi, BLE; screen; keyboard; GPS; NFCdocs ↗
  • Open-source (GPLv3) firmware and apps that use LoRa radios to create an off-grid text-messaging and sensors mesh
  • Uses managed flood routing
  • Radios relay to each other, phone/computer pairs to radio over Bluetooth to send and receive messages.
  • Encrypted channels, plus optional GPS position sharing and sensor telemetry
  • Stock firmware supports a variety of I2C sensors

How to connect

Node Map

meshtastic.liamcottle.net · Meshtastic nodes heard on MQTT

Pros

  • Strong enthusiast community
  • Completely open source
  • No license, no accounts, no internet required
  • Built-in GPS positions, telemetry and MQTT integration

Cons

  • Low-bandwidth text and sensor payloads only
  • Flood routing doesn't scale well (although properly configured node roles help with this) See more
  • Bridging over Internet requires third party servers and software
  • Hop limit of 7 restricts how far a message can travel
  • Busy channels congest quickly

Resources

  • Open-source (MIT) firmware for multi-hop LoRa text messaging, with closed-source official apps
  • Fixed node roles: companions, repeaters, room servers and sensors
  • The first message floods to find a path; later messages travel directly along it
  • Phone/computer pairs to a companion radio over Bluetooth, USB or Wi-Fi

Node roles

CompanionPersonal radio for a human network participant. Does not repeat messages
RepeaterFixed, up high, often solar. The only role that relays: forwards along known paths, and floods only as far as its owner allows.
Room serverA mesh bulletin board: caches posts and gives recent messages to users when they connect
SensorTransmits sensor data to the network

How to connect

  • Download the MeshCore app for your device
  • Decide on a node role: companion for yourself, or repeater to extend the mesh
  • Use the web flasher to put that role's firmware on your LoRa radio
  • Configure app settings and connect to your LoRa radio
  • Join the party!

Node Map

map.meshcore.io

Pros

  • Scales better than flooding: direct messages follow learned paths, and companions never repeat
  • Room servers keep message history for people who were offline
  • Repeater owners control how far floods travel, and can manage repeaters remotely over the radio
  • Active Boston community, with its own live packet map and analyzer

Cons

  • The official phone apps and the T-Deck firmware aren't open source, and some remote-management features are paid unlocks
  • Group channels still flood
  • Range depends on someone having deployed repeaters; companions alone don't extend it
  • No built-in MQTT, less sensor support than Meshtastic

Resources

  • Transport-layer-agnostic networking stack for building decentralized networks
  • No IP addresses: addresses and identities are public/private keypairs
  • Works over any link, several at once: LoRa, TCP/IP, Wi-Fi, packet radio, etc.
  • Min 5bps, max 500Mbps
  • Reticulum License: MIT-style, but bars use in systems designed to harm people and in AI training data

Important concepts

Reticulum InstanceA running copy of Reticulum on a device, also called a node. Programs that use Reticulum that are running on the same computer (usually) share the same Instance.
Transport nodeAn instance of Reticulum that forwards packets and announces for others
Interface modesSet per interface, they control how announces spread and how paths are found. See more
RNodeAn external modem connected as an interface to a Reticulum instance, usually LoRa, but some people are working on Wi-Fi HaLow...
LXMFMessaging protocol built on Reticulum, with store-and-forward capabilities
Nomad NetworkWeb-like pages, written in Micron
LXSTReal-time voice and signals

How to connect

Will be covered in the demo

Node Map

rmap.world map of Reticulum nodes

rmap.world

Pros

  • Runs over almost any medium, such as LoRa, WiFi, Ethernet, TCP, packet radio, etc., and mixes them in one network
  • Routing uses announces and learned paths rather than flooding
  • Supports a variety of applications such as messaging, picture sharing, voice chat, sensor telemetry
  • Bridging over the internet is built in

Cons

  • Reference implementation needs a computer or phone that can run Python
  • Embedded ports exist but aren't quiiiite ready for primetime
  • Smaller community
  • More setup: you edit a config file by hand to add interfaces

Resources

The Computer Chronicles, “The Internet” (1993)

Demo

Get Nomadnet

1. Install Nomad Network

pip install nomadnet

or

pipx install nomadnet

2. Run it

nomadnet

Or use package/venv manager of your choice, I like uv

Add FHK Kendall Interface

1. Open the Reticulum config file

macOS: ~/.reticulum/config
Windows: %USERPROFILE%\.reticulum\config

2. Scroll to the [interfaces] section

3. Add this interface

  [[Fab Hub Kendall]]
    type = TCPClientInterface
    enabled = yes
    target_host = 38.42.111.140
    target_port = 4242

4. Restart nomadnet

Try Getting Some Pages

Fab Hub Kendall

2067a29deba99a98d6ef7ecab720f9dc:/page/index.mu

Big Apple Weather Report (David's house)

eee09dad45bc4c824f49eca19ab8df52:/page/index.mu

rns.recipes (Outside)

9ce92808be498e9e05590ff27cbfdfe4:/page/index.mu

CICADA Forums (Outside)

c1c4d4deec691ad364853ff6c06879ff:/page/index.mu

Reticulum Developer Summit (Outside)

46d5f1cb0100490db4b7411848462b8f:/page/index.mu

Suggested Projects

  • Connect to the local Meshtastic and MeshCore communities and see who's out there
  • Set up a sensor on MQTT on Meshtastic
  • Make your own nomadnet page
  • Add some LoRa RNodes to your computers using the web flasher and access nomadnet pages remotely/chat amongst yourselves
  • Implement an Internet Zero interface for Reticulum

Fab Hub Kendall

Interface

  [[Fab Hub Kendall]]
    type = TCPClientInterface
    enabled = yes
    target_host = 38.42.111.140
    target_port = 4242

NomadNet page

2067a29deba99a98d6ef7ecab720f9dc:/page/index.mu

Propagation node

8826121103e591d04e525ab73731eca6

Sysop LXMF mailbox

3de6d33644e11b2329650b9e9148c3c4