Building a private LoRa network (2017)
os.mbed.com
os.mbed.com
The most annoying part was porting LoRaMAC to the samd21, since getting the timing reliable was a bit of a pain. We used the sx1272 as our radio.
We use a Chirpstack backend, which handles authentication and such and passes the unencrypted the LoRaWAN messages over mqtt, which we subscribe to, decode, and stick into a pgsql database on our server on the ice sheet. We then use log shipping replication to get a replica of the database to a server sitting in our lab where we are not bandwidth constrained for monitoring.
> and LoRa in the US ISM band
that's 900MHz right ?
We tested our LTE network out to about 9 km and it worked, and LoRa should have a better link budget. The frequency is roughly the same.
Edit: it seems DASH7 is more widely deployed and apparently LTE-M is being pushed by telecom for IoT using existing 4G towers
EDIT: This gives a great overview of all the available LoRaWAN devices out there: https://www.thethingsnetwork.org/device-repository/
EDIT: Scratch that, looks like there's a frequency it can use in the UK:
"Both LoRa™ and LoRaWAN® use the 868Mhz radio frequency that is license exempt in the UK. This doesn’t mean you can use this frequency as you like. There is set a set of rules defined by EU ETSI EN300.220 (pdf) the most pertinent of which is the duty cycle that defines for how long a transmitter can transmit."
https://www.thethingsindustries.com/docs/getting-started/ins...
Helium is interesting because its literally everywhere in the US and western europe, everywhere people exist that is (not super remote mountainous regions).
I'd bet 99% of people reading this comment section have great coverage.
There is none, there are only tradeoffs.
You're basically directly trading off range for speed and power usage.
Quicker chirps allow for both higher speed and lower power usage per byte transferred, but your range will be that much lower
Many years ago (pre-LoRa) I needed to integrate a garage door that was far out of Wifi range to my home automation system.
At the time the way to go about this was (as best as I could tell) XBee. I was able to conjure together a 900 MHz XBee module in the garage that not only had (essentially) GPIO to activate a momentary relay to simulate a button push to control the door but also utilize an XBee feature called change detection that has an eventing/push system to transmit state changes from high to low on a pin. Combined with a magnetic door contact sensor and XBee + ESP 8266 + Arduino (platform for ESP 8266, not device) + MQTT on the Home Assistant side this thing has been running rock solid for a decade. I haven't had to work on it since.
Whether I check the status of the door (via Home Assistant or the OLED display on the control unit inside) or open/close the door via the momentary switch inside (or Home Assistant) even though it's been 10 years at least once I week I remark at how amazing the entire contraption is.
This stuff is really cool and maybe it's time to move this thing to LoRa!
But something like solar powered sensor somewhere farther away would be a good use case.
Some gateways let you filter by network_id, this will not stop someone from pulliting/disrupting the radio spectrum, but it will stop your gateway from relaying those packets to your network-server.
The perfect application is IoT, where a lot of use cases like telemetry, agriculture, etc. require only small data packets transmitted with longer (tens of minutes / hours) intervals.
Lora on 2.4 GHz can probably provide the higher bandwidth required for voice albeit at a lower range compared to the sub-GHz version. look up SX1280.
SMS works because the cell phone companies pay the big bucks to their base stations up very high above surrounding terrain.
There are transient exceptions like atmospheric gradients in water vapor density creating brief tropospheric ducts which VHF radio can bounce down but these are unreliable. And tropospheric scattering propagation requires very high powers and high gain antennas at both ends so it's not really feasible for people operating under FCC part 15 or even ham radio power restrictions (ie, <1500 watts).
Because this also applies to base stations the throughput is highly constrained.
Let's not fall into the proprietary trap again.
Which is exactly what you want. Also the frequency band is a bit too narrow and short ranged for real earth applications.
LoRaWAN is terrible because you move into the overengineered and heavy IP stack... the other way is better: build your own "from scratch" network topology in software.
Fossilization is only good _after_ you prooved the concept.
Having played with LoRa years ago my thought was that there should now be readily available and cheap sensors. But to my disappointment everything seems to be a bit pricey which really surprised me. I can get a Zigbee temp sensor for around 15 euros, but Lora sensors cost around double that. I am wondering as to why that is?
Also, it seems LoRa is proprietary and patent-encumbered while Zigbee is an open spec.
https://e2e.ti.com/support/wireless-connectivity/zigbee-thre...
...which is also the reason Zigbee is more pricy than random wifi enabled gadget
https://prbs23.com/blog/posts/getting-started-with-a-private...
LoRaWAN is definitely an interesting mix of open source implementations and open specifications, and proprietary poorly documented hardware. Unfortunately I haven't had time lately to actually use my network for anything real.
It took some effort to solve congestion and reliability when the network got busy.
Alternatives: https://en.wikipedia.org/wiki/Low-power_wide-area_network#Pl...
Many implementations are also open-source, like The Things Stack from The Things Network. It can also be run locally.
Do you buy or participate in those?
I care, but not enough to leave my iPhone (more specifically: the functionality, usability, and reliability it provides) behind, at this point.
Maybe I should clarify: existing tech is what it is. We probably have to use it. But if we're building new tech, why would we waste time doing it incorrectly, when we have the chance to do it right?
Then you really don't care.
Sorry, I know that sounds flippant, but hardware manufacturers have become exceptionally good at calibrating this "just enough tyranny to wear down the majority" thing. It's exactly this "not enough to leave my iPhone" attitude that they've figured out how to exploit.
I was under the impression that other modulation schemes such as FSK etc. can also perform similarly to CSS in terms of data rate etc. and distance?
It's a few years since I researched it, and I didn't build anything.