Skip to the content
2 layers75 × 75 mmAir quality pcb, the printed circuit board in 3D

PCB design for a custom air quality measuring device

Size
75 × 75 mm
Copper layers
2
Thickness
1.6 mm
Parts
30
Nets
43
Pads
154
Tracks, vias
303, 81
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
14 Apr 2026
Updated
27 May 2026

Overview

Air quality pcb is an open-source printed circuit board by aleemacc, from the aleemacc/air_quality_sensor repository on GitHub. It is a 2-layer board of 75 × 75 mm with 30 parts on 43 nets, routed with 303 tracks and 81 vias.

It is built around the SGP41-D-R4, TPS61027DRCRSY and MQ-6, with the SCD41-D-R2 among its other parts. Its parts include 11 capacitors, 7 resistors, 6 ICs, 2 connectors and 1 inductor. It belongs with the sensors and measurement boards and the ESP32 and RISC-V boards of this library.

Main components

4

README

README.md

Description

This project consists on the full development of an embedded system, with the purpose of measuring air quality.

Included in this project:

  • PCB design and schematics
  • Firmware for the device
  • Communication with other devices
  • Integration with external systems (graphical interface)

Characteristics

  • The device will be able to measure the following:
    • Temperature
    • Humidity
    • CO2 levels
    • TVOC
    • NOx
    • LPG
    • CO
  • Wireless connectivity (WiFi, BLE or LoRa)
  • Modularity. Ideally you should be able to use only the sensors you need.

Hardware

ESP32-C6

The device is built around Seed Studio's ESP32-C6 dev-board, this simplifies the PCB design. Given its size and extensive set of features, it gives the project tons of flexibility.

Sensors

SCD41

Sensirion's SCD41 provides temperature, humidity and CO2 measurements with enough precision for home use. It also includes calibration for the CO2 measurements.

SGP41

Also from Sensirion, but it measures TVOC and NOx. Temperature from the previous sensor can be used to calibrate the SGP41.

MQ-6

Manufactured by SparkFun, this is a LPG sensor.

MQ-7

Once again manufactured by SparkFun, this senses Carbon Monoxide.

Display

The design features a FFC connector to add a TFT display.

Power

When powered by the ESP's USB-C connector, the ESP board itself provides power to every component. When a one cell battery pack is used (ie. 18650 or 18300 Li-ion), components powered by 3V3 are still managed by the ESP. However, sensors requiring 5V are powered through a Boost Converter that transforms the batteries voltage to a steady 5V.

Interfaces

The sensor SCD41 and SGP41 communicate over I2C, both MQ-x sensors use an analog signal and the display will be set up to use 4-wire SPI.

PCB

The current version of the project features a 2 layer PCB, with the bottom one being a ground plane. The large space in the middle is there to give space for a 18650 or 18300 battery (depending on which sensors are installed). It also serves to distance the SCD41 sensor from heat sources, such as the MCU or the boost converter. The SCD41 sensor is excluded from the ground plane and placed within an isolation island, for better accuracy in the temperature measurements

Firmware

This device is intended to work both with home assistant and independently. For now only yaml code has been added for testing in home assistant with limited functionality.

Images

breadboard prototype
This shows the first working prototype on a breadboard, only with the SCD41 and the SGP41 sensors.

Documentation

All the documentation used for the design of the PCB can be found at ./hardware/kicad/docs/

License

This project is licensed under multiple licenses:

  • Firmware: Apache License 2.0
  • Hardware: CERN Open Hardware Licence v2 - Permissive (OHL-P)

See the LICENSE files in each directory for details.

Parts

