Flame Sensor: by Superkings
Flame Sensor: by Superkings
By Superkings
CONNECTION WITH ARDUINO:
FLAME SENSOR:
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
HOW DOES IT WORKS?
The flame sensor detects the presence of
fire or flame based on the Infrared (IR)
wavelength emitted by the flame. It gives logic
1 as output if flame is detected, otherwise it
gives logic 0 as output. Arduino Uno checks the
logic level on the output pin of the sensor and
performs further tasks such as activating the
buzzer and LED, sending an alert message .
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)
Pin Description
Vcc 3.3 – 5V power supply
GND Ground
Dout Digital output
CIRCUIT DIAGRAM
CODE:
int buzzer = 8;
int LED = 7;
int flame_sensor = 4;
int flame_detected;
void setup()
{
Serial.begin(9600);
pinMode(buzzer, OUTPUT);
pinMode(LED, OUTPUT);
pinMode(flame_sensor, INPUT);
}
void loop()
{
flame_detected = digitalRead(flame_sensor);
if (flame_detected == 1)
{
Serial.println("Flame detected...! take action immediately.");
digitalWrite(buzzer, HIGH);
digitalWrite(LED, HIGH);
delay(200);
digitalWrite(LED, LOW);
delay(200);
}
else
{
Serial.println("No flame detected. stay cool");
digitalWrite(buzzer, LOW);
digitalWrite(LED, LOW);
}
delay(1000);
}
Applications of flame sensors:
Hydrogen stations
Combustion monitors for burners
Oil and gas pipelines
Automotive manufacturing facilities
Nuclear facilities
Aircraft hangars
Turbine enclosures
THANK YOU