Meshtastic: Open-source, off-grid, hiking, climbing, GPS mesh communicator
meshtastic.letstalkthis.com
meshtastic.letstalkthis.com
Fun fact--there is a completed WiFi standard for this frequency (802.11ah / WiFi HaLow), but as far as I know, there have never been any chipsets made for it.
It’s perfectly happy running on devices without gps, so it’d be a maybe nice to have but not a thing the project could rely on to meet regulatory frequency compliance.
For your motorcycle use case, keep in mind this is a small group of people mesh thing, not something where one device can expect to connect to unknown other people. The SPOT tracker is still the solution you want if you’re looking for safety/emergency contact.
What meshtastic might be useful for on motorcycles (and I’m considering building some of these) is a medium range mesh network between you and your riding group, with super simple super limited Comms UI. I’m thinking 3 or 4 different colour old school video game type buttons that you can mash wearing gloves, that light up a bright-enough rgb led to see in the sun, with 3 or 4 agreed meanings for the colours. “Pull over and check messages”, “Wait for me”, “I’ve crashed”, “Cops!” type messages, that can be sent/understood without needing to read a text message on a phone screen (but still having that text messaging available as well).
I'm curious why you say this. Can a network not support, say, 500 nodes? 5000?
Also, (for a smaller-group use case obviously), is voice over the network completely out of the question?
https://meshtastic.discourse.group/t/theoretical-mesh-stats/...
"I suspect up to about 30 nodes per channel would be fine, I bet the channel will be almost unusable once you reach 100 nodes."
As for voice - I think in default "very long range mode" the mesh bandwidth is down around 20 bytes per second. It's possible to get higher bandwidth at the expense of range, but it's really not what you're looking for if you want voice comms.
I suppose you could send voice very slowly at very high latency if you wanted to... but it would not be very efficient.
Ubiquiti's Rocket M900 and AFAR are also "wifi" over 900 MHz ISM band solutions as well, though I'm not sure what if any standards they use.
edit: looks like you can actually purchase a chip that uses 802.11ah: https://www.mouser.com/ProductDetail/Silex-Technology/SX-NEW...
along with a rpi compatible dev board: https://www.mouser.com/ProductDetail/Silex-Technology/SX-NEW...
There is so much crap (e.g. cordless phones) over the 900 MHz band that using this probably only makes sense in remote environments though.
There's no way 802.11ah will deliver 15Mbps, but if the standard is designed with that kind of data rate its gonna be a lot faster than what we were using (main reason is Wi-Fi is direct sequence spread spectrum while the XBees are frequency hopping, allowing a larger RF bandwidth). The one thing that is good about the XBees is they will support repeating messages for each other and they have a nice mesh functionality as opposed to Wi-Fi's client-AP model. Additionally, we were just using the small wire antenna on the XBee, which only outputs a fourth of the legal maximum power to begin with, limiting the range. The chipsets OP linked support the full 1 Watt output power.
As an aside, I also saw a serial modem using MURS that you could theoretically run a dialup program over. Also ridiculously expensive.
From a quick calculation (micro-production, 1 man operation, 50 units batch):
- Materials: considering the best supported module (T-Beam V1.1 w/ NEO-M8N /w SX1262) with an OLED screen, an upgrade to a decent GPS antenna (ceramic, 28mm^2), 3D printed case and 2 Panasonic 18650.
Materials cost: 48€/piece.
- Assembly: pipelining would probably be bottlenecked by display soldering (outsourcing the 3D printing). Batching soldering could bring that down to ~1 min/piece. Flashing/testing can be fully automated and parallelized with soldering. Final assembly should be an additional 30s/piece. Start up ~10min considering testing machine boot and soldering iron warm up.
Assembly time: 85 min/batch --> <2 min/unit
Assembly cost (50€/hour): 71 €/batch -> 1.42 €/unit
Shipping (EU): 10€
Support cost: can't estimate well, let's say 1€/unit
Defective cost (10%): 13€/unit (2 procuct units, 3 shippings)
Cost per unit: 73€
Retail price (40% margin): 102€
It's viable but pretty expensive (a lot more than 50$). For sure more expensive than a goTenna Mesh and offering less support.
I won't make money from it but it could be a good learning opportunity.
edit: formatting
I agree that it's a really cool project but I personally would not use it as a primary safety mechanism.
I've got a ham radio license and I see the same mistake with people who think a 5W VHF handheld or 10W HF radio will help them in dire straights. HF isn't reliable enough and all it takes is a little terrain to block VHF. You're also not guaranteed that there's even anyone on the other side of the radio if you really need help.
I would recommend a SPOT or inReach as a your primary safety device with this as a (neat) backup. All they need is a line of sight to the sky which is much easier to do than either LoRA, VHF or HF.
[edit]
If you want a good idea of the limits of LoRA Ars did a pretty good write-up a few years ago: https://arstechnica.com/gadgets/2019/10/lostik-usb-lora-radi... . You'll see that even in a few mile radius there's plenty of places where even a high-end LoRA device drops out because very few radios can go directly through terrain(if you're curious https://en.wikipedia.org/wiki/Through-the-earth_mine_communi... covers some aspects).
It is a really cool modulation for low power but it's still subject to the physics of radio propagation.
But projects like this excite me for future directions. Sometimes when we've been in areas with cell phone coverage (some wilderness in SoCal has coverage), we will be able to see tracks in SARTopo update live from teams in the field. It's really cool when it works!
I'm totally 100% on board with this as a secondary data/telemetry mechanism.
For all the open source software out there it's a tragedy that there's less of that culture in ham radio(which is one of the primary charters of the spectrum-carve out we have). Stuff like this and the M17 project give me hope that we might some day have something more than just the dumb AX25 packet radios(which are stuck in the 80s at 1200bps and zero FEC).
Isn't there some weird regulation about "non-decipherable" communication holding back usage of Ham bands?
The really annoying one is they put symbol rate into law instead of bandwidth so we'll never see above 9.6kpbs in the VHF bands(there was a petition a while back to repeal it but from what I recall a bunch of HF folks though it was going to cause chaos across the bands and I don't think it went anywhere).
What vvanders is talking about, and it's a massive point of frustration for me too, is that all of the layer 2 open standards that have actual use are ancient. Like, we're supposed to feel lucky that we whave ARQ. Ridiculous.
It's not really anything to do with encryption or indecipherability, but all about spectral efficiency, and most of that really comes down to coding. I can pop open fldigi and generate a 64QAM signal really easily, but actually coding the data to ship over that pipe starts getting into some pretty arcane territory.
Think about just how good a modern cellphone is - 100+ megabit connection in the palm of your hand, competing for spectrum with hundreds or thousands of other devices, with a handset power of less than 1 watt (usually). There's nothing inherently magical about it, it's just not something that there's a lot of FOSS work around.
I've been working on deep diving on this a lot lately, I really think there should be more open source libraries around coding, but I have a funny feeling anyone who gets good at this gets snatched up by someone in the 3GPP consortium.
With a strategically placed mesh network and some solar panels, you could potentially overcome a lot of the downsides of radio because you could target high areas, such as mountain peaks, to help bridge those obstructions.
I definitely don't disagree that the #1 safety device is a GPS/sat phone, but those are prohibitively expensive and most people don't have them. If we could get some solar powered radios along ridges, and a decent percentage of people carrying them, I think there could be a very comprehensive mesh network that would work for most needs. Bearspray is already pretty ubiquitous, I don't think it'd be that hard to get people to bring a $30 mesh radio with them as a routine thing.
Cell companies spend billions on this and even then you'll still have gaps outside of the metro areas, and they're using much more advanced modulations like CDMA and FDM/TDM with a central coordinator.
I've talked with a fair number of people who maintain commercial repeaters in mountain areas and those can be incredibly difficult(combination of hard access in winter, large temperature swings and theft of solar panels/batteries) so which it might be possible, my guess is the level of investment just doesn't pencil out for the usage.
I also think that there's still untapped potential for secondary services and the like so it wasn't my intention to dissuade anyone form picking one up and giving it a try.
I'm not a radio hardware expert and I'm not fully up on LoRa or the code of this project at all so I likely have no idea what I'm talking about. Was just wondering if someone else does?
https://www.backcountrychronicles.com/delorme-satellite-gps-...
I've carried SPOT/inReach/[Iridum/Globalstar phones] extensively in remote areas, and while they are nice to have for convenient communication, I experienced enough issues with each that I would never rely on them in a life-threatening situation.
I have quite a bit of experience with both, and wouldn't recommend either as a primary safety device. PLBs are far better.
SPOT is based on Globalstar, which leaves one without coverage in many areas. I also found it to be incredibly flaky even in areas of allegedly great coverage with a totally open sky.
inReach is vastly more reliable, and with global coverage, so if I was buying one for a (secondary) safety that would be the easy winner of the two. It also has the added benefit of bringing a convenience that PLBs don't, as one can grab weather updates and easily text others for information.
That said, it's not difficult to get into a situation where terrain makes quick satellite acquisition very difficult, and one could wait hours for a message to get out. PLBs are much more reliable in adverse situations (N-S slot canyons), have higher power output than satellite messengers, and are generally built to higher standards. They also don't require a monthly fee.
A legitimate PLB would give one more paths to a swift rescue, especially if SAR aircraft are already up and looking for you.
More info: https://www.backcountrychronicles.com/delorme-satellite-gps-...
But just as an inReach isn't a replacement for a PLB, neither is a PLB a replacement for an inReach. It's great to be able to communicate in emergency (and in many non-emergency) situations.
There is an old type of PLB and a new type. That was a problem for the old type, in principle. In practice, the search coordination centres got pretty good at triage. Going down Route 66 at 70 mph, unlikely to be a real emergency; halfway up Mt McKinley, scramble the chopper. Accidental activations are far more common than abusive ones.
The new type broadcasts its serial number, and everyone is required to register an emergency contact person when they buy their PLB. If the beacon is activated, the contact person gets a call from search and rescue, asking what the beacon user is up to.
Lots of people disappear from the forums when they realise they won’t be able to something like use this to stream YouTube to their off grid cabin...
The project (mostly) assumes one device per person. Each user carries a tBeam (or one of the other available boards) and Bluetooth connects it to an android phone. The devices mesh with each other, and the phone is used as the interface, with a map view and a messaging view.
Meshtastic automatically sends each nodes location (at a fairly low default update rate, but you can configure that).
There’s a “repeater node” functionality, so a node at base camp or on the highest local terrain can improve the connect ability of the mesh. There’s also a group of people on the forum experimenting with solar power solutions for these nodes, so there’s a fair bit of reported experimental data on solar panel size vs battery capacity vs device runtime (which is all trickier that almost everybody assumes before they’ve tried to do that in real life. “Specs” for solar panels, battery charging controllers, batteries, and even Meshtastic device power consumptions all have way way bigger error bars that most people expects...)
Most likely it would have more complex hardware (e.g. something like this: https://www.adafruit.com/product/4284)
What I do recall is it can "repeat" encrypted "channels" by just replaying the encrypted packets without having any keys to read them (I think there's some very minor metadata in the unencrypted part of the packets, perhaps just a hop count?)
Also note that "channels" in Meshtastic are not frequencies like in typical UHF terminology - but pre shared encryption keys. I _vaguely_ recall maybe they get used to seed freq hopping algorithms (but I might be misremembering that).
I think the big difference between "repeater nodes" and regular nodes is that the repeater settings shut down the GPS because its unnecessary power draw (on the assumption you know where you installed a repeater node), and participate in the mesh in a "hidden" way, so they don't show up as members you could communicate with.
It looks like it's text only? would it be possible to add a very filtered, low-bandwidth audio stream since the phone can do all the calculations?
I have no idea on the actual bandwidth of these devices, wikipedia says LoRa is 0.3-27 Kb/s and Opus should work decently at ~10Kb/s I think. So maybe?
Although audio would probably be half duplex and only point-to-point instead of mesh, but it still could be interesting
M17[1] has been making really big strides in this space and really excited to start seeing a proper open hardware/open source digital radio stack.
It sounds like that's just not happening?
I think the only feature we miss wrt disaster radio is dual radio support and full DSR.
This is an open source alternative to the popular GoTenna devices and if any HNers can point me to other options in this space I'd love to try them all out.
For example, there's a few ways to remediate that. My preferred is a reference Gnuradio flow that, with an SDR, allows for communication with their device network. Secondarily, open firmware would be good... but with open firmware still results in closed silicon (and not everyone has access to a fab!).
Closed source isn't always enough to run me away. Closed and closable interoperability does.
The “open source” project is a (platform.io) project that runs on the ESP32 (or a few other similar enough) microcontroller. It controls the LoRa (totally closed) firmware on the LoRa components (and GPS as well).
Even your Gnuradio setup has similar black box firmware underneath that it relies on (unless you’ve got to extraordinary lengths to ensure the machine it’s running in has no propitiatory firmware for things like disk/ssd controllers, USB controllers, battery management systems, etc. )
Plain old radio is terrible (there's always someone transmitting all the time without realizing, blocking communication for everyone else) and the ability to check each other's GPS position would be awesome to know if the whole party is still flying together.
There is a market for this, I'll help prototype it , someone start a company to track dogs and children (out playing, biking, skiing) :)
Edit:
https://www.amazon.com/Garmin-T5-GPS-Dog-Collar/dp/B00L3C5ED...
It's a bit of a pricey solution, and typical range is 4-5 miles I believe. Seems to be popular with people who use their dogs for hunting moose etc.
ps. Most dog trackers also do not work outside usa.
That page is pretty clear on mobile, a bit under $100 a year for the subscription.
If anyone had any success in dense areas I'd really appreciate any links to the hardware/antennas/firmware/software you used to get good results.
You don’t need anything that you probably couldn’t find in the back of your or a family members junk drawer...
I use it out in the mountains, with line of sight between hilltops, but pretty forested so it's having to punch through foliage. I did some unscientific testing around my house and did notice a lot less range, I'm suspecting there's a fair amount of noise from other things in the ISM bands in the city.
Meshtastic sounds like an open source alternative, but if you have to built your own device I don't see it growing beyond serious DIY.