ESP32 Occupancy Prediction HVAC Node
ESP32 Occupancy Prediction HVAC Kit – Build Your Own Energy-Saving Smart Node
Every part needed, pre-tested for compatibility, with an AI build companion trained on this exact project. Shipped from Bengaluru in 3-5 days.
Picture a classroom or office where the AC turns on only when the room is about to fill up—cutting waste without anyone touching a switch. This kit lets you assemble a node that reads PIR motion and CO₂ patterns, then uses a simple prediction logic to toggle a relay controlling an HVAC unit. It’s a hands-on introduction to energy-aware IoT, perfect for school projects, hackathons, or experimenting with smart building ideas.
What You'll Build
You’ll wire an ESP32 to a PIR sensor, a MQ135 air-quality sensor, and a DHT22 for temperature/humidity context, then program it to detect occupancy trends. The device predicts when a room will be occupied based on rising CO₂ and recent motion, and activates a 5V relay to start the HVAC just in time. The result is a compact, wall-mountable prototype that demonstrates how predictive automation can slash energy bills.
What You'll Learn
- Interface multiple sensors (PIR, MQ135, DHT22) with the ESP32 via GPIO and ADC
- Calibrate the MQ135 CO₂ proxy reading and interpret air-quality changes
- Implement a basic occupancy prediction algorithm (moving average, threshold logic)
- Control a 5V relay to switch an external load like a fan or AC signal line
Kit Contents
| Component | Quantity |
|---|---|
| ESP32 Dev Board | 1 |
| HC-SR501 PIR | 1 |
| MQ135 CO2 Proxy | 1 |
| DHT22 | 1 |
| 5V Relay Module | 1 |
| MicroUSB Cable | 1 |
| M-M Wires | 15 |
Why Buy This Kit Instead of Sourcing Parts Separately
| Factor | Sourcing Separately | Compoden Kit |
|---|---|---|
| Compatibility checks | You verify every part | Pre-tested as a system |
| Build support | Forums and scattered tutorials | AI companion trained on this exact project |
| Time to first working build | Days of debugging | Hours, with step-by-step guidance |
| Shipping coordination | Multiple sellers, multiple delays | One shipment from Bengaluru in 3-5 days |
Who This Kit Is For
This is built for CBSE Class 11–12 students tackling physics or computer science projects, first-year B.Tech ECE/EEE learners exploring IoT, and ATL Tinkering Lab enthusiasts who want a real-world energy challenge. It’s also a solid choice for Smart India Hackathon prototypes where sensor-based automation meets sustainability.
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 open the AI companion, which walks you through each connection and code block. You can also message us on WhatsApp for a human hand.
Can this really cut electricity bills in my school lab?
The kit demonstrates the principle: by preventing HVAC from running in unoccupied rooms, it can reduce energy use significantly. In a real deployment, you’d scale the sensor network, but the logic you build is the foundation.
How does the occupancy prediction actually work?
You’ll program the ESP32 to track a moving window of PIR triggers and CO₂ rise rate. When both cross pre-set thresholds, the relay turns on early, before the room is fully occupied.
Is the MQ135 accurate enough for real CO₂ measurement?
The MQ135 gives a resistance change proportional to CO₂ concentration; it’s a low-cost proxy. For this predictive logic, trend matters more than absolute ppm, making it perfect for learning.
PIR and CO2 sensor pattern on ESP32 predicts room occupancy and pre-conditions HVAC — energy saving IoT.
What's in this kit
- ESP32 Dev Board
- HC-SR501 PIR
- MQ135 CO2 Proxy
- DHT22
- 5V Relay Module
- MicroUSB Cable
- M-M Wires x15
Shipping Information
- Prepaid Orders: ₹75 for orders up to ₹999, FREE shipping above ₹999
- COD Orders: ₹125 shipping + ₹50 COD fee = ₹175 total
- Delivery Timeline: Dispatch in 1-2 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