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.
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
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)
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.
Please see the description in the top of the sketch and read the documentation (odt)
- Initial version optimized for Arduino Feather lora 32U4
- Included adjusted Luftdaten forwarder (based on https://github.com/bertrik/LoraLuftdatenForwarder)
- It has been adjusted for SPS30 as well as enabling saving the data locally in a file
- Updated sketch with new data order
- Updated the SPS30 library to 1.3.7
- updated with LMIC config.h information
- Paul van Haastrecht ([email protected])
This project is licensed under the GNU GENERAL PUBLIC LICENSE 3.0
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.