Occupant-Aware Air Quality Manager Kit with ESP32 + Sensor
Open this project in the Soldr app → What is Soldr.ai → wiring, code and test steps for exactly these parts
Occupant-Aware Air Quality Manager Kit with ESP32 + Sensor — an expert-level kit.
A learning project, not a certified air-quality instrument.
Build a Smart Occupancy-Based Air Quality Controller with ESP32 – Our Air Manager Kit
Every part needed, pre-tested for compatibility, with an AI build companion trained on this exact project. Shipped from Bengaluru in 3-7 days.
Imagine a room that ventilates only when occupied and when air quality actually drops – saving energy while maintaining perfect freshness. This kit lets you build an occupancy-aware air quality controller that reads CO2 from an MH-Z19B sensor and gas levels from an MQ-135, and switches a relay to drive a low-voltage fan. Mains fans or ERVs must be wired by a qualified electrician. It logs every reading with a real‑time timestamp to microSD, so you can track trends over days.
What You'll Build
You’ll assemble a fully functional indoor air quality controller. It uses two PIR sensors to differentiate between ‘room occupied’ and ‘vacant’, then intelligently triggers ventilation only when CO₂ crosses a threshold or MQ-135 values indicate poor air – but not when the room is empty. A 0.96-inch OLED shows live CO₂, gas level, and relay status. The DS3231 RTC timestamps every log entry on the SD card, creating a permanent record for analysis or compliance.
What You'll Learn
- Interface an NDIR CO₂ sensor (MH-Z19B) over UART and interpret ppm values
- Calibrate and use an MQ-135 for broad air quality changes
- Control a 4‑channel relay module with logic‑level signals from the ESP32
- Combine SPI microSD logging with I²C RTC for reliable timestamped data storage
Kit Contents
| Component | Quantity |
|---|---|
| ESP32 Dev Board | 1 |
| HC-SR501 PIR | 2 |
| MH-Z19B CO2 Sensor | 1 |
| MQ-135 Gas Sensor | 1 |
| 4-ch Relay Module | 1 |
| DS3231 RTC | 1 |
| MicroSD Module | 1 |
| 0.96in OLED | 1 |
| LM2596 Buck Converter | 1 |
| 100nF Caps | 10 |
| 10kΩ Resistors | 10 |
| PCB Prototype Board | 2 |
| Enclosure Box | 1 |
| 12V Adapter | 1 |
| Soldering Iron | 1 |
| Solder Wire | 1 |
Who This Kit Is For
Home automation enthusiasts ready to tackle a real IoT project, B.Tech ECE/EEE students working on smart building concepts, Smart India Hackathon teams prototyping occupancy‑based energy management, and engineers designing custom ventilation controls for apartments or labs. If you’re comfortable with soldering and Arduino IDE or ESP-IDF, this kit gives you the complete hardware to move from idea to working installation.
Built and Backed by Compoden
Every Compoden kit ships with an AI build companion trained on this exact project — accessible via a QR code on the box, with WhatsApp and email backup. We've spent 10 years building projects for makers, schools, and institutions across India. If a part fails because of a manufacturing defect, replace it free within 7 days.
What if I get stuck during the build?
Scan the QR code to chat with our AI build companion, which knows every connection and code line for this project. You can also reach us on WhatsApp for direct guidance.
Can this kit control a 230V exhaust fan safely?
Yes, the included 4‑channel relay module is rated for 10A at 250V AC. You’ll wire one channel to your fan’s supply line as shown in the build guide, keeping mains connections inside the enclosure box.
Does the system still log data if I skip the relay and just monitor air quality?
Absolutely. The microSD logging and OLED display work independently of the relay. You can use the kit purely as a CO₂ and air quality data logger without switching any load.
How often should I calibrate the MH-Z19B and MQ-135?
The MH-Z19B uses automatic baseline calibration; it self‑corrects over time. The MQ-135 benefits from an initial heating run (24 hours) before first use, and we recommend a zero‑point check every few months against known good air.
PIR occupancy + MH-Z19B CO2 + MQ-135 air quality auto-trigger relay-controlled ERV ventilation and log air quality trends.
What's in this kit
Do you deliver across India?
Yes. We ship Occupant-Aware Air Quality Manager Kit with ESP32 + Sensor across India including Delhi, Mumbai, Bangalore, Hyderabad, Chennai, and Pune. Orders ship in 3-7 days.
What payment options are available for Occupant-Aware Air Quality Manager Kit with ESP32 + Sensor?
We accept UPI, all major debit and credit cards, and Cash on Delivery (COD) available.
Built and shipped from Compoden, with UPI and cards, plus COD available.
Choose your assembly option:
- Soldering Kit — 25W soldering iron, 60/40 solder wire, flux, and small perfboard for permanent assembly.
- Breadboard Combo — 800-point full-size breadboard with 65-piece jumper wire pack for solderless prototyping.
Other projects you can build
Shipping Information
- Prepaid Orders: ₹45 for orders up to ₹1,999, FREE shipping above ₹1,999
- COD Orders: ₹45 shipping for orders up to ₹1,999, FREE shipping above ₹1,999. COD available.
- Delivery Timeline: Dispatch in 3-7 days, delivery in 2-7 days depending on location
Returns & Warranty
- 7-Day Return: Manufacturing defects only (approval required)
- Warranty: 7 days from delivery
- Non-Returnable: Batteries, consumables, cut wires, clearance items