Automatic Exhaust Fan
Intelligent Ventilation for Safer, Healthier Spaces.
An innovative solution that automatically detects harmful gases and smoke, activating ventilation precisely when needed. This project eliminates human error, enhances safety, and improves air quality in any environment.
Discover More
The Challenge We're Solving
Traditional ventilation systems rely on manual control, leaving room for human error and inconsistency. This can lead to dangerous situations in homes and workplaces.
Safety Risks
Undetected gas leaks (like LPG) or smoke accumulation can lead to fires, respiratory issues, or even explosions, posing a serious threat in kitchens, labs, and factories.
Human Error
Forgetting to turn on an exhaust fan is a common oversight. Manual systems are only effective when people remember to use them, which isn't always the case.
Energy Waste
Fans left running unnecessarily waste electricity. An automated system ensures ventilation operates only when required, leading to significant energy savings.
A Simple, Intelligent Process
Our system operates on a seamless, four-step cycle to ensure constant air quality monitoring and response.
Detection
The MQ-2 sensor constantly monitors the air for combustible gases and smoke particles.
Processing
If levels exceed a safe threshold, a signal is sent to the Arduino UNO, the brain of the system.
Action
The Arduino triggers the 5V relay module, switching on the high-voltage fan circuit.
Ventilation
The exhaust fan activates, clearing the hazardous fumes and restoring air quality.
Hardware Components
This project is built with reliable, off-the-shelf components, making it both cost-effective and easy to assemble.

Arduino UNO
The Microcontroller

MQ-2 Gas Sensor
The Detector

5V Relay Module
The Switch

Exhaust Fan
The Ventilator

Jumper Wires
The Connectors
Circuit Diagram
The schematic below illustrates the connections between the Arduino, sensor, relay, and fan, forming the complete electronic circuit.

The Arduino Code
This simple yet powerful code reads the sensor data, compares it to a threshold, and controls the fan accordingly.
const int MQ2_Pin = A0;
const int Fan = 7;
const int Threshold = 300;
void setup() {
pinMode(MQ2_Pin, INPUT);
pinMode(Fan, OUTPUT);
Serial.begin(9600);
}
void loop() {
int smokeLevel = analogRead(MQ2_Pin);
Serial.print("Smoke Level: ");
Serial.println(smokeLevel);
if (smokeLevel > Threshold) {
digitalWrite(Fan, HIGH); // Turn on fan
} else {
digitalWrite(Fan, LOW); // Turn off fan
}
delay(1000); // Wait for a second
}
Versatile Applications
This system is highly adaptable and provides essential safety across a wide range of environments.
Kitchens
Prevents accidents from cooking smoke or gas leaks.
Bathrooms
Controls humidity and removes stale air automatically.
Garages & Basements
Ventilates fumes from vehicles, paints, or chemicals.
Meet the Creators
This project was brought to life by a dedicated team of engineering students.
R. Srinivasa Manikanta
(24HP5A0221)
Passionate about embedded systems and automation, with a focus on creating practical solutions for everyday problems.
Contact: srinivasmanikantarajapantula@gmail.com
P. Sudheer Babu
(24HP5A0222)
A creative thinker with a knack for circuit design and hardware integration, dedicated to improving safety through technology.
Contact: prathurisudheerbabu@gmail.com
B.V. Surya Narayana
(24HP5A0223)
Expert in software development and programming logic, ensuring the system's brain is as smart and efficient as its body.
Contact: surya@example.com