tinytronix / LoRa

An Arduino Library for direct (peer-2-peer) LoRa data communication from device to device without the need of LoRaWAN internet connection. Developed for home automation purpose.
MIT License
25 stars 6 forks source link
arduino drf1262t drf1268t hausautomation home-automation homeautomation lora lora-gateway lora-p2p lora-peer-2-peer lora-peer-to-peer radio shuttle sx126x

LoRa

An Arduino Library for peer-to-peer LoRa data communication for home automation purpose.

This library sits on top of my SX126x LoRa driver and implements a C++ class for a Lora gateway and a C++ class for multiple Lora nodes. Both classes implement their part of a communication protocol to let both talk to each other.

It can be used to set up a private LoRa network for e.g. home automation infrastructure which consists of one gateway and arbitrary nodes like sensors, actors and so on.

Features

In general all communication is initiated by the gateway (data REQUEST). The nodes can only send (data RESPONSE) if they were adressed by the gateway.

Prerequisites

Where to start

Please refer to the gateway and node example!

FAQ

Q: Is this thing LoraWAN compatible?
A: No. You may use the SX126x driver and the hardware as a base for a LoRaWAN device but this projects does not support LoRaWAN. The gateway and the node software implement an completely different (home brewed) communication protocol.