News for hackers. Stuff that matters.
Re:We're making an open-source $30 GPS/mesh radio, would lik... by punkgeek on Tuesday March 10, 2020 @05:45PM (#22540077)
Hi ya'll, so we've spent a few weeks making device software and an android app to convert a $30 chinese gps/radio into a long range mesh radio for hikers. It is working fairly well now (though still an alpha) and we'd love more people to try it and/or have fun coding on it.

We got about 30 users (and some devs from this hackaday article) but we'd love more users and devs to join this happy-happy project:

https://hackaday.com/2020/02/26/lora-mesh-network-with-off-t...

I'm happy to respond to any questions or comments...

Re:We're making an open-source $30 GPS/mesh radio, would lik... by jkoberg on Tuesday March 10, 2020 @06:37PM (#22540617)
What frequency band are you using? ISM is the only one that permits store-and-forward / automatic operation, as the gotenna people found.

You say a few miles per node - I am having trouble seeing how that's possible without elevating all the nodes

Re:We're making an open-source $30 GPS/mesh radio, would lik... by punkgeek on Tuesday March 10, 2020 @07:34PM (#22541194)
Oh yes, line of sight makes a big difference (also working as mesh helps for forwarding packets). Also we use a very high spreading factor so the bit rate becomes super low (with lots of chirps)
Re:We're making an open-source $30 GPS/mesh radio, would lik... by superkuh on Tuesday March 10, 2020 @06:44PM (#22540679)
He's gotta be assuming the nodes have clear line of sight and fresnel zone. The maximum distance for the link budget in a perfect situation. In practice it probably cuts off at the nearest rise in the ground or depression.

But they're still cool and I still want some for non-hiking applications. With the very low power idle and low cost they could be set up with solar panels in the tops of trees or in similar high height above terrain positions.

Re:We're making an open-source $30 GPS/mesh radio, would lik... by generatorguy on Tuesday March 10, 2020 @07:05PM (#22540916)
915 MHz goes a lot farther than 2.4 GHz.

At very low bit rates you need very little SNR.

There is probably very low noise out in hiking environments.

Yes, attenuation due to terrain is going to be a killer, but my experience with non line of sight 900 MHz links blasting through trees leads me to believe it would be workable for low bit rate data between a series of hikers along the same trail.

It is sending only location and text messages so intermittent link status or re-tries due to temporarily terrain/foliage obstructions will not cause degradation in service that you would experience trying to watch netflix over this mesh.

Re:We're making an open-source $30 GPS/mesh radio, would lik... by superkuh on Tuesday March 10, 2020 @07:11PM (#22540969)
You're wrong. It's a mistake to treat terrain and foliage as the same thing. I have extensive experience with 3 completely different, narrowband and wideband, 902-928 MHz radio data systems as well as just playing around in the range with my software defined radios (hackrf, rtlsdr, etc).

902-928 has almost no advantage over 2.4 GHz when it comes to line of sight issues with terrain. In fact, it's more problematic due to the increased size of the fresnel zone. Sure, it does better through trees but a slight rise of ground is just as much of a problem for 915 and 2400. The freq here isn't helping much. It's the chirp and LORA modulation helping the link budget. But no line of sight is no line of sight.

Re:We're making an open-source $30 GPS/mesh radio, would lik... by generatorguy on Tuesday March 10, 2020 @07:35PM (#22541205)
It sounds like you agree 900 MHz will be much better than 2.4 GHz in this non line of sight application so long as the obstructions are trees and foliage and not terrain.

I would expect to be able to send a few bytes between two stations maybe 400m apart through non-line of sight forest with 900 MHz and both stations at the same elevation. Certainly the grandparent quoting miles would be for mountain top to mountain top.

Re:We're making an open-source $30 GPS/mesh radio, would lik... by madengr on Tuesday March 10, 2020 @08:00PM (#22541426)
This is all assuming they use antennas that are optimized for the application. If they use a “chip” antenna, performance will suck.
Re:We're making an open-source $30 GPS/mesh radio, would lik... by generatorguy on Tuesday March 10, 2020 @08:27PM (#22541604)
the video on their web page shows an external antenna, looks like a dipole.
Re:We're making an open-source $30 GPS/mesh radio, would lik... by bigiain on Tuesday March 10, 2020 @07:38PM (#22541236)
This stack overflow question has some nice pictures of the LoRa "chirps". They use rising/falling frequency modulation to allow operation at startlingly low signal to noise ratios.

(Also, the hardware they're using is fairly generic, and pretty much all the vendors selling them offer them in 915/920MHz and also 868MHz and 433MHz variants. I've seen claims of over 10km range with 433MHz LoRa gear without special antennas or clear line-of-sight...)

Re:We're making an open-source $30 GPS/mesh radio, would lik... by bigiain on Tuesday March 10, 2020 @10:57PM (#22542532)
Just noticed I'd left out the link to the SO question I mentioned (and it's too long ago to let me edit that post):

https://electronics.stackexchange.com/questions/278192/under...

