Close
0%
0%

Room Air Quality Monitor

An average Room AQI Monitor with a Classic Twist

Similar projects worth following
Greetings everyone and welcome back! Here’s something super fun and informative: the Room Air Quality Meter Project that turns room air quality data into a vibrant visual experience. This device, which is powered by the Raspberry Pi Pico W and the SGP40 gas sensor, does more than just monitor the air; it visualizes the environment using Conway’s Game of Life on two RGB LED panels. It is designed to constantly track Total Volatile Organic Compounds (TVOC) and convert the measurements into a dynamic simulation.

Powered by the Raspberry Pi Pico W and the SGP40 gas sensor, this device goes beyond traditional air monitoring.

The display provides immediate, clear feedback as the air quality varies by changing its color from a soothing green to a warning yellow to a bright red. The experience is made more interesting and informative by the availability of live TVOC data via a simple web app, which is made possible by the Pico W's onboard Wi-Fi.

It combines interactive design with environmental awareness in a small, wireless package! and this article presents the simple steps you can take to develop this project. And now let's begin the build process.

MATERIALS REQUIRED

These are the materials used in this project:

  • Custom PCBs (provided by PCBWAY)
  • RGB P3 64x32 Matrix Board
  • Raspberry Pi PICO W
  • IP5306 IC
  • 10 uF SMD Capacitors 1206 Package
  • USB Type-C Port
  • 3D-Printed Parts
  • Li-ion Cell 3.7V 2200mAh 18650
  • 18650 Cell holder SMD version
  • Connecting Wires
  • SGP40 Gas Sensor PG7 Probe

PREVIOUS PROJECT—PORTABLE AIR QUALITY METER


Here's a quick recap of how this project got started:In order to monitor the AQI levels in my locale, I made a very basic version of an air quality meter that uses an MQ135 gas sensor to monitor air data such as the detection of smoke, CO₂, nitrogen oxide, ammonia, etc. in the atmosphere. The data is then displayed on an SSD1306 OLED display. This setup worked, but it only showed the amount of harmful gases suspended in our environment, not the actual AQI readings.

https://www.hackster.io/Arnov_Sharma_makes/portable-air-quality-meter-64d7c6

After revisiting our approach, we found the SGP40, a top-notch AQI sensor that provides real-time air quality readings and excels at detecting Total Volatile Organic Compounds (TVOC).

DESIGN

To begin the project, we created a 3D model utilizing the same two Matrix panel arrangement used in our previous Snake game max project.

In that project, we created two frame-like parts that connect two matrix panels to form a single, very long panel by attaching the two panels together side by side.

We have modeled a small driver board on the backside of the matrix, which is fastened to two mounting holes on one of the frames supporting the two displays.

A separate battery board with an SMD lithium cell holder was then added.

Our objective is to wall-mount the setup vertically, so we modeled two frame-like parts. The top frame part will be used to hang the setup on a wall using nails, and the bottom frame part houses the SGP40 Probe. We also added a circular opening where the PG7 connector can be fastened.

Following model completion, we used our Creality K10 Max to print the Top and bottom frames from orange PLA, while the Matrix holder parts were reused from our previous Snake game Max project.

PCB DESIGN

The PCB design process came next, and we began putting together the schematic. There are two main sections in the schematic: the Power section, which included the IP5306 power management circuit, which is a very helpful circuit that I always use in my projects when 5V power is needed. It is dependable, simple to assemble, requires few components, has good efficiency, has battery low- and high-cut features, even has LED fuel indication, and provides stable 5V 2A for driving any 5V device.

The Matrix will be powered by our beloved Raspberry Pi PICO W, which is coupled to a HUB75 connector in the second section.

We connected the matrix's HUB75 pins (CON 16) to the PICO's GPIO pins in the following order: A to GPIO19, B to GPIO16, C to GPIO18, D to GPIO20, E to GPIO22, CLK to GPIO11, LAT/STB to GPIO12, OE to GPIO13, R1 to GPIO2, G1 to GPIO3, B1 to GPIO4, R2 to GPIO5, G2 to GPIO8, and B2 to GPIO9.

Additionally, we created an additional board that would house the SMD lithium cell 18650 holder. A JST wire harness will connect this board to the driver board's battery connector.

We constructed both PCBs using the dimensions from the Cad model, placing components in their proper...

Read more »

SGP40.pdf

Adobe Portable Document Format - 1.22 MB - 08/15/2025 at 22:31

Preview

PI DISPLAY v26.step

step - 3.52 MB - 08/15/2025 at 22:31

Download

SCH.pdf

Adobe Portable Document Format - 186.17 kB - 08/15/2025 at 22:31

Preview

04_8UvbUW3JJE.png

Portable Network Graphics (PNG) - 92.87 kB - 08/15/2025 at 22:31

Preview

LEFT.3mf

3mf - 61.08 kB - 08/15/2025 at 22:31

Download

View all 6 files

  • 1
    DRIVER BOARD ASSEMBLY PROCESS

    Using the solder paste dispensing syringe, solder paste is applied to each SMD component pad to start the driver board's PCB assembly process. Here, 63/37 Sn/Pb solder paste is being used.

    • We pick all of the SMD components, including the IP5306 IC setup, using our ESD Tweezers and position them correctly in their position.
    • After that, the PCB is set on a reflow hotplate, which heats it from below to the melting point of solder paste, causing all of the SMD components to be connected to their pads.
    • The next step is the through-hole component assembly, which starts with the creation of a large HUB75 16 pin connector by aligning two con8 male header pins side by side.
    • After that, a type C port is installed in its place, and then a push button.
    • Next, we place two CON2 JST connections, which are used to add a lithium cell to our driver board. In order to increase the battery capacity of our arrangement, we added two connectors so that we could utilize a different battery board.
    • Finally, two CON20 female header pins are attached to the Raspberry Pi Pico's footprint. We then flip the board over and use a soldering iron to secure all of the through-hole components in place between the pads.
    • Once the assembly process is finished, we can place the PICO W into the two CON20 header pins to position it.
  • 2
    PCB ASSEMBLY-BATTERY BOARD
    • We start the process by applying solder paste to both of the SMD cell holder's pads, much like we do with the driver board assembly.
    • After positioning the lithium cell holder over its designated spot, the entire board is placed over the reflow hotplate, which melts the solder paste and joins the PCB and lithium cell holder.
    • We soldered the positive and negative wires of the JST connector to the positive and negative of the battery board to complete the assembly.
  • 3
    DUAL RGB P3 Matrix Panels

    For the Display of this project, we are reusing two of our P3 RGB 64x32 matrix Panels that we used in our previous Snake Game project.

    These two panels are connected side by side and secured using a special component that resembles a frame that joins displays together. To create a longer 128x32 RGB matrix panel, which will serve as our primary display for the current project, these 64x32 matrix panels are connected together side by side.

    we got both of these displays from PCBWAY's GIFTSHOP and below is the link to the wiki page of the display.

    https://www.waveshare.com/wiki/RGB-Matrix-P3-64x32

View all 13 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