172 points · by htdvisser · 7y ago · 66 comments
I tried to make an open source radio system like LoRa before LoRa existed, but I mostly failed to deliver on my kickstarter. :-/
I did make a 915/868 MHz frequency hopping radio protocol that is open source, as well as ARM powered hardware to drive it, but it turns out everything I wanted to do was way more work than I realized.
Bummer that LoRa hardware is proprietary, but I suppose so was the cpu and radio chip I used. Would be nice to get some open source digital radio chips!
https://github.com/flutterwireless/FlutterWirelessLibrary
https://github.com/flutterwireless/FlutterHardware
I have lots of hardware I could share if anyone would pick it up in the Bay Area, and I can make all the IP CC0 or MIT licensed instead of copyleft it desired.
Does a single company own/control all the towers?
There are currently over 8000 of these gateways worldwide (see also the map on https://www.thethingsnetwork.org/map).
The distances are of course much lower if there are obstacles (like concrete buildings) between the transmitter and receiver.
[1]: https://www.youtube.com/watch?v=adhWIo-7gr4 [2]: https://www.thethingsnetwork.org/article/atmospheric-duct
Could you use a general purpose sdr like an HackRF as a base station?
Alternatively two LoRa radios can just talk point-to-point between each other.
"Alternatively two LoRa radios can just talk point-to-point between each other"
Is this a new development? Last I checked this wasn't possible.
Can I connect up little $6 dollar ESP LoRa modules to talk to each other?
The comments here suggest it's not possible: https://www.cnx-software.com/2017/10/13/this-ttgo-board-comb...
I bought two with old screens and don't have any base stations. I beleive they can be connected in mesh with more too (not sure how many channels are needed)!
https://www.banggood.com/2Pcs-LILYGO-TTGO-868915MHz-SX1276-E...
Make sure you get the right frequency for your country to be legal to transmit. 868/915MHz for usa, 433 for euro.
End devices hop over multiple channels. Most gateways can receive simultaneously on 8, 16 or up to 64 channels (using 1, 2 or up to 8 antennas). The network can dynamically adapt the channels used by each end device to distribute traffic over the available channels.
End devices will use different data rates (spreading factors) for their transmissions (depending on required range). The LoRa modulation allows gateways to receive multiple transmissions on the same channel simultaneously if those transmissions use different spreading factors (most of the time, the spreading factors are "almost orthogonal").
You can deploy more gateways to create smaller cells. The network can then tell end devices to lower their transmit power.
More details in this video: https://privatevideos.hubs.vidyard.com/watch/iXBL8d2mjyjubK8...
If you deploy a private LoRaWAN network with your own gateways and your own servers, you only need to comply with the limits imposed by local regulators for the (unlicensed) spectrum you're using. In Europe's 868MHz ISM band, transmitters are limited by a 1% duty cycle. In the US's 915MHz band, transmissions are limited to a 400ms dwell time. Other regions have similar limits.
Ti's long range 15.4 implementation is not open but is much cheaper than LoRa, you just need two $20 Launchpad boards, one as a basestation and one as your client.
You could also just use the LaunchPad's packet radio api to implement your own simple protocol, you just need to remember to keep to the limitations imposed by the authorities (duty cycle, wait time).
Non-metric units are objectively worse.