chwon64 / arduino-lorawan

User-friendly library for using Feather M0 LoRa with The Things Network and LoRaWAN

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

arduino-lorawan

User-friendly library for using the Feather M0 LoRa with The Things Network and LoRaWAN

The arduino-lorawan library provides a structured way of using the arduino-lmic library to send sensor data over The Things Network or a simlar LoRaWAN-based data network.

It targets devices that are like the Adafruit Feather M0 LoRa, consisting of:

  1. An Atmel SAMD21G processor;
  2. An RFM95 LoRa radio connected to the SAMD21G per The Things Network NY's conventions; and
  3. An Arduino run-time environment.

In addition to the basic Feather M0 LoRa, other products match this profile. The MCCI Catena 4450 products are upward compatible with the Feather M0 LoRa and therefore also can be used with this library.

arduino-lorawan attempts to solve three problems.

  1. It separates network maintenance code from your application.
  2. It separates the common logic of your sensor app from the details about each individual device, allowing you to have a common source base that's used for all sensors.
  3. It provides a simple framework for doing low-power programming.
  4. It includes a framework for managing non-volatile storage (particularly FRAM) in a stable and atomic way.

The resulting programming environment is just a little more complicated than basic Arduino, but we intend that it will be almost as easy to use for prototyping, and not too tedious to use when moving to small pilot runs.

Notes

  • Terry Moore of MCCI was the principal author of adafruit-lorawan.
  • Many thanks to Bob Fendrick for assistance in preparing initial test units.
  • MCCI and Catena are registered trademarks of MCCI Corporation.
  • This document composed with StackEdit.

About

User-friendly library for using Feather M0 LoRa with The Things Network and LoRaWAN

License:MIT License


Languages

Language:C++ 100.0%