Skip to main content
Back to blog

Meshtastic: building an off-grid communication network

·7 min readOutdoor Tech

Last summer I was hiking in the Alps with a group of friends. We split up to explore different trails and planned to meet at a summit. No cell service. No way to communicate if plans changed. We ended up waiting at the wrong spot for 45 minutes because one person took a different route.

That experience is what led me to Meshtastic. It is an open-source project that turns inexpensive LoRa radio hardware into a mesh communication network. No cell towers, no internet, no subscriptions. Just small devices that talk to each other over radio.

What Meshtastic does

Meshtastic creates a mesh network where every device acts as both a sender and a relay. When you send a message, it hops from device to device until it reaches the recipient. If two people are too far apart to communicate directly, other devices in the mesh bridge the gap.

Each device has a LoRa radio for long-range communication (several kilometers per hop) and connects to your phone via Bluetooth. You type messages in the Meshtastic app on your phone, the app sends them to your LoRa device over Bluetooth, and the device transmits them over the mesh network.

The practical result: you can send text messages, GPS locations, and telemetry data to other people in your group over distances of 5-15+ kilometers per hop, with the mesh extending that range further for every device in the network.

The hardware

You need a LoRa-capable board. The most popular options:

LILYGO T-Beam ($25-35): The go-to Meshtastic device. It has an ESP32 processor, LoRa radio, GPS, and a battery holder (takes a standard 18650 lithium cell). Compact enough to clip to a backpack. Battery life is 2-4 days depending on settings.

Heltec V3 ($15-20): Cheaper, has a small OLED screen but no GPS. Good for a base station at home or camp where you do not need location tracking. Add an external GPS module if needed.

RAK WisBlock ($30-50): Modular system that lets you pick exactly the features you want. The most flexible option but requires assembling the modules.

Station G2 ($50-70): A premium option with a larger screen, better antenna connector, and more polished build quality. Good if you want something that feels like a finished product rather than a development board.

I run T-Beams for portable use and a Heltec V3 as a base station at home.

Flashing and setup

Setting up a device takes about 10 minutes:

  1. Flash the firmware. The Meshtastic web flasher at flasher.meshtastic.org handles this. Connect your device via USB, select it, pick the firmware version, and flash. No command line needed.

  2. Install the app. Meshtastic is available on iOS and Android. There is also a web client and a Python CLI.

  3. Pair via Bluetooth. Open the app, it discovers nearby devices, pair with yours.

  4. Configure the basics. Set your name, choose a region (this sets the correct frequency for your country), and optionally set a channel encryption key if you want private communication.

That is it. The device starts listening for other Meshtastic nodes immediately.

Channels

Meshtastic supports multiple channels. The default channel (LongFast) is unencrypted and shared by all Meshtastic users in range. This is useful for discovering other users nearby.

For group communication, create a private channel with a shared encryption key:

  1. In the app, go to Channels
  2. Create a new channel with a name (e.g., "hiking-group")
  3. Set a PSK (pre-shared key) or generate one
  4. Share the channel settings with your group via QR code

Now only devices with that key can read messages on the channel.

Range and mesh behavior

A single hop between two devices covers 5-15 kilometers in open terrain with good line of sight. In forests or urban areas, expect 1-5 kilometers.

The mesh is where it gets interesting. If Alice and Charlie are 20 kilometers apart but Bob is between them with his device, Bob's device automatically relays messages between Alice and Charlie. Bob does not need to do anything. The mesh routing is automatic.

Every device can relay up to 3 hops by default (configurable). With a network of devices, the effective range multiplies with each relay node. In areas with active Meshtastic communities, you can sometimes reach devices tens of kilometers away through multiple hops.

What you can send

Text messages. Short messages (up to 237 bytes) to individuals or channels. Not SMS-length novels, but plenty for coordination.

GPS positions. Each device with GPS periodically broadcasts its location. You see everyone in your group on a map in the app. This is the killer feature for hiking and outdoor activities.

Telemetry. Battery level, signal strength, and optionally environmental data (temperature, humidity, barometric pressure) if you attach sensors.

Waypoints. Drop a pin on the map and share it with the group. "Meet here" or "Water source" or "Trail is washed out ahead."

Real-world use cases

Hiking and backpacking. The original use case and still the strongest. Group coordination without cell service. Share locations, send messages when you split up, mark waypoints.

Events and festivals. Large outdoor events where cell networks are overloaded. Meshtastic works independently of cellular infrastructure. Some festivals and outdoor events have started deploying Meshtastic nodes for attendee communication.

Emergency preparedness. When cell towers go down during storms, fires, or other disasters, Meshtastic keeps working. Some community groups deploy permanent relay nodes on rooftops and hilltops to ensure coverage during emergencies.

Homelab integration. Meshtastic has an MQTT bridge that can forward messages to your home network. I have mine set up to post messages to a channel when certain conditions are met, like when a device goes offline or when I arrive at a waypoint.

Community networks. Some areas have active Meshtastic communities with permanent solar-powered relay nodes on hilltops and buildings. These create city-wide mesh networks that anyone with a Meshtastic device can use.

Setting up a solar relay node

One of the coolest things you can do with Meshtastic is set up a permanent relay node that extends the network. A solar-powered node on a high point can dramatically improve mesh coverage for everyone nearby.

What you need:

  • A LoRa board (Heltec or T-Beam)
  • A small solar panel (6W is enough)
  • A solar charge controller
  • An 18650 battery (or small LiPo pack)
  • A weatherproof enclosure
  • An external antenna mounted as high as possible

Configure the device as a router (relay-only mode, no Bluetooth, minimal power usage) and it will happily relay messages for months on solar power alone. Some community nodes have been running for over a year without maintenance.

The community

The Meshtastic community is active and welcoming. The Discord server has thousands of members sharing range tests, hardware mods, antenna builds, and deployment stories. There is a map (meshmap.net) showing public Meshtastic nodes worldwide, which is useful for seeing if there is existing coverage in your area.

The project is open-source and moves fast. New firmware releases come regularly with improvements to mesh routing, power efficiency, and features.

My setup

I carry a T-Beam in my backpack on every hike. At home, I have a Heltec V3 connected to an external antenna on my roof acting as a relay node. The home node bridges the mesh to MQTT, which means I can receive Meshtastic messages on my phone even when I am connected to Wi-Fi at home.

For group hikes, I bring a few extra T-Beams for friends who do not have their own. Once they see their GPS position on the map and send their first message without cell service, they usually want their own device.

Getting started

Buy a LILYGO T-Beam (or two, since you need at least two devices to test). Flash the firmware, install the app, and walk around your neighborhood to see what kind of range you get. The whole process from unboxing to first message takes about 15 minutes.

The investment is minimal ($25-35 per device) and the capability is genuinely useful for anyone who spends time outdoors. It is one of those projects where the more people participate, the better it gets for everyone.

Sources

Enjoying the blog? Subscribe via RSS to get new posts in your reader.

Subscribe via RSS