ESP32 based CO2 PM1, PM2.5, PM4, PM10, VOC sensor for HomeAssistant or standalone. Print without support!
6
25
0
935
updated July 10, 2025

Description

PDF

This is a project for an advanced and very precise ESP32 based Air Quality Sensor. 

Introducing my  air quality sensor project—a comprehensive solution that combines precision sensing, smart connectivity, and dynamic visual alerts to help you monitor your indoor environment in real time.

SEN55 Particulate Matter Sensor:

  • Functionality: Accurately detects particulate matter levels (PM1.0, PM2.5, PM4.0, PM10) to assess air quality.
  • Interface: Uses the I2C protocol for fast and efficient communication with the ESP32.

MHZ19B CO₂ Sensor:

  • Technology: Utilizes Non-Dispersive Infrared (NDIR) technology for precise CO₂ measurements.
  • Measurement Range: Accurately measures CO₂ concentrations from 0 to 5000 ppm with high stability and repeatability.
  • Interface: Uses the Serial protocol connected to UART of ESP32.

SSD1306 OLED Display:

  • Display Specs: A compact 128x64 pixel screen that offers clear, easy-to-read information on air quality metrics.
  • Interface: Uses the I2C protocol for fast and efficient communication with the ESP32.

ESP32 Microcontroller:

  • Performance: Powered by a dual-core Tensilica processor running up to 240 MHz, providing robust processing power and multitasking capabilities.
  • Connectivity: Features integrated WiFi and Bluetooth, enabling seamless communication with Home Assistant and other smart home platforms.
  • Memory: Equipped with up to 520 KB SRAM, allowing efficient handling of sensor data and display updates.

 

Links: 

https://sensirion.com/products/catalog/SEN55

https://www.winsen-sensor.com/d/files/infrared-gas-sensor/mh-z19b-co2-ver1_0.pdf

 

Overview:

This project delivers a holistic air quality monitoring solution that seamlessly integrates with Home Assistant for smart home automation using ESPHOME.  The combination of the SEN55 and MHZ19B sensors ensures comprehensive monitoring of particulate matter and CO₂ levels, while the ESP32 provides the computational muscle and connectivity required for modern IoT applications. The SSD1306 display offers very small :) but  user-friendly interface for local readings, and the WS2812 LEDs (3 module from a strip)  add an extra layer of immediate, visual feedback to help you maintain a healthy indoor environment.

This project is available open-source, inviting collaboration and continuous improvement from the community. Upgrade your indoor monitoring setup and take proactive control of your environment with this innovative and versatile air quality sensor system.

All pieces are designed to print without support. Use white or transparent material for ledfront

Enjoy! :)

 

Buy me a coffee if you want to support me!

Tags



Model origin

The author marked this model as their own original creation.

License


Highlighted models from creator

View more