|Project LoRaWAN dust Sensor|
|LoRaWAN airborne particulate matter sensor|
The plan is to create a system consisting of:
- a sensor that measures airborne particulate matter and sends the measurement data using LoRa/TheThingsNetwork to a central location.
- a backend that collects the data from TTN and forwards it to a project like luftdaten.info
This has been done before by other people, but can't find any really good examples:
- source code location is obscure, I will publish source code on github and put up documentation on this wiki
- payload format is non-standard, I'd like to use something relatively universal and standard, so I think I will use the Cayenne LPP format.
So I'd like to just re-invent the wheel properly this time.
The sensor will be an SDS-011, just like in the luftdaten project.
I will take a glance at how this sensor is being "driven" in this project, e.g. typical on-off times, averaging, etc.
The node is based on Arduino. To compile the code, platformio is used, probably with the following libraries:
To do the LoRa stuff, I will probably use an ESP32 with an RFM95 built in. The ESP32 is already very similar to the ESP8266 currently used in the luftdaten project.
The plan is to use TheThingsNetwork, it publishes the received measurement data back onto an MQTT stream.
Sensors join the network using OTAA (instead of ABP), so there is no need for setting up each node individually.
I will use a Java program to subscribe to this MQTT stream.
I've already developed some Java code that publishes the measurement values towards luftdaten.info. RIVM has already built their own gateway from luftdaten towards samenmeten, so I won't have to code anything for that.