How to make a simple Flame Detector || Fire alarm project using arduino

Sdílet
Vložit
  • čas přidán 10. 09. 2024
  • 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

Komentáře • 61

  • @Nobody-yq7qv
    @Nobody-yq7qv Před 6 měsíci +2

    Bro i did this but when i compile the program to arduino the sytem shows compiling error....

    • @Science_4U_
      @Science_4U_  Před 6 měsíci +1

      Hi friend. Have you slected the right port in tools before uploading the code?

    • @HinaAshiq-mb8dh
      @HinaAshiq-mb8dh Před 4 měsíci

      Plz send me the code

  • @MaximusPham
    @MaximusPham Před 4 měsíci +1

    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.

    • @Science_4U_
      @Science_4U_  Před 4 měsíci +1

      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.

  • @aidafallah9165
    @aidafallah9165 Před rokem +1

    That's very useful 👏

  • @user-xf7hl3fl8j
    @user-xf7hl3fl8j Před 4 měsíci +1

    question:is there any way to detect fire from a longer distance besides the IR sensor ?

    • @Science_4U_
      @Science_4U_  Před 4 měsíci +1

      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.

  • @dragonflights1-qs6sn
    @dragonflights1-qs6sn Před 2 měsíci +1

    Can this work with IR sensor

    • @Science_4U_
      @Science_4U_  Před 2 měsíci +1

      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.

  • @VinKrishSolutions
    @VinKrishSolutions Před rokem +1

    Super😊👌👌

  • @animationexplainera.k.j4520
    @animationexplainera.k.j4520 Před 10 měsíci +2

    Bro how to do it without soldering alarm wire with led bulb

    • @Science_4U_
      @Science_4U_  Před 10 měsíci +1

      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.

    • @animationexplainera.k.j4520
      @animationexplainera.k.j4520 Před 10 měsíci

      ​@@Science_4U_ok thanks 😊

    • @animationexplainera.k.j4520
      @animationexplainera.k.j4520 Před 10 měsíci

      ​@@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.

  • @kenui2803
    @kenui2803 Před 9 měsíci +1

    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.

    • @Science_4U_
      @Science_4U_  Před 9 měsíci +1

      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..

    • @kenui2803
      @kenui2803 Před 9 měsíci +1

      @@Science_4U_ Can I use the code for those on one arduino board?

    • @Science_4U_
      @Science_4U_  Před 9 měsíci +1

      @kenui2803 Hi friend. I didn't understand your question. Can you explain?

    • @kenui2803
      @kenui2803 Před 9 měsíci +1

      @@Science_4U_ Is it possible to put the code of the flame sensor, sms reciever, and smoke detector on one arduino board.

    • @kenui2803
      @kenui2803 Před 9 měsíci +1

      Hi please get back to me

  • @cyndiamoses5042
    @cyndiamoses5042 Před rokem +1

    👌👌👌

  • @HinaAshiq-mb8dh
    @HinaAshiq-mb8dh Před 4 měsíci +1

    Plz share the Code as soon as possible plz plz Bcz mu exam of this project after 2 days

    • @Science_4U_
      @Science_4U_  Před 4 měsíci +1

      Okay friend. The link to download code is given in description box.

  • @geraldenriquez30
    @geraldenriquez30 Před rokem +1

    Hello . Can I use multiple flame sensors in one pin??

    • @Science_4U_
      @Science_4U_  Před rokem +1

      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.

  • @vantaalbino4263
    @vantaalbino4263 Před 9 měsíci +1

    Can I replace the flame sensor with a smoke sensor?

    • @Science_4U_
      @Science_4U_  Před 9 měsíci +1

      Yes sure friend. You can replace the flame sensor with a gas sensor. It will work..

  • @muhaizamasyraf9599
    @muhaizamasyraf9599 Před rokem +1

    Hi! Besides using IR sensor, can I use heat sensor?

    • @Science_4U_
      @Science_4U_  Před rokem +2

      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.

  • @beyondusee8740
    @beyondusee8740 Před rokem +2

    Hi brother could you recommend me a mini project for my final year

    • @Science_4U_
      @Science_4U_  Před rokem +1

      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.

    • @beyondusee8740
      @beyondusee8740 Před rokem +1

      @@Science_4U_ Sir I'm from electrical branch so I need to do the project based upon electrical, so please suggest me a project

    • @Science_4U_
      @Science_4U_  Před rokem +2

      @@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/

    • @beyondusee8740
      @beyondusee8740 Před rokem +1

      @@Science_4U_ thank you

  • @alexkaindoy3891
    @alexkaindoy3891 Před rokem +2

    how to add sms fire alert?

    • @Science_4U_
      @Science_4U_  Před rokem +2

      You can use GSM shield with arduino and code it to send sms alerts also..👍

  • @roastedroaster1677
    @roastedroaster1677 Před 7 měsíci +1

    Hi, I can't download the code

    • @Science_4U_
      @Science_4U_  Před 7 měsíci +1

      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

  • @Unknown__11111
    @Unknown__11111 Před rokem +1

    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 🥺

    • @Science_4U_
      @Science_4U_  Před rokem +1

      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.

    • @Science_4U_
      @Science_4U_  Před rokem +1

      Anyway, I will paste the code here. You can simply copy this and use. The code is in my next comment.

    • @Science_4U_
      @Science_4U_  Před rokem +1

      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
      }
      }

    • @Unknown__11111
      @Unknown__11111 Před rokem +1

      @@Science_4U_ thank you bro so much thanks ❤️

    • @Science_4U_
      @Science_4U_  Před rokem +1

      Did it work for you bro?

  • @HinaAshiq-mb8dh
    @HinaAshiq-mb8dh Před 4 měsíci +1

    Plz share the code

  • @24inventions5
    @24inventions5 Před rokem +1

    Super 🫂

  • @HinaAshiq-mb8dh
    @HinaAshiq-mb8dh Před 4 měsíci +1

    Plz

    • @Science_4U_
      @Science_4U_  Před 4 měsíci +1

      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

  • @24inventions5
    @24inventions5 Před rokem +1

    Bro can you send wiring diagram please

    • @Science_4U_
      @Science_4U_  Před rokem +1

      Hi bro,
      Please download the circuit diagram from the link given below:
      drive.google.com/file/d/127X4mxZCsMI79R6YNpqxIJaeDbtRmk8E/view?usp=drivesdk

    • @Science_4U_
      @Science_4U_  Před rokem +1

      Sorry for the delay in replying. I was a bit busy these days, so couldn't get time for making the circuit diagram...