Re:We're making an open-source $30 GPS/mesh radio, would lik... by dfox on Tuesday March 10, 2020 @08:45PM (#22541746)
LoRa has very peculiar modulation scheme that in the end is not CDMA-ish spread spectrum but an interesting way how to extend straight FSK into spread spectrum modulation with respectable processing gain and interference rejection.
Re:We're making an open-source $30 GPS/mesh radio, would lik... by bigiain on Tuesday March 10, 2020 @10:55PM (#22542520)
I recall reading that part of the design was so that not only was it good at rejecting interference, but that it also caused little interference to other users of the spectrum.

If someone else's ISM radio is using a specific frequency (perhaps with CDMA or TDMA), a "chirp" that's spears over about a hundred kHz and -20db or so down in the noise is unlikely to bother them, but is quite useable/reliable for the LORA gear to detect.

Re:We're making an open-source $30 GPS/mesh radio, would lik... by jki275 on Tuesday March 10, 2020 @08:07PM (#22541478)
Not sure why this was downvoted, it's exactly correct.
Re:We're making an open-source $30 GPS/mesh radio, would lik... by myself248 on Wednesday March 11, 2020 @11:19AM (#22546533)
I used to get about a mile on 900MHz Ricochet radios, one of which was sitting on a chair in the living room, the other of which was sitting on the passenger seat of my car. Around a mile, the usable data rate would fall below 4800bps, and my NMEA packets would stop going through.

I find it entirely believable that a lower data-rate modulation could get better range than that, even on less power and worse antennas.

And you can do a LOT with antennas on 900MHz.

Re:We're making an open-source $30 GPS/mesh radio, would lik... by hackcasual on Tuesday March 10, 2020 @06:54PM (#22540787)
Their site says using 915mhz, and the radios they recommend are all LoRa devices, so that's probably the best way of evaluating distance performance.
Re:We're making an open-source $30 GPS/mesh radio, would lik... by zensavona on Wednesday March 11, 2020 @06:55AM (#22544697)
I actually fly FPV drones and it’s amazing how far I can go and what obstacles I can penetrate with my 915mhz 2W control link with very usable latency (good antennas makes a huge difference as mentioned by others). 2-5km through thick city buildings etc at times.
Re:We're making an open-source $30 GPS/mesh radio, would lik... by arrty88 on Tuesday March 10, 2020 @10:22PM (#22542342)
Can you use MURS for this? Or potentially GMRS if the operators are licensed?
Re:We're making an open-source $30 GPS/mesh radio, would lik... by gh02t on Wednesday March 11, 2020 @07:49AM (#22544963)
Hmm... I'm pretty sure MURS allows for this type of traffic as of the last rules revision and would be ideal for this use with the higher power allowance, but MURS is a USA only thing so that kinda limits you if the goal is something that works all around the world.

OP is also talking about using off the shelf LoRa boards and their project is more about the software, so they are stuck with the bands available on the commercial LoRa transceivers those boards use.

Re:We're making an open-source $30 GPS/mesh radio, would lik... by bloopernova on Wednesday March 11, 2020 @11:01AM (#22546375)
Is there anything I, as a sysadmin-by-experience, can do to help out?

I don't have any relevant skills for radio or SDR stuff, but I'd love to mess around with it for a couple of hours a week.

Re:We're making an open-source $30 GPS/mesh radio, would lik... by myself248 on Wednesday March 11, 2020 @11:16AM (#22546513)
I'm not involved with the project, but I think you can probably get this running. The hardware is cheap, the install instructions are pretty straightforward, and if you know which end of a USB cable is which, you'll be able to bumble through.

Keep notes as you do, and that can feed directly into improving the documentation to be more noob-friendly.

You'll find more ways to get involved from there, including just using and sharing the project with friends.

Re:We're making an open-source $30 GPS/mesh radio, would lik... by bloopernova on Wednesday March 11, 2020 @11:20AM (#22546554)
I'm adding myself to the Gitter channel and will hook up a radio to my home office Raspberry Pi. I'm excited to be a part of this! :)

Thanks for the encouragement, by the way. I really appreciate that.

Re:We're making an open-source $30 GPS/mesh radio, would lik... by punkgeek on Wednesday March 11, 2020 @01:02PM (#22547453)
yep - what myself248 said. and yes, if you have questions just ask on the gitter channel and we'll all work together to help.
Re:We're making an open-source $30 GPS/mesh radio, would lik... by punkgeek on Wednesday March 11, 2020 @01:01PM (#22547440)
I just want to say: you seem like an awesome person. Keep being awesome!
Re:We're making an open-source $30 GPS/mesh radio, would lik... by kawfey on Wednesday March 11, 2020 @09:29AM (#22545622)
Radio amateurs might be some suitable beta testers for you. It being an open source radio system fits right into the mission and spirit of amateur radio.

However, I'll take the cynical route and say mesh radios, for the general public, are still not very popular. Gotenna and Beartooth, among others appear to be common and popular, and highly reviewed, but in my hikes and ski trips, I haven't seen or heard from a single one. I've seen FAR more basic FRS radios, and SPOT satellite messengers.

