Fire Detector using Flame Sensor and Arduino Interface

Fire Detector using Flame Sensor and Arduino (Last Updated On: December 1, 2018)

Introduction:

In this post we will interface flame sensor with Arduino. Simply we will design Fire Detector using Flame Sensor and Arduino for detecting fire.The project fire alarm or fire detector using Flame sensor and Arduino board is a wonderful project. The sensor basically detects IR (Infra Red) light wavelength between 760 nm – 1100 nm (nano meter) that is emitted from fire flame. Most of the flame sensors came with YG1006 sensor which is a high speed and high sensitive NPN silicon photo transistor.





Flame Sensor:

The Grove – Flame Sensor can be used to detect fire source or other light sources of the wavelength in the range of 760nm – 1100 nm. It is based on the YG1006 sensor which is a high speed and high sensitive NPN silicon phototransistor. Due to its black epoxy, the sensor is sensitive to infrared radiation. In fire fighting robot game, the sensor plays a very important role, it can be used as a robot eyes to find the fire source.

Fire Detector using Flame Sensor and Arduino

The flame sensor module has the following features:

– The operating voltage is from 3.3 – 5V.
– It gives us both analog and digital output.
– It has a led indicator, which indicates that whether the flame is detected or not.
– The threshold value can be changes by rotating the top of potentiometer.
– Flame detection distance, lighter flame test can be triggered within 0.8m, if the intensity of flame is high, the detection distance will be increased.
– The detection angle of the flame sensor module is about 60 degrees.


Fire Detector using Flame Sensor and Arduino:

Components Required:

1. Arduino Uno
2. Flame Sensor - (Buy Online from Amazon)
3. Buzzer or LED
4. Breadboard
5. Connecting Wires



Circuit Diagram:

The circuit diagram of Fire Detector using Flame Sensor and Arduino is given below:

Fire Detector using Flame Sensor and Arduino


Working of the project:

IR sensors like all other photosensor works on the principle that a photon of sufficient energy can knock out electrons so that the resistance of the circuit is changed.

An IR sensor consists of an emitter, detector and associated circuitry. The circuit required to make an IR sensor consists of two parts; the emitter circuit and the receiver circuit.

The emitter is simply an IR LED (Light Emitting Diode) and the detector is simply an IR photodiode which is sensitive to IR light of the same wavelength as that emitted by the IR LED. When IR light falls on the photodiode, its resistance and correspondingly, its output voltage, change in proportion to the magnitude of the IR light received.


Program/Source Code:

int led_pin = 13 ;// initializing the pin 9 as the led pin

int flame_sensor_pin = 8 ;// initializing pin 12 as the sensor output pin
int flame_pin = HIGH ; // state of sensor

void setup ( ) {

pinMode ( led_pin , OUTPUT ); // declaring led pin as output pin
pinMode ( flame_sensor_pin , INPUT ); // declaring sensor pin as input pin for Arduino
Serial.begin ( 9600 );// setting baud rate at 9600
}

void loop ( ) {
flame_pin = digitalRead ( flame_sensor_pin ) ; // reading from the sensor
if (flame_pin == LOW ) // applying condition
{
Serial.println ( " FLAME , FLAME , FLAME " ) ;
digitalWrite ( led_pin , HIGH ) ;// if state is high, then turn high the led
}

else
{
Serial.println ( " no flame " ) ;
digitalWrite ( led_pin , LOW ) ; // otherwise turn it low
}
}





Video Preview & Explanation:

Recommended For You

1 Comment

Ask A Question .......

Close