🪔 Diwali Break: Orders placed now will ship from 25th November 2026. Place your order today — we'll get it to you right after we're back!
Project Hub /IoT & Connected Devices/Smart Home & Building Automation/Make Your Own Automatic Exhaust Fan | Full Electronics Project
Make Your Own Automatic Exhaust Fan | Full Electronics Project
Beginner
ATTINY85
₹500 – ₹1,500
3 – 6 Hours
Partial Kit

Make Your Own Automatic Exhaust Fan | Full Electronics Project

Build a small electronic device using an ATtiny85 and MQ2 gas sensor that automatically switches on an exhaust fan when smoke is detected.

Originally published on ElectronicsForU
View original tutorial

Parts You'll Need

This project is sourced from another site, not written by us — this list is our best match of their components against what we stock, not a verified bill of materials. Always check the original blog (linked above) for the actual parts list before buying.

This list includes a generic resistor set as a placeholder — it is not matched to the exact value or part number this circuit needs. The correct one is specified on the original source page linked above; check it before buying.

We don't carry yet: Voltage Regulator IC (7805 / LM317 / 1117)
ATmega / AVR chip
Transistors (BC547 / 2N2222 / TIP / MOSFET)
Potentiometer / Trimpot
Capacitors

Browse all components

How It Works

Why Build This

Automate kitchen or workshop ventilation to clear out smoke and fumes instantly.
Learn how to interface analog gas sensors with microcontrollers to trigger real-world electrical loads.

Real-World Application

Kitchens, restaurants, and enclosed spaces requiring automated ventilation upon smoke detection.

Skills You'll Learn

Microcontroller programming
Sensor threshold calibration
Relay interfacing
Transistor switching
Voltage regulation
LED indicator wiring

Safety Precautions

Exercise caution when working with mains voltage connected via relays.

Technology Tags

ATTINY85
MQ2 GAS SENSOR
RELAY
EXHAUST FAN
ARDUINO IDE
C++

Frequently Asked Questions

Yes, you can write the code in the Arduino IDE and upload it to the ATtiny85 using a dedicated programmer or an Arduino board configured as an ISP.
The potentiometer allows you to manually adjust the sensitivity threshold of the MQ2 gas sensor so it triggers the fan at your preferred smoke concentration.
The ATtiny85 output pins cannot supply enough current directly to drive a relay coil, so the BC547 transistor acts as an amplifier to switch the relay safely.

Gallery

This page is part of Kitkraft's Project Hub — a curated collection of electronics & robotics projects gathered from the maker community to help students and hobbyists discover and learn to build. Kitkraft does not claim authorship of the original project, and makes no representation as to the accuracy, completeness or safety of third-party source material. The summary and "How It Works" explanation above are AI-generated, rewritten with reference to the original tutorial — not a reproduction of it. Full credit and a direct link to the original source are provided above. If you're the original creator and have a concern about how your work is represented here, please contact us and we'll address it promptly.

Kitkraft Project Hub — curated from the maker community, credited at the source.
PRJ-00497