All about LoRa(WAN)
I will try to write everything you need to know about LoRa for the first steps. I wrote a thesis about LoRaWAN and TTN in Greek. In some areas it's already obsolete. Here I try to cover all the aspects of LoRa(WAN). Devices, Gateways, Network (TTN) in a very short time.
This a work in progress. For more current and valid info visit the forum.
My motivation
My motivation is to have a low power tracking device without SIM, because here in Greece the M2M SIM's are expensive and not available to individuals (only to companies). With NB-IoT the situation is better but again only available to companies with 1.24€ per month. After discovering LoRa I found a second problem. SIM devices have very large battery consumption. Even if SIM devices where cheaper, I want to track many devices (bicycles, cars, persons). So even cheap SIM's will become expensive and a battery hassle / nightmare management. Yes there is NB-IoT but it's again expensive for many devices and not so good as LoRa energy-wise (but better for deliver-ability and large data). Also I don't know the coverage. I imagine the coverage will be fine on cities, but not outside the cities.
LoRa is for bytes, not for strings
Don't associate LoRa with strings. Think about bytes. How many bytes? Less than 10bytes! If you need more bytes, forget about LoRa. Less bytes is better otherwise LoRa will not be sucessful on IoT world. In my thesis I managed to send location data (GPS), speed, direction, status (fall), battery level with 7 bytes. If you want more bytes go to NB-IoT. With LoRa you have to be a good citizen. Transmit less, so the LoRa IoT community will have no / less problems. Check the graph I made to undestand the problem if you use many bytes. SF12 for one byte of payload requires 1 second (10^3ms) and for 51 bytes you transmit for 3 seconds! This is a serious problem. Because you create noise, inteference to other devices. Share the air-time, don't use many bytes and high SF's.
It's better to use less bytes. Less than 10.
Consult the Airtime Calculator for more details.
LoRa maximum energy is 20mW, compared to 200mW of 2.4G Wifi and 1000mW of 5G wifi.
Short overview of the ETSI standard for WiFi: – 2.4 GHz: 100 mW (20 dBm) – 5 GHz channel 36 to 64: 200 mW (23 dBm) – 5 GHz channel 100 to 140: 1000 mW (30 dBm) – 5 GHz channel 155 to 171: 4000 mW (36 dBm)
LoRa modulation has range of 6km in SF7 (150km with SF8) but it consumes less energy than WiFi.
Gateway
Similar to mobile providers, with LoRa you need an 'antenna' (it's called Gateway) to receive the messages. You may came across also the term 'concentrator'. This is a device that demodulates / modulates LoRa messages. Gateway is a server that accepts messages (uplinks - from device) or sends messages (downlinks - to device), concentrator is the wireless network card of the server. The Gateway forwards the uplinks to a network server (example TTN) and also accepts messages to forward (downlinks) from a network server (TTN).
LoRa and LoRaWAN
Long story (awkward) short: LoRa is a (de)modulation technique, LoRaWAN is the protocol that connects devices with gateways.
Limitations
Law limitation: You can transmit (Duty Cycle) only 1%? per time. If you want more (unlimited), go to NB-IoT. Extra limitations from TTN: You can transmit every minutes and 30'' (seconds) per day. Your device can receive 10 messages per day. In case you didn't get it. Forget LoRa for bi-directional communication. Only occasionaly bi-direction communication is allowed. When the device sends data it's a uplink when the gateway sends data to the device it's a downlink.
Network (Coverage)
I think the best knowledgable network of LoRaWAN is TTN (thethingsnetwork.org). It's free and open sourced. But they don't have so many antennas as Helium. If you have a movable device, or you don't have a TTN antenna near you, install a TTN antenna, or try Helium. Helium coverage.
Some countries have excellent coverage (currently Holland, Switzerland), some not (Greece). Probably you will need to install some gateways to operate your devices. The cost of the gateway is 300€-700€. Check the coverage of you area on ttnmapper.org and the installed gateways on the TTN coverage.
Gateway
I suggest to use a Raspi (Raspberry pi) for gateway. For concentrator choose the newest (currently SX1302 [SX1303 for extreme temperatures]). Twice the demodulation power, 10 (ten) times less power consumption, so 20 times more efficient. (85mA vs 800mA)
Demodulation
Even the SX1302 does not have enough demodulation power for LoRa. LoRa in Europe currently uses 8 channels. SX1302 ideally should have 64 demodulators (8 DataRates * 8 channels) but it has 8 for SF7-SF12 and 8 for SF7-SF10. Older SX1308 has only 8 demodulators. Also SX1302 has 2dB better sensitivity.
LoRa Collisions
Since we share the same medium (air), collisions will occur. You need to be a good LoRa citizen with the smallest (fastest) possible SF (Spreading Factor), or even FSK and to use the smallest transmitting power. ADR can help with those two problems. Why?
This is very important. LoRa can demodulate different signals on different SF's but if SF9 is received in GW with more than 7dB stronger then the demodulation of SF7 fails. In other words a SF9 +7dB LoRa signal masks a SF7 signal.
SF7 masks the SF9 LoRa message if its transimitting 12.5dB more than SF9.
Here (p.6) we can see than if we have a collision with the same SF, probably the packet will be lost.
Use cases
LoRaWAN and TTN are very limited, what can I do? The most easy is to read data from sensors (weather, air quality, doors, parking sensors). If you have good coverage or if you can add coverage with your own gateway, you can also have GPS tracking. One more interesting idea if you have permanently power supply is a CLASS C device (always listen). To open a door when you car approaches (for example).
Tools
TTN gateways, coverage with ttnmapper.org, Airtime Calculator, TTN documentation, Battery life time calculator.
Real Life experiments
A LoRa device inside a trunk will loose 7-10dB of power. GPS has difficulty to have a fix.
Which network to choose?
There are several LoRaWAN networks to join. I tried helium and TTN. I prefer Helium because the network is dense and there is no barrier to entry. It is pay as you go. heyIoT is reliable and cheap. TTN is free for 10 devices. If you want more devices you have to pay (May-2026) 190€ per month for 1.000 devices. Although it's cheap at 20cents per device if you have 100 devices it's 2€ per device. At this price, it's better to use NB-IoT device. Probably with better coverage but worse battery life.
Where to point my gateway?
Although is not recommended, you can install one gateway to multiple networks using gwmp-mux. The problem is in the rare occasion that the gateway is inform to transmit from both networks. So you can forward the LoRaWAN data to both networks TTN and Helium.
Install the gateway to helium without the wallet
If you don't want to gain crypto, you can install the gateway to helium via multi-gateway, demo. More info.
ChangeLog
First published: I don't remember, circa 2022.
June 2023: SF to ms addition.
Nov 2024: semtech link ...FINAL.pdf was broken.
May 2026: multi-gateway and gateway multiplexer. Add screenshot with SF8 record and WiFi comparison data.
Τυχαία εικόνα
low-wages-high-rent.jpg
You are here with: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Your IP: 216.73.216.158
Made in Linux :) 
Hits: 95
Φόρτος CPU: 0.16 | 0.12 | 0.04