A little sensor network for the forest, built with LoRA radios.
- Adafruit Feather M0 Basic Proto
- Adafruit LoRa Radio Transceiver Breakout 915MHz
- I2C Sensors: MCP9808 High-Accuracy Temperature, BME x80
- Arduino Uno
- Adafruit LoRa Radio Transceiver Breakout 915MHz
- Tessel 2, connected to gateway over SDA/SCL — Tessel treats the attached gateway as an I2C slave.
Arduino-compatible firmware is run by the (M0) Clients and the (Uno) Gateway. The clients are each flashed with client.ino
and the gateway with server.ino
. A shared header file is used for constants.
- The
arduino/libraries/LyzaLORA
folder needs to be put in your Arduinolibraries
folder to be seen by the Arduino IDE
To run the front end on a provisioned Tessel 2, t2 run index.js
Note: npm install
is not necessary to run the software on Tessel (it'll do that for you).
Note: To run locally, set LOCAL_DEBUG
true
in config.js
— that will keep the modules from trying to include tessel
, which is only available on-board the Tessel itself.
Webserver will run on port 3000
(console will provide Tessel's IP if you're running on a Tessel).
Web assets are in app
. Viewing index.html
will show charted temperature and pressure data from the clients.