In this example, first rotate the screen by 90 degrees, and draw the static components such as the circles, the measuring scale, and the title text. After the concentration value is detected, it is printed inside the circle.
This example extends previous PM2.5 example to show the PM2.5 concentration on the LCD.
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
In this example, first rotate the screen by 90 degrees, and draw the static components such as the circles, the measuring scale, and the title text. After the concentration value is detected, it is printed inside the circle.
Code Reference
In this example, first rotate the screen by 90 degrees, and draw the static components such as the circles, the measuring scale, and the title text. After the concentration value is detected, it is printed inside the circle.
AMB21 / AMB22 and QVGA TFT LCD:
(Note: PMS3003/PMS5003 sensor requires 5V voltage)
AMB23 and QVGA TFT LCD:
BW16 and QVGA TFT LCD:
BW16 type C and QVGA TFT LCD:
Open the example, “Files” → “Examples” → “AmebaSPI” → “ILI9341_TFT_LCD_PM2.5”
Compile and upload to Ameba, then press the reset button.
Then you can see the concentration value of PM1.0, PM2.5 and PM10 on the LCD.
Create an account to leave a comment. Already have an account? Log In.
Become a member to follow this project and never miss any updates
By using our website and services, you expressly agree to the placement of our performance, functionality, and advertising cookies. Learn More