LoraWanDustSensor: Difference between revisions

From RevSpace
Jump to navigation Jump to search
(Created page with "{{Project |Name=Dust Sensor |Picture=Pms7003.jpg |Omschrijving=Experiments with a dust sensor |Status=Completed |Contact=bertrik }} == The plan == The plan...")
 
No edit summary
Line 1: Line 1:
{{Project
{{Project
   |Name=Dust Sensor
   |Name=LoRaWAN dust Sensor
   |Picture=Pms7003.jpg
   |Picture=no
   |Omschrijving=Experiments with a dust sensor
   |Omschrijving=LoRaWAN airborne particulate matter sensor
   |Status=Completed
   |Status=Initializing
   |Contact=bertrik
   |Contact=bertrik
   }}
   }}

Revision as of 09:36, 23 September 2018

Project LoRaWAN dust Sensor
350px
LoRaWAN airborne particulate matter sensor
Status Initializing
Contact bertrik
Last Update 2018-09-23


The plan

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.

Sensor

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.

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.

Data collection

The plan is to use TheThingsNetwork, it publishes the received measurement data back onto an MQTT stream. I will use a Java program to subscribe to this MQTT stream.

Data forwarding

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.