Monitoring PM2.5 particle concentration

Tell us the story of your project: 

In this project, I used a air quality sensor to measure the concentration of pollutant particles in the air, and displayed it on a LCD screen for easy monitoring.

How-to: 

In this project I am again using the Ameba-1 development board from Realtek, based on the RTL8195/RTL8710 soc, part of its AmebaIoT ecosystem. This board can be programmed using the Arduino IDE and is pin compatible with many sensors and expansion boards. It also has WiFi, NFC, and USB Host functionality as well, making it suitable for many IoT applications.

 

To begin with, make sure you have the Arduino IDE installed and configured for programming the Ameba-1 board. Instructions to do this can be found at https://www.amebaiot.com/en/ameba-arduino-getting-started/

 

Next, we can begin to connect the parts together. Follow the wiring guide on this page https://www.amebaiot.com/en/ameba-arduino-spi-lcd-pm2-5/.

I recommend starting with the PMS3003 air quality sensor first, since it only uses 4 wires. The TFT LCD screen will need 9 wires, and not all of them connect to the Ameba-1 board, so it can get confusing. Make sure you check the wiring guide carefully, and use wires with the same color as the guide to prevent confusion if possible. At the very least, the wires should be different colors, otherwise you could connect the power supply wrongly and risk damaging the PMS3003 sensor. Try to keep the wires neat, this is what mine looked like after I am done. 

After completing the wiring, doubly and triple check that it is correct before connecting the USB cable to the board. 

 

The next step would be to program the board. If you have set up your Arduino IDE correctly, yo will be able to find the example code in "Files" -> "Examples" -> "AmebaSPI" -> "PM25_on_ILI9341_TFT_LCD". Open the example, connect the USB cable to the board, and upload the code. After this is done, reset the board, and you should see the LCD screen come to life. You can tinker around with the code and change how the air quality data is displayed. The PMS3003 sensor measures the concentration of three particle sizes, PM1.0, PM2.5 and PM10.

 

Further steps. If you plan on doing long term monitoring, it would be a good idea to make a case for this system, so that the wires, sensor and board are hidden from view and the screen is protected.

Difficulty: 
Duration: 
Collaborators: 
wyy170592
Number of Forks: 
0
Tools: 
Name: 
Arduino IDE
Quantity: 
1
Materials: 
Name: 
ILI9341 TFT LCD screen
Quantity or amount: 
1
Name: 
PMS3003 Air quality sensor
Quantity or amount: 
1
Boards & Kits: 
Name: 
Realtek RTL8195
Quantity: 
1
Team Members: 
Team member name: 
wyy170592
What role did this person play on the project?: 
Project Lead
Public
Sort Order: 
0
Teaser: 
Worried about air pollution? This system will monitor the real time concentration of pollutants in the air so you don't have to!
Show & Tell video as default: 
Creation Date: 
Friday, March 6, 2020 - 18:53