Technology Overview
LoRa radio technology uses Chirp Spread Spectrum modulation to encode digital data into “chirps”. This scheme allows very weak digital radio signals to be successfully decoded well beyond the range of standard voice modulation techniques. The end result is that short text messages can be transmitted over very long distances using inexpensive low power devices.
Meshtastic and MeshCore are mesh networking protocols that extend LoRa to allow these text messages to hop from node to node to extend the range of the system well beyond that of a single radio link. Both protocols also provides a user-friendly cellphone app and other tools that make the system accessible and useful to the general public.
How to Extend the Range of Your Mesh
A common configuration is to have a solar or battery powered “base station” node located in a high location somewhere on your property (on the roof of a building, in a large tree, on a pole on a hill). Your personal companion radio would then relay packets through your own base station to other nodes on the network.
The key to long range with LoRa radios is to place the antenna as high as possible, in a vertical orientation, and away from metal objects like roof flashing.
You should ensure that your antenna is designed for the 915Mhz frequency band and is a high gain antenna design. The short stubby antennas that come with most radios are compromise antennas and should be replaced with a quality antenna if you need to improve your range.
Message Queue Telemetry Transport (MQTT)
MQTT is the defacto standard communications protocol for Internet of Things (IOT) and Industrial Internet of Things (IIOT) networks. Our project maintains a private MQTT server for the region to provide bridging between disparate RF networks. This server is also available for local IOT and IIOT projects.
Read more on the MQTT How-to Page
Vehicle Tracking Use Case
It is somewhat common to install GPS enabled mesh nodes in vehicles of various sorts for use as asset trackers. Most commercially available radios take a USB-C cable as a power source and have an on/off switch to disable the GPS tracking features. Once installed, you can view the location of the tracker on your cellphone app or the radio can be configured to forward position reports to the Internet where others can view the location though websites like https://meshmap.net
Sensor Data and IOT Projects
It is possible to buy or build mesh nodes that can broadcast data from various sensors to the network, or to monitor or control switches and relays as part of an IOT or IIOT network:
- Temperature/Humidity Sensors
- Lake Level/Temperature Sensors
- Barometric Pressure Sensors
- Nearby lightning strikes
- Wind speed/direction
- Environment Canada weather alerts
- Any sort of switch or logic state
- Motion or human presence sensors
- Gate and motor control
A publicly accessible channel has been allocated for weather forecast broadcasts.
Channels
The technology provides for up to 8 channels or chatrooms that can be encrypted for privacy to be used at any one time. You can create your own private channels for your camp, cottage, family, or business. Only people who have the pre-shared key for your channel will be able to access it. Other nodes on the mesh will then help forward your encrypted packets to their intended recipients provided they share the same radio settings (Longfast preset and US/Canada frequencies).
The three predefined public channels for the area are:
| Slot No. | Channel Name | Pre-shared key | Purpose |
|---|---|---|---|
| 1 | LongFast | AQ== | Default public channel |
| 2 | Weather | Ag== | Automated Weather Sensor Broadcasts |
| 3 | Testing | Aw== | Test messages and Range Tests |
These channels should remain in the designated slot numbers on your radio or the results may be unpredictable. This is particularly true for the Weather channel which must be in Channel slot 2 to work.
The rest of the channel slots are available for you to set up your own private channels.