Smoke-Triggered Air Freshener Kit with Arduino Uno + MQ-2 Gas Sensor
Open this project in the Soldr app → What is Soldr.ai → wiring, code and test steps for exactly these parts
Smoke-Triggered Air Freshener Kit with Arduino Uno + MQ-2 Gas Sensor — a beginner-level kit.
Smoke-Triggered Air Freshener Kit with Arduino Uno – Beginner Project
Every part needed, pre-tested for compatibility, with an AI build companion trained on this exact project. Shipped from Bengaluru in 3-7 days.
Kit at a glance
What you build: A gas-sensor trigger: an MQ-2 sensor reads smoke and gas levels, and when the reading passes your threshold, an Arduino Uno lights two red LEDs and switches a relay. That relay can run a small fan or spray pump of your own, so you learn how sensor-driven automation works.
What's in the box
- Arduino Uno R3
- MQ-2 Gas Sensor
- 5V Relay Module
- 5mm Red LED × 2
- 1N4007 Diode × 5
- 10kΩ Resistors × 5
- 220Ω Resistors × 5
- 400-pt Breadboard
- M-M Wires × 15
- 9V Battery Snap
Power: 9V battery, not included. A USB supply is better (see FAQs).
Skill level: Beginner (1-2 hours).
Frequently asked questions
Is this a smoke alarm?
No. It is a learning project and doesn't replace a certified smoke alarm.
Why does the sensor get warm?
The MQ-2 has a built-in heater. It needs a few minutes to warm up, and it drains a 9V battery quickly, so USB power is better.
Is the spray pump included?
No. The relay switches a small low-voltage pump or fan you add.
An air freshener that sprays when the MQ-2 reading rises with smoke or odours. This kit uses a real MQ-2 gas sensor and Arduino Uno to build that intelligent device. In just a couple of hours, you’ll have a working prototype that senses smoke, triggers a relay, and could control a small spray pump—an ideal introduction to environment sensing and practical automation.
What You'll Build
You’ll wire the MQ-2 sensor to read smoke concentration, program an Arduino threshold, and use a relay to switch an external spray pump (not included). The circuit includes red indicator LEDs and a diode-protected relay circuit. By the end, you’ll have a breadboard prototype that responds to real-world smoke just like a commercial air quality system.
What You'll Learn
- Wiring an MQ-2 gas sensor and calibrating its analogue output for smoke detection
- Programming an Arduino Uno to read sensor values and control a relay
- Using a relay module to switch higher-power devices safely while isolating the microcontroller
- Integrating a 1N4007 diode for flyback protection in relay circuits
Kit Contents
| Component | Quantity |
|---|---|
| Arduino Uno R3 | 1 |
| MQ-2 Gas Sensor | 1 |
| 5V Relay Module | 1 |
| 5mm Red LED | 2 |
| 1N4007 Diode | 5 |
| 10kΩ Resistors | 5 |
| 220Ω Resistors | 5 |
| 400-pt Breadboard | 1 |
| M-M Wires | 15 |
| 9V Battery Snap | 1 |
Who This Kit Is For
Perfect for CBSE students exploring sensor-based automation, B.Tech ECE/EEE first-years prototyping mini projects, and ATL Tinkering Lab innovators. Smart India Hackathon participants will find it a quick way to demonstrate air quality solutions. It's a confidence-builder for any maker interested in environment technology.
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 access the AI companion that knows every step of this project. You can also reach us on WhatsApp for direct help.
Does this kit include the air freshener spray pump?
No, the relay output is a dry contact. You can connect any 5V/12V spray pump or solenoid valve you wish. We recommend a small DC air freshener pump available at most local electronics shops.
Can I detect other gases with the MQ-2 sensor?
Yes. The MQ-2 responds to smoke, LPG, propane, hydrogen, and other combustible gases. You can adjust the threshold and code to target a different gas for custom applications.
Do I need any extra tools to complete the project?
All electronic components and wires are included. You only need a USB cable to upload code to the Arduino and a small spray pump of your choice to actuate.
MQ-2 smoke sensor triggers relay air freshener spray pump when smoke detected above threshold.
What's in this kit
- Arduino Uno R3
- MQ-2 Gas Sensor
- 5V Relay Module
- 5mm Red LED x2
- 1N4007 Diode x5
- 10kΩ Resistors x5
- 220Ω Resistors x5
- 400-pt Breadboard
- M-M Wires x15
- 9V Battery Snap
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