An Arduino library for sending and receiving data using LoRa radios.
- Semtech SX1276/77/78/79 based boards including:
Semtech SX1276/77/78/79 | Arduino Uno/Atmeg328P |
---|---|
VCC | 3.3V |
GND | GND |
SCK | SCK |
MISO | MISO |
MOSI | MOSI |
NSS | 10 |
NRESET | A1 |
DIO0 | 2 |
DIO1 | 3 |
DIO2 | 9 |
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.DIO1,DIO2are generally used with LoraWan
Semtech SX1276/77/78/79 | Arduino Uno/Atmeg328P |
---|---|
VCC | 3.3V |
GND | GND |
SCK | SCK |
MISO | MISO |
MOSI | MOSI |
NSS | 10 |
NRESET | A1 |
DIO0 | 2 |
DIO1 | 6 |
DIO2 | 7 |
NSS,
NRESET, and
DIO0pins can be changed by using
LoRa.setPins(ss, reset, dio0).
DIO0` pin is optional, it is only needed for receive callback mode.DIO1,DIO2are generally used with LoraWan
- Choose
Sketch
->Include Library
->Manage Libraries...
- Type
LoRa
into the search box. - Click the row to select the library.
- Click the
Install
button to install the library.
cd ~/Documents/Arduino/libraries/
git clone https://github.com/sandeepmistry/arduino-LoRa LoRa
See API.md.
See examples folder.
This libary is licensed under the MIT Licence.