Smoke Detector Project using Arduino
Project Description:
In this project, we will create a smoke detector using Arduino. The smoke detector will detect the presence of smoke and notify the user through a buzzer and a red LED if the smoke density exceeds the safety limit. The project utilizes an MQ-2 gas sensor to detect smoke levels, and the data is processed by the Arduino UNO microcontroller. If smoke is detected, the system will trigger an alarm through the buzzer and provide visual feedback using the red LED.
Components and Supplies:
- Arduino UNO: Arduino UNO
- 5 mm Red LED: 5 mm Red DIP LED (Pack of 50)
- 5 mm Green LED: 5 mm Green DIP LED
- Jumper wires: Jumper wires
- Gas Sensor: MQ-2 Smoke LPG Butane Hydrogen Gas Sensor Detector Module
- Piezo Buzzer: 3v Active Electromagnetic Buzzer Pack of 5
- Breadboard: GL-12 840 Points Solderless Breadboard
Circuit Diagram:
- Connect the MQ-2 gas sensor to the Arduino UNO:
- VCC → 5V
- GND → GND
- A0 → Analog Pin A0
- B0 → Analog Pin A1
- H1 → GND
- H2 → 5V
- Connect the 5 mm Red LED to Arduino as follows:
- VCC → 5V
- GND → GND
- Anode → Digital Pin 13
- Connect the Piezo Buzzer to Arduino:
- VCC → 5V
- GND → GND
- Pin → Digital Pin 8
- Connect the jumper wires as required for data transfer and grounding.