How to make a simple Flame Detector || Fire alarm project using arduino
Вставка
- Опубліковано 9 лют 2025
- Hey friends,
Today, I am going to show you how to make a simple fire detector alarm using arduino and flame sensor. This project is very useful and can be installed in houses, apartments & office buildings for detection of fire and giving an alarm.
In this project, a flame sensor is used, which detects any infrared radiations emitted by fire. The output of the flame sensor goes high, when it detects fire. This output is taken to the arduino uno and gives an audible alarm and lights up an LED bulb.
Link to purchase items
1. Arduino Uno: amzn.to/3RPzXw8
2. 9V battery with connector: amzn.to/3L8Opfe
3. Flame sensor : amzn.to/4eOThDB
4. Rocker switch : amzn.to/4eOuCiO
5. jumper wires : amzn.to/3xG4FB0
6. Buzzer : amzn.to/4eHC2nH
7. LED light : amzn.to/3RPv7iA
Link to download arduino code:
drive.google.c...
Link to circuit diagram:
drive.google.c...
Watch the video to find out more!!!
Please share the video if you like it.
❤❤❤~~PLEASE SUBSCRIBE TO THE CHANNEL TO SEE MORE SUCH INTERESTING VIDEOS & MAKE LEARING SCIENCE FUN~~❤❤❤
#firedetection #firealarm #scienceproject #arduinoproject
That's very useful 👏
Thank you..🙂💓
Super😊👌👌
Thank you..🙂🥰
Thanks for the idea, could you connect multiple IR sensors to the Arduino? I'm thinking for a large enclosed area of 1300x900mm laser machine with sensors place in various spots to detect flames. Once the flame is detected and does go out by itself after 3-5 seconds, the relay hooked up to the Arduino would open a solenoid to flood the machine with co2 to suffocate any fires.
Hi friend. The idea is really good. Definitely you can connect multiple flame sensors to arduino. One flame sensor needs only one signal out pin. On arduino uno, there are 14 digital pins. So you can connect upto 14 flame sensors at the same time to arduino.
Hi am going to do this for my science fair project but also want to add a smoke detection system and and sms alert system how can I do that.
Hi friend. You can surely do that..You can add a MQ-05 gas sensor and also a SIM 800L GSM module for arduino to do this. There are many videos in youtube about the project that you wish to make. You can watch those..
@@Science_4U_ Can I use the code for those on one arduino board?
@kenui2803 Hi friend. I didn't understand your question. Can you explain?
@@Science_4U_ Is it possible to put the code of the flame sensor, sms reciever, and smoke detector on one arduino board.
Hi please get back to me
question:is there any way to detect fire from a longer distance besides the IR sensor ?
Hi friend. These are all small projects which use simple sensors which are mainly for simple demonstration purposes only.
There are better commercial sensors available for detection of fire from longer distances. You can have a look at a sample sensor from Honeywell from the below link.
www.honeywellbuildings.in/fire/fire-detection-and-alarm-system/system-sensor/spot-detector
Also you can use normal camera and make use of Artificial intelligence for the detection of fire using camera images. This can also detect fire from much longer distances.
Hi brother could you recommend me a mini project for my final year
Hi friend, there are several projects that can be made..
1. Drones and Quadcopters..
2. Self balancing robots .
3. 3D printers, writing machines.
4. Smart Robots that combine bluetoothcontrol, obstacle avoidance, edge detection etc.
@@Science_4U_ Sir I'm from electrical branch so I need to do the project based upon electrical, so please suggest me a project
@@beyondusee8740 Hi friend, I am not able to suggest an electrical project. But you can search in internet and you can get lots of project suggestions. You can find sample websites below.
nevonprojects.com/project-ideas/electrical-project-ideas/
www.elprocus.com/electrical-projects-for-engineering-students/
www.electronicsforu.com/electronics-projects/eee-projects-ideas
www.google.com/amp/s/www.electricaltechnology.org/2020/01/electrical-engineering-projects.html/amp
dipslab.com/electrical-engineering-projects/
@@Science_4U_ thank you
Hi! Besides using IR sensor, can I use heat sensor?
Yes friend..you can use the heat/temperature sensor also. But I think it will be able to detect fire from a nearby distance only, since it is detecting based on temperature. But the infrared radiations emitted by the fire can be sensed from a farther distance also.
Can I replace the flame sensor with a smoke sensor?
Yes sure friend. You can replace the flame sensor with a gas sensor. It will work..
Hello . Can I use multiple flame sensors in one pin??
Theoretically YES.. I think it should work, but i have not tried though. The ground and power pins can be common. No issues at all.But it is a better practice to connect the signal wire to independant pins. If both the sensors are triggered separately, then only digital 5V will come as the input to arduino. But if both the sensors are triggered simultaneously, there can be a voltage spike and some interference in the output. But my guess is that it should work. Have to try and see though.
Bro how to do it without soldering alarm wire with led bulb
Hi friend. It is very well possible to do it without soldering. I soldered it and connected to the same pin because when the alarm goes, the bulb also glows with the same pattern. You can connect the alarm and bulb to different arduino pins so that soldering is not required. But you have to modify the code also accordingly for the project to work.
@@Science_4U_ok thanks 😊
@@Science_4U_ bro it's a humble request can you please tell where to connect the led's +ve and -ve in Arduino and also can you provide modified code here please.
Can this work with IR sensor
No friend. It will not work. IR sensor is a proximity sensor only which can measure distance of objects by sending Infrared waves and measure the reflected waves from the object. It cannot detect infrared radiation emitted from flame. For that flame sensor itself is required.
👌👌👌
Thank you..🙂
Bro i did this but when i compile the program to arduino the sytem shows compiling error....
Hi friend. Have you slected the right port in tools before uploading the code?
Plz send me the code
how to add sms fire alert?
You can use GSM shield with arduino and code it to send sms alerts also..👍
Can you please provide me with the Arduino code for this project, the drive link is not working which you have given in description it's urgent bro please 🥺
Sure bro. But I checked the google drive link and it is working only. I am able to download the code from the google drive link.
Anyway, I will paste the code here. You can simply copy this and use. The code is in my next comment.
int led_pin = 13 ;// initializing the pin 13 as the led pin
int flame_sensor_pin = 8 ;// initializing pin 8 as the flame sensor 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
}
}
@@Science_4U_ thank you bro so much thanks ❤️
Did it work for you bro?
Plz share the code
Bro can you send wiring diagram please
Hi bro,
Please download the circuit diagram from the link given below:
drive.google.com/file/d/127X4mxZCsMI79R6YNpqxIJaeDbtRmk8E/view?usp=drivesdk
Sorry for the delay in replying. I was a bit busy these days, so couldn't get time for making the circuit diagram...
Plz share the Code as soon as possible plz plz Bcz mu exam of this project after 2 days
Okay friend. The link to download code is given in description box.
Super 🫂
Thank you so much..💓🥰
Code???
Hi friend. The link to download code is given in the description box below each video. The download link for code and circuit diagram are given below.
Link to download arduino code:
drive.google.com/file/d/17dlmSMfaOHuDoIMynOoAFiesh7s9qZvE/view?usp=sharing
Link to circuit diagram:
drive.google.com/file/d/127X4mxZCsMI79R6YNpqxIJaeDbtRmk8E/view?usp=drivesdk
Plz
Hi friend. The link to download code is already given in the description box below the video. I am giving the download link below also.
Link to download arduino code:
drive.google.com/file/d/17dlmSMfaOHuDoIMynOoAFiesh7s9qZvE/view?usp=sharing
Hi, I can't download the code
Okay friend. It is actually a simple code only. I will paste the code below. You can copy and paste that in IDE software and upload to arduino uno.
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