0% found this document useful (0 votes)
13 views4 pages

MAA Project

This document outlines a micro-project for building a fire detection system using an Arduino microcontroller, a smoke sensor (MQ-2), and a temperature sensor (LM35/DHT11). The system activates an alarm and can send notifications when smoke or high temperatures are detected. It highlights the components required, working principles, Arduino code, advantages, and potential applications of the system.

Uploaded by

shivam.jadhav144
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views4 pages

MAA Project

This document outlines a micro-project for building a fire detection system using an Arduino microcontroller, a smoke sensor (MQ-2), and a temperature sensor (LM35/DHT11). The system activates an alarm and can send notifications when smoke or high temperatures are detected. It highlights the components required, working principles, Arduino code, advantages, and potential applications of the system.

Uploaded by

shivam.jadhav144
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

MICRO PROJECT

REPORT
BUILD A FIRE DETECTION SYSTEM
USING SMOKE AND TEMPERATURE
SENSORS
1. Introduction
Fire detection systems play a crucial role in ensuring safety by
providing early warnings of potential fire hazards. This project
focuses on designing and implementing a simple fire detection
system using a smoke sensor (MQ-2) and a temperature sensor
(LM35 or DHT11), interfaced with an Arduino
microcontroller. When smoke or high temperatures are
detected, the system triggers an alarm and can also send a
notification.
2. Components Required
 Arduino Uno (or any other microcontroller)
 MQ-2 Smoke Sensor
 LM35/DHT11 Temperature Sensor
 Buzzer
 LEDs (Red and Green)
 Resistors (1kΩ, 220Ω)
 Power Supply (5V/9V Battery or Adapter)
 Jumper Wires
 LCD Display (Optional)
3. Circuit Diagram
The circuit consists of:
 The MQ-2 smoke sensor connected to an analog pin of the
Arduino.
 The LM35 temperature sensor connected to another analog
pin.
 A buzzer and LED connected to digital output pins to signal
fire detection.
 Proper power connections for all components.
(Include a circuit diagram here for better understanding.)
4. Working Principle
1. The MQ-2 sensor detects smoke levels and provides an
analog voltage output proportional to the gas concentration.
2. The LM35 sensor measures the surrounding temperature.
3. The Arduino continuously reads both sensor values.
4. If the smoke level exceeds a preset threshold or the
temperature surpasses 50°C, the Arduino:
o Activates a buzzer and a red LED.

o Displays a warning message on an LCD screen (if used).

o Can be programmed to send an alert via Wi-Fi

(ESP8266) or SMS (GSM module).


5. Arduino Code
const int smokeSensor = A0;
const int tempSensor = A1;
const int buzzer = 8;
const int redLED = 9;
const int greenLED = 10;
void setup() {
pinMode(smokeSensor, INPUT);
pinMode(tempSensor, INPUT);
pinMode(buzzer, OUTPUT);
pinMode(redLED, OUTPUT);
pinMode(greenLED, OUTPUT);
Serial.begin(9600);
}

void loop() {
int smokeLevel = analogRead(smokeSensor);
int tempValue = analogRead(tempSensor);
float temperature = (tempValue * 5.0 * 100.0) /
1024; // Conversion for LM35

Serial.print("Smoke Level: ");


Serial.println(smokeLevel);
Serial.print("Temperature: ");
Serial.println(temperature);

if (smokeLevel > 300 || temperature > 50) {


digitalWrite(buzzer, HIGH);
digitalWrite(redLED, HIGH);
digitalWrite(greenLED, LOW);
Serial.println("Fire Detected!");
} else {
digitalWrite(buzzer, LOW);
digitalWrite(redLED, LOW);
digitalWrite(greenLED, HIGH);
}
delay(1000);
}

6. Advantages
 Provides early fire warning, minimizing damage.
 Cost-effective and easy to implement.
 Can be upgraded with IoT features for remote alerts.
7. Applications
 Home and office fire safety.
 Industrial monitoring.
 Warehouse and storage fire prevention.
8. Conclusion
This micro-project successfully demonstrates a basic fire detection
system using a smoke and temperature sensor. The system can be
further enhanced with IoT for remote monitoring and alerts,
making it a more efficient and reliable safety solution.

Project Completed By: Shivam Jadhav


Guided By: Pagire Madam

You might also like