Interfacing Flame Sensor With Arduino – Fire Detection Alarm System.
The flame sensor discovers the presence of fire using the infrared flame flash technique. It has a sensitivity range between 4.3 to 4.4 micrometers. It is faster as well accurate than a fire or smoke detector.
As we all know, architecture represents the accomplishment, wealth, and creativity of a city or a nation. No one wants to afford damage to them.
Fire accident is one of the major cause which harms not only buildings but also human beings.
The most usual causes of house fires are electrical distribution, lighting systems, cooking, Etc. In this technological era, the use of engineering is the best way to avoid such accidents.
Today, we will learn about an interesting project using Arduino for safety purposes using a flame sensor.
What is Flame Sensor?
The flame sensor detects the presence of fire or flame. It uses the infrared flame flash technique for working.
This explicit flame detector is consists of a Photo Transistor. It is often located at the front of the module in the form of a black LED. As a flame detection system works within the infrared spectral band, it ranges between 4.3 to 4.4 micrometers. This range covers the resonance frequency of Carbon Dioxide, which is generated by the burning of organic compound materials.
Greenhouse gases generated from the fire create radiation emission and special patterns in infrared emission. A flame sensor detects both of them. It is faster as well accurate than a fire or smoke detector.
If you are still reading this, it means you are surely interested in its interfacing with Arduino. So, let’s move forward with its working.
The components required to build this project are mentioned below.
To interface the flame sensor with Arduino, make the connection as per the diagram shown below. After uploading the code to the Arduino board, Place any fire source in front of the flame sensor.
As soon as the flame sensor detects fire or flame, it gets triggered. This sensing is based on parameters like humidity, temperature, smoke, Etc. These signals can be in the form of analog or digital. In this project, we have used the digital output of the flame sensor.
When Arduino receives this signal, it performs the resultant action in response. That may contain ringing of a buzzer or any fire suppression activity. Here we have connected a buzzer as a detection device.
As you can see here, the buzzer starts ringing when the flame sensor detects fire.
The range of flame detection may vary up to 100 cm. In addition to this, fire suppression may act as a result of the detection system.
const int buzzerPin = 5;
const int flamePin = 2;
int Flame = HIGH;
Flame = digitalRead(flamePin);
if (Flame== LOW)
Serial.println("Fire is Detected");
Serial.println("No Fire is Detected");
Interfacing the flame sensor with an Arduino is the simplest way to save lives by warning the occupants about emergence. It is very important to detect the disaster early to create a healthy environment and avoid destructions.
Additionally, it is cost-friendly to implement. We can perform further modifications by adding auto fire suppression techniques.
As you can see here, the buzzer starts ringing as the flame sensor detects fire.
I hope you enjoyed reading this article. If you have any queries or thought about this, please let us know in the comment section.