Introduction
Required hardware
Arduino IDE & libraries installation
Uploading sketch to the Arduino board
Hardware installation
Viewing data with Cayenne myDevice
Luftdaten integration via PHP script
Introduction
In this story, a SDS011 sensor is used to measure micro particle contamination.
Each mesure is a couple of values : PM2.5 rate and PM10 rate (µg/m³)
Measures are read by an Arduino, and uplinked to TTN by using a LoRaWAN ATIM ACW-DUINO shield.
Our payloads use Cayenne LPP format.
Measurements can be viewed on Cayenne myDevice account.
NB :
The arduino board uses Pin 0 (Rx) and 1 (Tx) UART to communicate with ACW-DUINO shield.
This UART is also used to uplink sketches from computer (Arduino IDE) to the Arduino board.
Therefore, Arduino sketches must be uploaded to the Arduino board bebore pluging ACW-DUINO shield onto the Arduino board