Smart Fire Detection
Fire and smoke detection system with MQ-2 sensor, flame sensor, and buzzer alarm.
Project Overview
Fire and smoke detection system with MQ-2 sensor, flame sensor, and buzzer alarm.
Bill of Materials (BOM)
- Arduino board
- an MQ-2 smoke/gas sensor
- a flame sensor
- and a buzzer for an audible alarm. An LED can be used for visual alert.
Circuit Diagram & Component Arrangement
Follow the wiring diagram below. Each component connects to specific pins on the microcontroller. Use a breadboard for prototyping and ensure all connections are secure before powering on.
Wiring Summary: The MQ-2 sensor's analog output and the flame sensor's digital output are connected to Arduino input pins. If either sensor detects fire or smoke, the Arduino activates the buzzer and/or LED connected to its output pins.
Step-by-Step Procedure
- Step 1 - Prepare Components: Gather all components from the BOM. Inspect for damage and verify ratings.
- Step 2 - Breadboard Layout: Place the microcontroller on the breadboard. Arrange components for clear wiring paths.
- Step 3 - Power Connections: Connect VCC and GND first. Ensure proper polarity for polarized components.
- Step 4 - Signal Wiring: Connect sensors and actuators per the wiring table. Double-check pin assignments.
- Step 5 - Upload Code: Connect USB, load the sketch, and upload. Verify serial output if applicable.
- Step 6 - Test & Calibrate: Power on and test each function. Calibrate sensors if needed.
- Step 7 - Enclosure (Optional): Mount in a 3D-printed or custom enclosure for durability.
Safety Notes
- Always disconnect power before making wiring changes.
- Use appropriate eye protection when soldering.
- Adult supervision is required for makers under 16.
- Do not exceed voltage ratings of components.
Manish Bookreader
Electronics enthusiast, Embedded Systems Expert, Linux/Networking programmer, and Software Engineer passionate about AI, electronics, books, and cooking.

