Commit 0c6aa88e authored by Christian Busse's avatar Christian Busse
Browse files

Update LoRaWAN_info.md

parent f749e5a6
## Notes for Lab 3 (LoRaWAN)
- For the development purpose, we will use **fixed transmission intervals** as given by `#define TX_TIMER` in the example-lorawan, please do not modify this value!
- For the development purpose, we will use **fixed transmission intervals** as given by **`#define TX_TIMER`** in the example-lorawan, **please do not modify this value!**
- It is necessary to build the program using the **develop profile**, otherwise the program will get stuck after the first transmission made.
- Don't forget to copy the **.mbedignore** file of this example which does not disable the LoRaWAN libraries.
- Before building and running the program make sure to modify the value of the `"lora.device-eui"` AND the `"lora.application-key"` in the mbed_app.json file so that the last hex value matches
your board number, e.g., `0x02` if you have **board #2**, **board #12** -> `0x12` , etc
- Note, that the **baudrate** is changed to **`115200`** in the lorawan-example, see `mbed_app.json`file.
......@@ -18,14 +19,24 @@
## Resources
## Resources / Further Reading
- [**Mbed OS -** LoRaWAN usage (quick overview)](https://os.mbed.com/docs/mbed-os/v6.15/apis/lorawan-usage.html)
- [**Mbed OS -** LoRaWAN stack API documentation](https://os.mbed.com/docs/mbed-os/v6.15/apis/lorawan-apis.html)
- [Airtime Calculator](https://www.thethingsnetwork.org/airtime-calculator)
### Further Reading
- [**Mbed OS -** LoRaWAN network architecture](https://os.mbed.com/docs/mbed-os/v6.15/apis/lora-tech.html)
- [The Things Network](https://www.thethingsnetwork.org/docs/lorawan/) provides a comprehensive overview on the LoRaWAN technology.
- [The Things Network](https://www.thethingsnetwork.org/docs/lorawan/) provides a comprehensive overview on the LoRaWAN technology.
### **Restrictions on sending data (Duty Cycle Regulations)**
This is important if you develop your own LoRa-enabled systems in the future!
You cannot send data constantly because of spectrum regulations. Although the spectrum that LoRa uses is unlicensed, it is regulated. For example, in Europe, there are **duty cycle limitations of 1%** - meaning you can only send 1% of the time (e.g. 24 hours x 60 minuts * 1 % = 14.4 minutes per day, 36 seconds per hours, ...). In the US, there's dwell time, which requires you to wait at least 400 ms between transmissions. If you violate these regulations, your data transmission fails. How fast you are allowed to send data depends on the spread factor you use. With a higher spread factor, it takes longer to send a message - though the chance that a gateway receives it increases. However, you need to wait longer before you can send data again. During development, you can set the spread factor to SF7 (the lowest), so you can send every 6-7 seconds.
**See also:**
- https://www.thethingsnetwork.org/docs/lorawan/duty-cycle/
- [Airtime Calculator](https://www.thethingsnetwork.org/airtime-calculator)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment