0% found this document useful (0 votes)
193 views

A Project Report ON: Fire Alarm

This project report summarizes the development of a fire alarm system using a flame sensor, NodeMCU microcontroller, buzzer, and connecting wires. The system is designed to detect fire in its early stages and automatically sound an alarm. When a fire is detected, the flame sensor sends a signal to the NodeMCU which triggers the buzzer to alert people of the fire. The system provides early warning of fires and has advantages of low cost and ability to call emergency services. Potential disadvantages include possible false alarms.

Uploaded by

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

A Project Report ON: Fire Alarm

This project report summarizes the development of a fire alarm system using a flame sensor, NodeMCU microcontroller, buzzer, and connecting wires. The system is designed to detect fire in its early stages and automatically sound an alarm. When a fire is detected, the flame sensor sends a signal to the NodeMCU which triggers the buzzer to alert people of the fire. The system provides early warning of fires and has advantages of low cost and ability to call emergency services. Potential disadvantages include possible false alarms.

Uploaded by

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

A

PROJECT REPORT
ON
Fire Alarm
SUBMITTED BY GUIDED BY

Prakash Kr Sharma (11610364) Dr.Rajesh Singh


Sumit kumar(11606619)
Akash Choudhary(11614263)

BCA(Bachelor of Computer Applications)

6th Semester

SCHOOL OF COMPUTER APPLICATION

LOVELY PROFESSIONAL UNIVERSITY,


PUNJAB
Lovely Professional University
Jalandhar, Punjab

CERTIFICATE
I hereby certify that the project entitled “Fire Alarm” which is being
presented in partial requirement for the award of degree of Bachelor of
technology and submitted in Department of Computer Application, Lovely
Professional University, Punjab is an authentic record of my own work
carried out during 6th semester under the supervision of Dr.Rajesh Singh,
Department of Computer Application, Lovely Professional University, Punjab.

The matter presented in this dissertation has not been submitted by


me anywhere for the award of any other degree or to any other institute.

STUDENT GUIDE

Prakash kr Sharma (11610364) Dr.Rajesh Singh

01
ACKNOWLEDGEMENT
It has come out to be a sort of great pleasure and experience for
me to work on the project Fire Alarm. I wish to express my
indebtedness to those who helped me i.e. the faculty of our
Institute Dr.Rajesh Singh Mam during the preparation of the this
project. This would not have been made successful without his
help and precious suggestions. Finally, I also warmly thanks to all
my friends and family who encouraged me to an extend, which
made the project successful.

02
CONTENTS

1.Introduction……………………………………………………………………05

2.Components……………………………………………………………………0
6

3.Circuit Diagram..................................................................09

4.Coding................................................................................10

5. Advantages & Disadvantages…………….…………………………..12

6.Conclusion………………………………………………….………………….13

7.Futurescope…………………………………………………….…………….13

8.Bibliography…………………………………………………….…………….14
INTRODUCTION

Fire is one of the most dangerous events possible;


somewhere in the world, one occurs every minute of
every day. While fire can be our friend in some
instances, it can be our worst enemy when it’s
uncontrolled and allowed to continue through a
building. Fire is, of course, destructive, and the smoke
from a fire creates a toxic, dangerous atmosphere.
The rapid detection of a fire and its control can save
several thousand lives, thousands of injuries, and
millions of dollars in property loss each year.

The basic objectives of effective fire detection


(protection) measures is to protect human lives,
material assets and the environment from dangers and
the effects of fire.

An automatic fire detection system is designed to


detect a fire in its incipient stage and to automatically
initiate programmed control functions.

03
COMPONENTS
The components used for making this Fire
Alarm are:-
1) Flame sensor
2)NodeMCU
3)Buzzer
4)Connecting wires
Flame Sensor
F

A flame detector is a sensor designed to detect and respond


to the presence of a flame or fire. Responses to a detected
flame depend on the installation, but can include sounding an
alarm and activating a fire suppression system.
There are different types of flame detection methods. Some
of them are: Ultraviolet detector, near IR array detector,
infrared (IR) detector, Infrared thermal cameras, UV/IR
detector etc.
When fire burns it emits a small amount of Infra-red light, this
light will be received by the Photo-diode (IR receiver) on the
04
sensor module.
ESP8266 ESP-12E

NodeMCU is an open source IoT platform. It


includes firmware which runs on the ESP8266 Wi-
Fi SoC from Espressif Systems, and hardware which is based on
the ESP-12 module.
The term "NodeMCU" by default refers to the firmware
rather than the development kits. Just like a normal Arduino,
the ESP8266 has digital input/output pins (I/O or GPIO,
General Purpose Input/Output pins).
As the name implies, they can be used as digital inputs to
read a digital voltage, or as digital outputs to output either 0V
(sink current) or 3.3V (source current).
Flame sensor interfacing to NodeMCU
Vcc --> vcc Gnd --> gnd D0 ---> D2
Buzzer interfacing to NodeMCU
Buzzer +ve is connected to D1 of NodeMCU
Buzzer -ve is connected to GND pin of NodeMCU
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
BlynkTimer timer;
WidgetLCD BLYNK_LCD(V0);
int t,h;
char auth[] = "2573955cbacd4bc1a52bd8483b7c81aa";//place
your token here
char ssid[] = "Realme";
char pass[] = "sharmaji";
int BUZZER=D1;//D1
int FIRE=D2;
BLYNK_WRITE(V1)
{
int BUZZER_VAL = param.asInt(); // assigning incoming value
from pin V1 to a variable
if(BUZZER_VAL==HIGH)
{
digitalWrite(BUZZER,HIGH);
BLYNK_LCD.print(0,1,"BUZZER ON ");
delay(10);
}
else
{
//lcd.clear();
digitalWrite(BUZZER,LOW);
BLYNK_LCD.print(0,1,"BUZZER OFF");
delay(10);
}
}
void READ_SENSOR()
{
int FIRE_STATE=digitalRead(FIRE);
if(FIRE_STATE== LOW)
{
// BLYNK_LCD.clear();
Blynk.virtualWrite(V2, FIRE_STATE);
BLYNK_LCD.print(0,0,"FS=T");
digitalWrite(BUZZER,HIGH);
delay(20);
}
else
{
//BLYNK_LCD.clear();
Blynk.virtualWrite(V2, FIRE_STATE);
BLYNK_LCD.print(0,0,"FS=F");
digitalWrite(BUZZER,LOW);
delay(20);
}
}
void setup()
{
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
pinMode(BUZZER,OUTPUT);
pinMode(FIRE,INPUT_PULLUP);
timer.setInterval(1000L,READ_SENSOR); //change
}
void loop()
{
Blynk.run();
timer.run(); // Initiates BlynkTimer
}
ADVANTAGES
Early Warning
Low Cost,
Call emergency Service
The opportunity to place the
device in chosen locations.

DISADVANTAGES
False alarms can disrupt work at any place.

14
CONCLUSION
In this project we have studied and implemented
a Fire Alarm.

FUTURE SCOPE
The studies can be used in future to identify the
main volatiles that are responsible for causing the
sensor response variations.
Using this knowledge gained from the analysis and
studies one can customize the sensor array towards
these main volatiles.
We can send Alert to Fire Station, The Owner and
The Hospital to send An Ambulece
Fire accidents can be controlled to a great extent in
a places such as forests,homes, colleges industries,
trains and some other public places

Fire accidents leads to death of excess of people,


by using this technique we can save those lifes
easily

15
BIBLIOGRAPHY
http://shodhganga.inflibnet.ac.in/bitstream/10603/45133/6/chapter
%20-5.pdf

https://ifpmag.mdmpublishing.com/fire-detection-the-past-present-
and-future/

16

You might also like