Smoke Detector using Gas Sensor

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:

Circuit Diagram:

  1. 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
  2. Connect the 5 mm Red LED to Arduino as follows:
    • VCC → 5V
    • GND → GND
    • Anode → Digital Pin 13
  3. Connect the Piezo Buzzer to Arduino:
    • VCC → 5V
    • GND → GND
    • Pin → Digital Pin 8
  4. Connect the jumper wires as required for data transfer and grounding.

Leave a Reply