Upload
aravind-n-kumar
View
25
Download
1
Embed Size (px)
Citation preview
FIRE DETECTION SENSOR
A MINOR PROJECT REPORT
Submitted by
ARAVIIND N KUMAR BL.EN.U4EEE13006
A. SRIDHAR BL.EN.U4EEE13007
A VENKATA ABHINAV BL.EN.U4EEE13009
VIJAY BHARGAVA BL.EN.U4EEE13011
in partial fulfillment of the award of the degree
of
BACHELOR OF TECHNOLOGY
IN
ELECTRICAL & ELECTRONICS ENGINEERING
AMRITA SCHOOL OF ENGINEERING, BENGALURU
AMRITA VISHWA VIDYAPEETHAM,BENGALURU-35
F i r e D e t e c t i o n S e n s o r
3 | P a g e
ACKNOWLEDGEMENT
I humbly dedicate this project at the lotus feet of our beloved AMMA, Mata
Amritanandamayi Devi.
I would like to convey my thankfulness to Dr. Rakesh S. G., Associate Dean, Amrita school
of Engineering, Bangaluru.
I also take this opportunity to thank Dr. Ravishankar S. Chairman, Electrical and
Electronics Engineering Department, for his motivation and valuable help during the project
work.
I express our sincere gratitude to my guides, Mrs. Sreekala M and Mrs. Sudha Yadhav.,
Assistant Professor, Electrical and Electronics Engineering Department, for their inestimable
guidance, immense and sincere help and encouragement given during the entire course of
project work.
I express my sincere thanks to all the staff of Department of EEE for their kind help and
cooperation.
I express my special thanks to all my classmates, friends and my family who helped a lot to
complete this project successfully.
Above all, I thank Almighty for giving me the strength, courage and blessings to complete
this project.
F i r e D e t e c t i o n S e n s o r
4 | P a g e
Contents
Page No.
1 :Abstract 5
2 : Simulation Diagram & Circuit Model 6
3:Code 7-8
4:Result 8
F i r e D e t e c t i o n S e n s o r
5 | P a g e
1.Abstract
The whole aim of this project is to design a fire sensor, the implementation of this
project was performed using LM 35 sensor ,UNO board and LCD screen the output was
to be simulated in a PROTEUS simulation and the constrains of fire were to be set as 60
degree Celsius and any temperature above this would give an alarming display on the
LCD screen.
F i r e D e t e c t i o n S e n s o r
7 | P a g e
3.Code
#include<LiquidCrystal.h>
int A=0;
int B;
int sensorpin=A0;
int fan= 13;
int min_temp=120;
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup()
{
lcd.begin(16, 2);
pinMode(fan,OUTPUT);
}
void loop()
{
A= analogRead(sensorpin);
if(A < min_temp )
{
digitalWrite(fan, LOW);
lcd.setCursor(0,0);
lcd.print("HELLO EVERYONE");
lcd.setCursor(5,1);
lcd.print(A/2-1);
lcd.setCursor(7,1);
lcd.print("c");
delay(1000);
F i r e D e t e c t i o n S e n s o r
8 | P a g e
lcd.clear();
}
if(A >= min_temp)
{
digitalWrite(fan, HIGH);
lcd.setCursor(0,0);
lcd.print("THERE'S FIRE");
lcd.setCursor(5,1);
lcd.print(A/2-1);
lcd.setCursor(7,1);
lcd.print("c");
delay(1000);
lcd.clear();
}
}
Result:
A temperature sensor was designed using LM 35 temperature sensor wherein the limit of fire was
set as 60 degree Celsius , the program was designed with the above temperature constrain and
dumped into an UNO board in PROTEUS environment and the output result of fire was displayed on
the LCD screen.