🔹 Brief Introduction
Maintaining a healthy and comfortable environment inside enclosed cabins (cars, smart rooms, etc.) is crucial for safety and well-being. This project uses IoT-based sensors and actuators to monitor temperature, humidity, and air quality. Based on sensor readings, the system activates a fan or heater accordingly. Additionally, it classifies the type of gas present using the MQ135 gas sensor and displays all environmental data on an LCD screen. The integration of automatic control and real-time monitoring makes this system suitable for smart cabin or automotive applications.
🔹 Components List
S.No |
Component Name |
Quantity |
Description/Use |
1 |
Arduino UNO |
1 |
Main microcontroller for processing |
2 |
DHT11 Sensor |
1 |
Measures temperature and humidity |
3 |
MQ135 Gas Sensor |
1 |
Detects gas concentration and type |
4 |
16x2 LCD (I2C) |
1 |
Displays temperature, humidity, gas info |
5 |
Relay Module (2-ch) |
1 |
Controls fan and heater |
6 |
Fan (DC or AC) |
1 |
Cools down the cabin |
7 |
Heater (resistive) |
1 |
Warms up the cabin |
8 |
Jumper Wires |
- |
For circuit connections |
9 |
Breadboard/PCB |
1 |
For assembling the circuit |
10 |
Power Supply |
1 |
Powers the system |
BLOCK DIAGRAM

WORKING
The system begins by reading the temperature and humidity from the DHT11 sensor, and the gas concentration using the MQ135 sensor. It then displays the real-time environmental data on the I2C LCD screen, including the detected gas type based on parts-per-million (PPM) thresholds. If the temperature rises above 35°C, the fan relay is triggered to cool the cabin. If the temperature drops below 20°C, the heater relay is activated to warm the cabin. When the temperature is moderate, both devices remain off. The system ensures dynamic adjustment of the environment inside the cabin for improved safety and comfort, making it suitable for smart home or automotive implementations.
IMAGES USED ARE ONLY FOR SAMPLE PURPOSES!!!!!