Re:We're making an open-source $30 GPS/mesh radio, would lik... by glassuser on Wednesday March 11, 2020 @06:56PM (#22551694)
I'm one of those amateurs.

Gotenna is stupid expensive. And spot is pretty evil (or at least the instances I've encountered it).

I think what most of the public expects from a radio device is PTT audio. Which isn't going to work with these low bitrate lora devices. I think if they got conditioned to some of this form factor, it would catch on a lot better.

Re:We're making an open-source $30 GPS/mesh radio, would lik... by punkgeek on Wednesday March 11, 2020 @01:00PM (#22547427)
FRS radios and SPOT are also awesome.
Re:We're making an open-source $30 GPS/mesh radio, would lik... by l33tman on Thursday March 12, 2020 @06:19AM (#22555321)
The LORA stuff is pretty cool in that the radio stack (if you can call it so, it's super little code) is open source and you can get complete modules with an STM32 and the associated LoRa radio circuitry and just add power and an antenna.
Re:We're making an open-source $30 GPS/mesh radio, would lik... by WrtCdEvrydy on Tuesday March 10, 2020 @08:14PM (#22541525)
This is so cool... I spent six months doing research on a routing layer for mesh Android devices (using Bluetooth and Wifi). This would probably make a lot of what I originally tried out a lot easier.

Edit: The issue was making a jump from a local cluster to another cluster far away as local messaging was easy but the further out, the harder it became to maintain connectivity since the amount of devices entering and leaving a mesh became a factor. We actually thought of using amateur radio (to basically allow you to extend the range using them for transfer)

Re:We're making an open-source $30 GPS/mesh radio, would lik... by sliken on Wednesday March 11, 2020 @05:48AM (#22544430)
My solution for this kind of thing is to support a router that connects to the internet. Then on the internet side run a DHT so all the internet routers/gateways can find each other. Each router would keep track of the devices they have seen recently, and publish them to a DHT. Much how running a bittorrent client for a particular torrent publishes that fact to the DHT so anyone on the planet can find peers of that torrent.

So if Bob at a ski resort in Colorado want to message someone in Germany his message would propagate around the mesh until a gateway noticed it was for a client that hasn't ever been seen by that gateway. The gateway/router would do a DHT lookup, and would find a router in Germany had seen that user recently and forward the message there. Next time that router heard (directly or indirectly) that the recipient was online it would forward it (directly or through store and forward) to the user. Sure this process might take minutes, but generally it would still be useful.

Imagine an island like Haiti or Puerto Rico is hit by a storm and only one in 5000 people has a cell signal or sat uplink. Add a mesh and just a few uplinks for the whole island and important communications could get through. Maybe even putting a sat uplink on a car that could drive around and allow messages in/out even just once a day could be quite valuable. This of course needs to be combined with store/forward messages and the other various delay tolerant network features.

Seems much more useful than using HF radios to scan the planet for open Ham <-> email gateways. I was rather amused to hear that to communicate across Puerto Rico they often ended up sending messages through an email gateway they could reach in Italy... just to get messages across the island.

Re:We're making an open-source $30 GPS/mesh radio, would lik... by madengr on Wednesday March 11, 2020 @12:50PM (#22547305)
The Synapse mesh radios pretty much do this, seamlessly linking RF meshes with an IP bridge.

https://developer.synapse-wireless.com/modules/index.html

Re:We're making an open-source $30 GPS/mesh radio, would lik... by gardners on Thursday March 12, 2020 @01:34AM (#22554072)
One of the other things we have been doing with Serval in the Mesh Extender devices is making it possible to connect external radios, including HF radios from Codan and Barrett, for really long range inter-cluster communications.
Re:We're making an open-source $30 GPS/mesh radio, would lik... by hobs on Tuesday March 10, 2020 @06:22PM (#22540461)
That's awesome, this kind of thing was the first idea I had when I saw the LoRa radios, but was far too lazy to start doing :p still have the hardware at home; ill see if I can install it later.
Re:We're making an open-source $30 GPS/mesh radio, would lik... by punkgeek on Tuesday March 10, 2020 @06:24PM (#22540485)
awesome! we'd love to have you join us ;-)
Re:We're making an open-source $30 GPS/mesh radio, would lik... by glassuser on Wednesday March 11, 2020 @06:59PM (#22551711)
Yeah I'm interested. I've been building something like this solo, but don't have the skill set to write a mobile app to go with it. I've got the spare parts to make a dozen widgets with a comparable feature set, but family life is keeping me from doing much of it. I know a guy in disaster response who would love to get his hands on a working prototype set to geek out over.
Re:We're making an open-source $30 GPS/mesh radio, would lik... by feteru on Wednesday March 11, 2020 @09:11AM (#22545504)
Looks awesome! Downloading the app, going to try it out on my T-BEAM that's been sitting dusty, and will definitely have an opportunity to test it soon.