Skip to content

SPS30 with Feather Lora 32U4 connected to TTN & Luftdaten

License

Notifications You must be signed in to change notification settings

paulvha/SPS30_lora

Repository files navigation

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

  • Initial version optimized for Arduino Feather lora 32U4

version lora / December 2019

Version March 2020

  • updated with LMIC config.h information

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.