DIY Solar Meshtastic Encrypted Comms Device (Part 1)
DIY Solar Meshtastic Encrypted Comms Device (Part 1)
I see a lot of use online of these LoRa devices from LillyGo called T-Beam’s for use with Meshtastic and I think they’re great for mobile setups like adding to your backpack while hiking or in a vehicle. For fixed location setups, I much prefer something else and that is what we’ll be discussing in this post. The device I’m talking about is the WisBlock from Rak Wireless. These are small modular boards and as such, they can do a large variety of things depending on what module you use on them. For the Meshtastic use-case, they have a LoRa module you can connect to the device and flash the Meshtastic firmware on. These also have a built-in solar charge controller which make them a great choice for remote fixed locations where there’s no power source available.
Follow along in these series of posts and accompanying videos to build your own! This first post will be an into into what Meshtastic is and the LoRa technology it uses.
What is Meshtastic?
Meshtastic is an open-source, long-range, and encrypted wireless communication system that uses LoRa (Long Range) radio devices to enable decentralized, peer-to-peer communication. Here are some key points about Meshtastic:
-
Mesh Networking: Meshtastic employs a mesh networking approach, where devices communicate with each other in a peer-to-peer fashion. This means that messages can hop through multiple devices in the network to reach their destination, extending the range of communication.
-
Long Range: One of the standout features of Meshtastic is its long-range communication capability by using LoRa radios. It uses LoRa radios that operate in the unlicensed ISM (Industrial, Scientific, and Medical) bands (typically in the 915 MHz range in the US or 433 MHz range in Europe), and uses a proprietary modulation called Chirp Spread Spectrum (CSS). CSS allows devices to communicate over extended distances by being able to detect signals well beneath the noise floor, often several miles or more, even in challenging terrain.
-
Low Power: The LoRa devices used by Meshtastic are energy-efficient, making it suitable for battery-powered devices like hiking radios, outdoor tracking devices, or in our case, a fixed off-grid solar powered device. Devices can operate for extended periods on a single set of batteries. In our testing of the WisBlock LoRa devices, we get just under two weeks on a single 18650 battery.
-
Open Source: Meshtastic is an open-source project, which means that its source code and designs are freely available for anyone to view, modify, and contribute to.
-
User-Friendly: The project also provides user-friendly software and smartphone apps that make it easy for individuals to set up and use Meshtastic devices. These apps allow users to send messages, share GPS coordinates, and more.
-
Use-Cases: Meshtastic has a wide range of potential applications, including outdoor adventures, emergency communication, remote monitoring, encrypted communications, and mesh networking experimentation. It has gained popularity among hikers, campers, and outdoor enthusiasts as a means to stay connected off the grid.
More info on LoRa:
As mentioned earlier, LoRa, which stands for Long Range, is a proprietary radio technology that uses Chirp Spread Spectrum. It’s ideal for systems with low power consumption that do not need high data rates. Due to the bandwidth limits of LoRa, you will typically only see text based communications from these systems so sending things like images isn’t feasible using this technology. Where LoRa and CSS make up for this is in its ability to detect signals well beneath the noise floor, thus making it able to communicate further than other radio technologies.
A look at a LoRa signal
In the screenshot below, we can see a view of a LoRa signal captured using an SDR and a program called SDR Console. Looking at the waterfall, we can clearly see the Chirps from the Chirp Spread Spectrum pulses used by LoRa. CSS uses a series of up-chirps as a preamble to let the receiving radios know there’s an incoming message. This will be followed by two down-chirps for syncing and then a series of different broken up-chirps that represent specific symbols for the sending of data.
In this next image, we’ll take a zoomed in view into the chirps and highlight the different sections of the signal to show an example of the preamble, sync, and data portions of the signal.
Why Meshtastic?
There are a number of uses for Meshtastic, but here are some key reasons why one might choose to use Meshtastic for off-grid and emergency communications:
-
Encrypted Communications: Meshtastic offers AES 256 encryption, which is the same level of encryption used in high-cost encrypted Motorola radios. Meshtastic provides encryption at a much lower cost of entry since Motorola radios often come with a hefty price tag, and additional costs are incurred for encryption key loaders. Meshtastic offers a cost-effective alternative for achieving the same level of privacy as long as voice communications aren’t necessary due to these being text only.
-
Ease of Use and License-Free Operation: The LoRa bands that Meshtastic uses are license-free. Unlike ham radios, which require a license to operate legally, Meshtastic can be used without the need for a license. This makes it accessible to individuals who may not want to go through the process of obtaining a ham radio license. Additionally, the Meshtastic app is user-friendly and familiar to anyone who uses a smartphone, requiring minimal learning curve.
-
Low Maintenance and Solar Power: Meshtastic devices are designed to be low-maintenance and can operate for extended periods as long as they receive adequate sunlight to power their solar panels. This “set it and forget it” characteristic makes Meshtastic suitable for off-grid scenarios where regular maintenance or power sources may be limited.
In summary, Meshtastic offers a cost-effective, user-friendly, and encrypted communication solution for off-grid and emergency scenarios. It doesn’t require users to obtain licenses, and its compatibility with smartphones makes it accessible to a wide range of individuals. Additionally, its low-maintenance design and reliance on solar power contribute to its suitability for extended off-grid use.
In the next post we will get into the parts needed and start to build your own encrypted solar powered device for use with Meshtastic.