SPI – Show PM2.5 Concentration on ILI9341 TFT LCD
Materials
Example
Introduction
This example extends previous PM2.5 example to show the PM2.5 concentration on the LCD.
Procedure
AMB21 / AMB22 and QVGA TFT LCD wiring diagram:
(Note: PMS3003/PMS5003 sensor requires 5V voltage)
AMB23 and QVGA TFT LCD wiring diagram:
BW16 and QVGA TFT LCD wiring diagram:
BW16 type C and QVGA TFT LCD wiring diagram:
AW-CU488 Thing Plus and QVGA TFT LCD wiring diagram:
AMB25 and QVGA TFT LCD wiring diagram:
AMB21 / AMB22 and Adafruit 2.8” TFT LCD wiring diagram:
AMB23 and Adafruit 2.8” TFT LCD wiring diagram:
BW16 and Adafruit 2.8” TFT LCD wiring diagram:
BW16 type C and Adafruit 2.8” TFT LCD wiring diagram:
AW-CU488 Thing Plus and Adafruit 2.8” TFT LCD wiring diagram:
AMB25 and Adafruit 2.8” TFT LCD wiring diagram:
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.
Code Reference