Close
0%
0%

SPI – Show PM2.5 Concentration on ILI9341 TFT LCD

This example extends previous PM2.5 example to show the PM2.5 concentration on the LCD.

Similar projects worth following
This example extends previous PM2.5 example to show the PM2.5 concentration on the LCD.
(Note: PMS3003/PMS5003 sensor requires 5V voltage)

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.

  • 1 × AmebaD [ AMB23 / AMB21 / AMB22 / BW16 ]
  • 1 × ILI9341 TFT LCD with SPI interface
  • 1 × PlanTower PMS3003 or PMS5003

  • Code Reference

    pammyleong09/12/2022 at 09:48 0 comments

    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.

View project log

  • 1
    Wiring Diagrams

    AMB21 / AMB22 and QVGA TFT LCD:
    (Note: PMS3003/PMS5003 sensor requires 5V voltage)

    1AMB23 and QVGA TFT LCD:

    1BW16 and QVGA TFT LCD:

    1

    BW16 type C and QVGA TFT LCD:

    1
  • 2
    Open Example

    Open the example, “Files” → “Examples” → “AmebaSPI” → “ILI9341_TFT_LCD_PM2.5”

    2

    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.

    22

View all instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates