Meshtastic Does More Than Simple Communication

Meshtastic has been experiencing a bit of a renaissance lately, as the off-grid, long-range radio text messaging protocol gains a ton of new users. It’s been used to create mesh networks in cities, during disasters and protests, in small groups while hiking or camping, and for search and rescue operations. Although it’s connected plenty of people together in all of these ways, [GreatScott!] wanted to put it to work connecting some computing resources instead. He has a garden shed that’s too far for WiFi, so Meshtastic was used to connect it instead.

This isn’t a project to bring broadband Internet out to the shed, though; Meshtastic is much too slow for that. All he really wanted to do here was to implement a basic alarm system that would let him know if someone had broken in. The actual alarm triggering mechanism is an LED emitter-detector pair installed in two bars, one of which sends a 12V signal out if the infrared beam from the other is broken. They’re connected to a Heltec ESP32 LoRa module which is set up to publish messages out on the Meshtastic communications channel. A second module is connected to the WiFi at the house which is communicates with his Home Assistant server.

Integrating Meshtastic devices into Home Assistant can be pretty straightforward thanks to the various integrations already available, but there is some configuration to get these specific modules working as an alarm. One of the pins on the remote module had to be set up to watch the light bar, and although sending the alarm message out when this triggered worked well, the received signal never passed through to Home Assistant until [GreatScott!] switched to using the RadioLib library an an MQTT integration instead. But with perhaps more configuration than he planned for out of the way, [GreatScott!]’s alarm is up and running. Meshtastic projects often balloon into more than we had originally planned though, in more ways than one. You can follow along as our own [Tom Nardi] attempts to connect all of New Jersey with this new protocol.

Continue reading “Meshtastic Does More Than Simple Communication”

A Long-Range Meshtastic Relay

In the past few years we’ve seen the rise of low-power mesh networking devices for everything from IoT devices, weather stations, and even off-grid communications networks. These radio modules are largely exempt from licensing requirements due to their low power and typically only operate within a very small area. But by borrowing some ideas from the licensed side of amateur radio, [Peter Fairlie] built this Meshtastic repeater which can greatly extend the range of his low-power system.

[Peter] is calling this a “long lines relay” after old AT&T microwave technology, but it is essentially two Heltec modules set up to operate as Meshtastic nodes, where one can operate as a receiver while the other re-transmits the received signal. Each is connected to a log-periodic antenna to greatly increase the range of the repeater along the direction of the antenna. These antennas are highly directional, but they allow [Peter] to connect to Meshtastic networks in the semi-distant city of Toronto which he otherwise wouldn’t be able to hear.

With the two modules connected to the antennas and enclosed in a weatherproof box, the system was mounted on a radio tower allowing a greatly increased range for these low-power devices. If you’re familiar with LoRa but not Meshtastic, it’s become somewhat popular lately for being a straightforward tool for setting up low-power networks for various tasks. [Jonathan Bennett] explored it in much more detail as an emergency communications mode after a tornado hit his home town.

Continue reading “A Long-Range Meshtastic Relay”