You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An [Arduino](http://arduino.cc/) library for sending and receiving data using [LoRa](https://www.lora-alliance.org/) radios.
5
+
An [Arduino](https://arduino.cc/) library for sending and receiving data using [LoRa](https://www.lora-alliance.org/) radios.
6
6
7
7
## Compatible Hardware
8
8
@@ -27,7 +27,9 @@ An [Arduino](http://arduino.cc/) library for sending and receiving data using [L
27
27
28
28
`NSS`, `NRESET`, and `DIO0` pins can be changed by using `LoRa.setPins(ss, reset, dio0)`. `DIO0` pin is optional, it is only needed for receive callback mode. If `DIO0` pin is used, it **must** be interrupt capable via [`attachInterrupt(...)`](https://www.arduino.cc/en/Reference/AttachInterrupt).
29
29
30
-
**NOTE**: Some boards (like the Arduino Nano), cannot supply enough current for the SX127x in TX mode. This will cause lockups when sending, be sure to use an external 3.3V supply that can provide at least 120mA's when using these boards.
30
+
**NOTES**:
31
+
* Some boards (like the Arduino Nano), cannot supply enough current for the SX127x in TX mode. This will cause lockups when sending, be sure to use an external 3.3V supply that can provide at least 120mA's when using these boards.
32
+
* If your Arduino board operates at 5V, like the Arduino Uno, Leonardo or Mega, you will need to use a level converter for the wiring to the Semtech SX127x module. Most Semtech SX127x breakout boards do not have logic level converters built-in.
31
33
32
34
## Installation
33
35
@@ -53,6 +55,34 @@ See [API.md](API.md).
53
55
54
56
See [examples](examples) folder.
55
57
58
+
## FAQ
59
+
60
+
**1) Initilizating the LoRa radio is failing**
61
+
62
+
Please check the wiring you are using matches what's listed in [Semtech SX1276/77/78/79 wiring](#semtech-sx1276777879-wiring). You can also use `LoRa.setPins(ss, reset, dio0)` to change the default pins used. Some logic level converters cannot operate at 8 MHz, you can call `LoRa.setSPIFrequency(frequency)` to lower the SPI frequency used by the library. Both API's must be called before `LoRa.begin(...)`.
63
+
64
+
**2) Can other radios see the packets I'm sending?**
65
+
66
+
Yes, any LoRa radio that are configured with the same radio parameters and in range can see the packets you send.
67
+
68
+
**3) Is the data I'm sending encrypted?**
69
+
70
+
No, all data is sent unencrypted. If want your packet data to be encrypted, you must encrypt it before passing it into this library, followed by decrypting on the receiving end.
71
+
72
+
**4) How does this library differ from LoRaWAN libraries?**
73
+
74
+
This library exposes the LoRa radio directly, and allows you to send data to any radios in range with same radio parameters. All data is broadcasted and there is no addressing. LoRaWAN builds on top of LoRA, but adds addressing, encryption, and additional layers. It also requires a LoRaWAN gateway and LoRaWAN network and application server.
75
+
76
+
**5) Does this library honor duty cycles?**
77
+
78
+
No, you have to manage it by your self.
79
+
80
+
**6) Which frequencies can I use?**
81
+
82
+
You can use [this table](https://www.thethingsnetwork.org/wiki/LoRaWAN/Frequencies/By-Country) to lookup the available frequencies by your country. The selectable frequency also depends on your hardware. You can lookup the data sheet or ask your supplier.
83
+
84
+
Please also notice the frequency dependent duty cycles for legal reasons!
85
+
56
86
## License
57
87
58
-
This libary is [licensed](LICENSE) under the [MIT Licence](http://en.wikipedia.org/wiki/MIT_License).
88
+
This libary is [licensed](LICENSE) under the [MIT Licence](https://en.wikipedia.org/wiki/MIT_License).
0 commit comments