ID | Components | Amazon | AliExpress | Bang Good |
---|---|---|---|---|
1 | ESP8266 NodeMCU | 8.39 | 2.10 | 6.33 |
2 | Nova PM Sensor SDS01 | 40.38 | 16.40 | 19.99 |
3 | DHT22 Temperature Humidity Sensor | 12.90 | 2.45 | 6.53 |
4 | Dupont Cables (female-to-female) | 6.98 | 0.45 | 3.96 |
5 | Flat Micro USB Cable 2.1A (< 1m) | 2.27 | 1.00 | 3.22 |
5 | Flat Micro USB Cable 2.1A (Nylon, >=2m) | 9.69 | 3.99 | 2.89 |
6 | USB to Wall Charger | 10.99 | 1.28 | 3.60 |
7 | 10 X 12mm Silicone Tube | 5.99 | 6.21 | 5.53 |
8 | 90° PVC Pipes (3 inch / 2.55 cm) | 8.07 | N/A | N/A |
The total may range from an estimated minimum of 40.17 to an estimated maximum of 106.61 US Dollars (not including shipping).
It enables your computer to communicate (for example, transferring files and installing software) with the computer chip of the Arduino when connected to a USB port; otherwise it won't do anything other than power the arduino board.
dmesg | grep -i ttyUSB
The firmware--built by Luftdaten--configures the Wi-Fi connectivity of the Arduino board and stores the measurements from the SDH011 Dust Sensor and DHT11 Humidity and Temperature Sensor into Luftdaten's database.
The sourcecode of the firmware is available on GitHub.
cd ~/.arduino15/packages/esp8266/tools/esptool/0.4.9
pip install esptool
Reference documentation on esptool: https://github.com/espressif/esptool/blob/master/README.mdctrl + H
esptool --port/dev/ttyUSB0
write_flash 0x0000 ~/Downloads/latest_en.bin
/dev/ttyUSB0
: Open the ArduinoIDE, "Tools -> Port", then "Tools > Get board info" to verify that the board is connected to the correct USB port;~/Downloads/latest_en.bin
: Make sure to write the correct directory path to the firmware.[Errno 13] could not open port /dev/ttyUSB0: [Errno 13] Permission denied: '/dev/ttyUSB0
sudo chmod 666 /dev/ttyUSB0
Your device's connectivity is primordial in collecting data; the arduino does not nearly have enough memory to store the data, so if the Wi-Fi is disconnected then the data gets lost. Search for your device (by its unique ID) again: https://www.madavi.de/sensor/signal.php
⚠️ Why is the link to my sensor highlighted in red?
Your device isn't registered on Luftdaten's database yet. The purpose of the Madavi's links is to troubleshoot your sensor's connectivity and settings.
Check if your sensor is emitting temperature/humidity and Fine Particles data in real time on Madavi: https://www.madavi.de/sensor/graph.php (search the link by your sensor's unique ID). All that you want to observe is whether lines are being drawn on your charts, indicating that measurements are taken in real-time.
Repeat steps 4.1 and 4.2. It's always possible a dupont wire may have been disconnected while setting up your components in the PVC pipe, or that your power outlet doesn't work; in any case, troubleshoot, troubleshoot, troubleshoot!
Links to Madavi below: (once again, search by your sensor's unique ID)
IFrame(src='https://meine.luftdaten.info/register', width=800, height=400)
You will receive a confirmation email to the address provided. Click the link to confirm your account and log-in with the credentials you used to register.
IFrame(src='https://meine.luftdaten.info/login', width=800, height=400)
IFrame(src='https://deutschland.maps.luftdaten.info/#16/37.5436/-122.5123', width=1000, height=350)
Field | Description |
---|---|
Time | In UTC (Coordinated Universal Time), convert the time and date of your measurement to match your timezone. You will also notice that the sensor is taking measurement at intervals of about 150 seconds: For 125 seconds, the SDS011 is shut down & the fan is off. Then for 20 seconds, the SDS011 is activated and the fan is on. For the last 5 seconds measurements are taken, averaged, and saved to Luftdaten's servers. |
durP1 | |
ratioP1 | |
P1 | |
durP2 | |
ratioP2 | |
P2 | |
SDS_P1 | Coarse Dust Particles (PM10), less than 10 to 2.5 microns in diameters, measurements in µg/m3 (micrograms per meter cubed) averaged over 20 seconds of data collection |
SDS_P2 | Fine Particles (PM2.5), less than 2.5 microns, measurements in µg/m3 (micrograms per meter cubed) averaged over 20 seconds of data collection |
PMS_P1 | |
PMS_P2 | |
Temp | In degrees Celcius (°C) |
Humidity | Measured as the percentage of saturation humidity |
BMP_temperature | |
BMP_pressure | |
BME280_temperature | |
BME280_humidity | |
BME280_pressure | |
Samples | The number of measurements taken within the span the Dust Sensor is activated; the raw particle measurements (SDS_P1 & SDS_P2) are averages of those samples |
Min_cycle | |
Max_cycle | |
Signal | |
HPM_P1 | |
HPM_P2 |