html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>
Interfacing Flame Sensor with Arduino to Build a Fire Alarm System </h1>
<font size="2px" color="gray">By Ayush.ks
</font>
<img src="https://circuitdigest.com/sites/default/files/projectimage_mic/Flame-Sensor-Interfacing-with-Arduino.jpg" height="250px" width="100%">
<font size="3px" color="red"><center>Flame Sensor Interfacing with Arduino</center> </font><hr><br /><br />
<div class="intro"> In this article we interface Flame Sensor with Arduino and learn all the steps to build Fire Alarm System by using Arduino and flame sensor. Flame sensor module has photodiode to detect the light and op-amp to control the sensitivity. It is used to detect fire and provide HIGH signal upon the detection. Arduino reads the signal and provides alert by turning on buzzer and LED. Flame sensor used here is an IR based flame sensor. </div>
<div class="flame"><h2>—: Flame Sensor :—</h2>
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, deactivating a fuel line (such as a propane or a natural gas line), and activating a fire suppression system.
<img src="https://circuitdigest.com/sites/default/files/inlineimages/u/Fire-or-flame-sensor-module.jpg " width="90%">
<br />
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 Photodiode (IR receiver) on the sensor module. Then we use an Op-Amp to check for change in voltage across the IR Receiver, so that if a fire is detected the output pin (DO) will give 0V(LOW) and if the is no fire the output pin will be 5V(HIGH).
In this project we are using an IR based flame sensor. It is based on the YG1006 sensor which is a high speed and high sensitive NPN silicon phototransistor. It can detect infrared light with a wavelength ranging from 700nm to 1000nm and its detection angle is about 60°. Flame sensor module consists of a photodiode (IR receiver), resistor, capacitor, potentiometer, and LM393 comparator in an integrated circuit. The sensitivity can be adjusted by varying the on board potentiometer. Working voltage is between 3.3v and 5v DC, with a digital output. Logic high on the output indicates presence of flame or fire. Logic low on output indicates absence of flame or fire. <br /><br />
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
body{
animation-name:al;
animation-duration:8s;
-webkit-animation-name: al;
-webkit-animation-duration: 8s;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
}
@keyframes al {
0% {background-color: purple;}
10% {background-color: green; }
20% {background-color: pink;}
30% {background-color: gray;}
40% {background-color: red; }
50%{background-color: orange;}
60% {background-color: #87cceb;}
70% {background-color: yellow;}
80% {background-color: #90eebb;}
90% {background-color: blue; }
100% {background-color: #000011;}
}
@-webkit-keyframes al {
0% {background-color: purple;}
10% {background-color: green; }
20% {background-color: pink;}
30% {background-color: gray;}
Enter to Rename, Shift+Enter to Preview
js
js
1
2
3
var user = prompt("Please enter your name");
alert("Hello !! "+user+" welcome to my new web code. I use to develop Arduino project along with learning programing language . just visit this page and get some information of project which I had created .");
alert ("Thank you")
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run