30
QtyValueFootprintReferences
51uFCapacitor_SMD:C_1206_3216MetricC1, C2, C3, C6, C8
410kResistor_SMD:R_1206_3216MetricR1, R2, R3, R4
30.1uFCapacitor_SMD:C_1206_3216MetricC4, C5, C7
24.7kResistor_SMD:R_1206_3216MetricR6, R7
2MQ-6Sensor:MQ-6U2, U3
110uFCapacitor_SMD:C_1206_3216MetricC11
12,2uFCapacitor_SMD:C_1206_3216MetricC9
14.7Resistor_SMD:R_1206_3216MetricR5
147uFproject_extras:CAPPM3216X180NC10
152435-2871project_extras:display_connectorJ2
16,8uHproject_extras:INDPM6363X300NL1
1BuzzerBuzzer_Beeper:Buzzer_12x9.5RM7.6BZ1
1Conn_01x02project_extras:BATT_connectorJ1
1SCD41-D-R2project_extras:SCD41DR2IC1
1SGP41-D-R4project_extras:SGP41IC2
1SolderJumper_3_OpenJumper:SolderJumper-3_P1.3mm_Open_RoundedPad1.0x1.5mm_NumberLabelsJP2
1TPS61027DRCRproject_extras:TPS74901DRCRIC3
1XIAO-ESP32-C6project_extras:XIAO-ESP32-C6-SMDU1

The 29 most common of 30 parts.

More from aleemacc/air_quality_sensor

1
  • 2 layers75 × 75 mmGlp n co, the printed circuit board in 3D

    Glp n co

    aleemacc/air_quality_sensor

    PCB design for a custom air quality measuring device

    14 parts

Similar boards

  • 2 layers115.7 × 107.6 mmMotor flasher, the printed circuit board in 3D

    Motor flasher

    kscalelabs/motor-flasher

    Motor flasher repository

    114 parts2
  • 4 layers75 × 56.4 mmEsp32-c6-wroom1 board, the printed circuit board in 3D

    Esp32-c6-wroom1 board

    pushtiujeniya/esp32-c6-environmental-logger

    This repository contains an Environmental Sensor Station and Data Logger powered by the ESP32-C6-WROOM-1 microcontroller.

    59 parts4
  • 6 layers60 × 100 mmSenseboard, the printed circuit board in 3D

    Senseboard

    CPSLO-AI-Campus-Fire-Detection/senseboard

    PCB for sensor stack and compute for fire detection system

    109 partsAGPL-3.0
  • 2 layers7.2 × 41.9 mmSensor puck, the printed circuit board in 3D

    Sensor puck

    david072/sensor_puck

    60 parts
  • 4 layers65 × 56 mmSensor HAT, the printed circuit board in 3D

    Sensor HAT

    Eniemooo/Sensor-HAT

    Open-hardware indoor air sensor (CO2, VOC/NOx, T/RH, light, sound): HAT for Raspberry Pi or standalone with Seeed XIAO + ESPHome. KiCad 10.

    112 parts
  • 4 layers25.5 × 62.8 mmAqproto, the printed circuit board in 3D

    Aqproto

    HOUXA8/aqproto

    Personal Project

    31 parts
  • 4 layers60 × 80 mmWisp, the printed circuit board in 3D

    Wisp

    huulanka/wisp

    Open-source ESP32 room climate monitor — CO2, VOC, humidity, temperature and light sensing with custom PCB, MQTT/HomeKit integration, and OTA firmware updates. Full hardware + software, from schematic to BOM.

    91 partsMIT
  • 2 layers49 × 50.4 mmAirMonitor, the printed circuit board in 3D

    AirMonitor

    JJendryka/AirMonitor

    60 parts

Questions

How big is the Air quality pcb PCB?

It measures 75 × 75 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Air quality pcb use?

30 parts, built around the SGP41-D-R4, TPS61027DRCRSY, MQ-6 and SCD41-D-R2. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Air quality pcb KiCad files?

From the aleemacc/air_quality_sensor repository on GitHub, at the commit this page was made from: the board is hardware/kicad/original/air_quality_pcb.kicad_pcb and its schematic hardware/kicad/co2_n_voc/co2_n_voc.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Air quality pcb design in my own project?

Its repository states no licence, so its author keeps all rights: ask aleemacc before reusing the design.