Skip to content
Chandra Wijaya Sentosa edited this page Jan 12, 2022 · 2 revisions

GitHub issues GitHub forks GitHub stars GitHub release (latest SemVer) GitHub license

LoRa-RF Arduino Library

Introduction

Arduino LoRa-RF library used for transmitting and receiving data using LoRa module with Semtech SX126x series, SX127x series, or LLCC68. The library works by interfacing SPI port and some I/O pins. This library support for configuring frequency, modulation parameter, transmit power, receive gain and other RF parameters on both LoRa and FSK modulation also support for handling transmit and receive using interrupt signal.

Hardware Compatibility

Theoritically all LoRa modules using SX126x series (SX1261, SX1262, SX1268), SX127x series (SX1272, SX1276, SX1277, SX1278, SX1279), or LLCC68 will compatible using this library. Arduino LoRa development board which interfaced using SPI to a LoRa module also theoritically compatible.

Some LoRa module which already tested and confirmed compatible are:

  • Ebyte: E19-433M20SC, E19-915M20S, E19-433M30S, E19-915M30S, E22-400M22S, E22-900M22S, E22-400M30S, E22-900M30S
  • HopeRF: RFM95W, RFM96W, RFM98W

Please note that LoRa modules use 3.3V for power supply and I/O ports. Care must me taken for connecting 5V arduino to LoRa module.

Installation

Using the Arduino IDE Library Manager

  1. Choose Sketch -> Include Library -> Manage Libraries...
  2. Type LoRaRF into the search box.
  3. Search a row with title LoRaRF by Chandra Wijaya.
  4. Click the Install button to install the library.

Using Git

Open terminal, Git bash, or command prompt in Arduino library folder then run following command. Default library folder for windows is C:\Users\{username}\Documents\Arduino and for linux is ~/Documents/Arduino/libraries/.

git clone https://github.com/chandrawi/LoRaRF-Arduino.git