You are on page 1of 5

Flame Sensor(5mm)

Overview
This class will use a flame sensor to turn on LED’s.

Materials
Arduino Uno x 1
5mm red LED x 1
220 Ohm resistor x 1
10K resistance x 1
Flame sensor
Bread board x 1
DuPont wires.

Product Description

The flame sensor (properly called an infrared receiver triode) is a sensor specially designed to search for fire
sources. This sensor is especially sensitive to flames.
Technical Parameters
The light source can be detected for wavelengths in the range of 760 nm to 1100 nm.
The detection Angle is about 60 degrees,
It is especially sensitive to the light from a flame.
Adjustable sensitivity and stable performance.
Working voltage 5V
Can be used as digital or analog output.

Project principle
The detector is very sensitive the the infrared given off by a flame. We will convert the brightness of the
flame to produce a voltage signal and output it to the Arduino and process the changing signal accordingly.

Device Details
The flame sensor is very sensitive to the infrared given off by a flame. It is also sensitive to ordinary light. It
is used in fire alarms and other devices.
The output interface of the device can be directly connected with the IO port of the Arduino.
The sensor should be kept at a distance from the flame, so as not to damage the sensor.
The larger the flame, the farther the distance.
The working voltage is 3.3v -5V.

Pins on flame sensor


The short lead end of the infrared receiving triode is the negative terminal and the long lead end is the
positive pole。

Wiring Diagram
Sample code
int flame=0;//Define the flame interface for analog 0

int led=9;//Define the Led interface to number 9

void setup()

pinMode(led,OUTPUT);//Defining the LED interface

Serial.begin(9600);//set baud rate

void loop()

int val=analogRead(flame);//Read the simulated value of a flame

sensor

Serial.println(val);//Analog value of serial port display


if(val>=600)//LED lights up when the analog value is greater than

600

digitalWrite(led,HIGH);

}else

digitalWrite(led,LOW);

delay(500);

Results

When the value of the signal detected is more than 600, led lights up.
Open the serial monitor to see the value of the signal.

The led is off when there is no fire detected, as shown below.


Use a cigarette lighter close to the detector (be careful not to burn the device by getting too close), When the
detected signal reaches over 600 the LED will light up as shown in the following figure

You might also like