paulvha / SPS30_lora

SPS30 with Feather Lora 32U4 connected to TTN & Luftdaten
GNU General Public License v3.0
1 stars 1 forks source link
bme280 feather-32u4 feather-lora forwarder lorawan lorawan-application luftdaten sensirion sps30 ttn

BME280 and Sensirion SPS30 connecting to TTN

===========================================================

A program to set instructions and get information from an SPS30 and BME280 and sent to TheThingsNetwerk (TTN) & Luftdaten It has been tested to run with I2C communcation on Feather Lora 32U4.

Getting Started

As part of a larger project I am looking at analyzing and understanding the air quality. I have done a number of projects on air-sensors. The SPS30 sensor is a new kid on the block that looks interesting. This is the first version of a working driver + examples. More work is happening to create examples and compare against other sensors.

The SPS30 library is a cut down version (1.3.7) for Arduino Feather LORA.

For detailed information, please read the feather_lora.odt in the extras folder. For Luftdaten : please read the TTN-Luftdata.odt in the Luftdaten folder

Prerequisites

LMIC : https://github.com/matthijskooijman/arduino-lmic

If you plan to use the standard library:
BME : Adafruit_BME280 and Adafruit_Sensor
SPS30 : sps (https://github.com/paulvha/sps30)

Software installation

Obtain the zip and install like any other.

Make sure to read the feather lora.odt in the extras directory for changes to the config.h for lmic.

Program usage

Program options

Please see the description in the top of the sketch and read the documentation (odt)

Versioning

version lora / October 2019

version lora / December 2019

Version March 2020

Author

License

This project is licensed under the GNU GENERAL PUBLIC LICENSE 3.0

Acknowledgements

Make sure to read the datasheet from Sensirion. While draft it does provide good starting point. The Luftdaten forwarder is based on https://github.com/bertrik/LoraLuftdatenForwarder.