Flame sensor interfacing with Arduino, Interfacing of Flame sensor with arduino, Flame sensor Arduino interfacing, how to interface Flame sensor with Arduino, Flame sensor Arduino interfacing, Flame sensor attached with Arduino, Interfacing Flame sensor with Arduino
Hello everyone! I hope you all will be absolutely fine and having fun. Today, I am going to provide a detailed discussion on Flame Sensor Arduino Interfacing. Flame sensor is an electronic device which is capable of sensing/detection of fire or a high temperature zone. It gives an indication through an LED attached at its top, just after sensing the fire. These type of sensors are usually used for short ranges. They are able to detect the fire up to 3 feet. Flame sensors is the most common device available in the market these days due to its good results and cost efficiency. You should also have a look at Flame Sensor Library for Proteus. Flame sensors are available in the market in two types one having three pins and the other having four pins respectively. Both of the sensors can be easily interfaced to any micro-controller. I am using four pin flame sensor in this tutorial. You will see the complete wiring diagram for interfacing flame sensor with Arduino and the complete Arduino source code and its description as well. Flame sensor can detect fire or any other light sources whose wavelength is in the range of 760nm to 1100nm. This device consists of and IR sensor, an LED for indication, operational amplifier circuit and a potentio-meter. The device is sensitive to flame so when it detects the flame it turns on its LED to show an indication. The sensitivity of the flame sensor can be adjusted according to the requirements. It can be used at different places e.g. in offices, home, institutions, industrial applications.

Flame Sensor Arduino Interfacing

Flame Sensor is an electronic device which is used to sense the fire or any other light having wavelength between 700nm to 1100nm. It consists of either three or four pins both of them are compatible with all micro-controllers. It is sensitive to flame and gives the indication for the presence of the flame. It can be sued in homes, offices, industrial applications. Flame sensor along with its pi names are shown in the figure below.
Flame Sensor Arduino, Flame sensor interfacing with Arduino, Interfacing of Flame sensor with arduino, Flame sensor Arduino interfacing, how to interface Flame sensor with Arduino, Flame sensor Arduino interfacing, Flame sensor attached with Arduino, Interfacing Flame sensor with Arduino
1. Flame Sensor Pins
  • Flame sensor has four pins with different individual function.
  • Flame sensor pins are given in the figure shown below.
Flame sensor interfacing with Arduino, Interfacing of Flame sensor with arduino, Flame sensor Arduino interfacing, how to interface Flame sensor with Arduino, Flame sensor Arduino interfacing, Flame sensor attached with Arduino, Interfacing Flame sensor with Arduino
2. Flame Sensor Pins Description
  • Each pin has different tasks to perform.
  • Flame sensor pin descriptions are listed in the table shown in the figure given below.
Flame sensor interfacing with Arduino, Interfacing of Flame sensor with arduino, Flame sensor Arduino interfacing, how to interface Flame sensor with Arduino, Flame sensor Arduino interfacing, Flame sensor attached with Arduino, Interfacing Flame sensor with Arduino
3. Flame Sensor Working Principle
  • Flame sensor is very sensitive to flame and other lights.
  • Its analog output provides real time output voltage on the thermal resistance.
  • When the temperatures reaches at the certain threshold the output high and low signal threshold adjustable via potentio-meter , Its the task of digital output.
4. Flame Sensor Circuit Diagram
  • Flame sensor diagram is shown in the figure given below.
Flame sensor interfacing with Arduino, Interfacing of Flame sensor with arduino, Flame sensor Arduino interfacing, how to interface Flame sensor with Arduino, Flame sensor Arduino interfacing, Flame sensor attached with Arduino, Interfacing Flame sensor with Arduino
5. Apparatus Required for Flame Sensor Interfacing with Arduino
  • Arduino UNO (Micro-controller)
  • Flame Sensor
  • Jumper wires
  • Wero board
  • Light or another flame sensor
6. Flame Sensor & Arduino Pin Connections
  • Connections between Arduino and flame sensor pins are given in the table shown in the figure below.
Flame sensor interfacing with Arduino, Interfacing of Flame sensor with arduino, Flame sensor Arduino interfacing, how to interface Flame sensor with Arduino, Flame sensor Arduino interfacing, Flame sensor attached with Arduino, Interfacing Flame sensor with Arduino
7. Flame Sensor Arduino Interfacing - Wiring Diagram
  • Before hardware interfacing, you can also test your result on Proteus.
  • For Proteus simulation, you need to know about How to get Hex File from Arduino.
  • I have shared a brief tutorial on Interfacing of Flame Sensor with Arduino in my previous tutorial.
  • I have given a completely labeled wiring diagram for Flame Sensor Arduino Interfacing.
  • You can test & verify your results by making the same wiring diagram.
  • Wiring diagram for Flame Sensor Arduino Interfacing is shown in the figure given below.
Flame Sensor Arduino Interfacing, Flame Sensor Arduino, Arduino Flame Sensor, Flame sensor interfacing with Arduino, Interfacing of Flame sensor with arduino, Flame sensor Arduino interfacing, how to interface Flame sensor with Arduino, Flame sensor Arduino interfacing, Flame sensor attached with Arduino, Interfacing Flame sensor with Arduino
8. Flame Sensor Interfacing with Arduino Source Code & Description
  • If you haven't written Arduino code ever, you must go through How to Write Arduino Code.
  • You just need to copy & to paste the complete source code given below in your Arduino software.
  • And just upload the code onto your Arduino board in order to verify the results.
int led_pin = 13 ;// initializing the pin 13 as the led pin

int flame_sensor_pin = 2 ;// initializing pin 7 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
  } 
}
  • First of all I have defined the pins for led and the flame sensor.
  • The I have printed the digital information on the Serial Monitor obtained from the flame sensor.
  • The messages are displayed on the serial monitor via Serial Communication.
9. Flame Sensor Interfacing with Arduino
  • The actual circuit diagram for flame sensor interfacing with Arduino.
Flame sensor interfacing with Arduino, Interfacing of Flame sensor with arduino, Flame sensor Arduino interfacing, how to interface Flame sensor with Arduino, Flame sensor Arduino interfacing, Flame sensor attached with Arduino, Interfacing Flame sensor with Arduino
10. Flame Sensor Applications
  • Flame sensor has a lot of different applications.
  • Some of them are given below.
Flame sensor interfacing with Arduino, Interfacing of Flame sensor with arduino, Flame sensor Arduino interfacing, how to interface Flame sensor with Arduino, Flame sensor Arduino interfacing, Flame sensor attached with Arduino, Interfacing Flame sensor with Arduino
The tutorial Flame Sensor Interfacing with Arduino has explained the entire necessary detail about the flame sensor interfacing with Arduino. If you have any kind of problem you can ask me in comments anytime. I will try my level best to solve your issues. I hope you have enjoyed this tutorial. I will share other informative topics in my upcoming tutorials. Till my next tutorial take care and bye :)