Flame Sensor for Arduino with code

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024

Комментарии • 126

  • @nishedhasrilakhemachandra5183
    @nishedhasrilakhemachandra5183 5 лет назад +1

    i use this ir sensor but it's sensitive on the normal sun light & yellow light to if i want to detect only candle flae how cn i do it from using this module. if i cannot user this sensor in open light only detect candle light what are the suggestions . thank you.

  • @EgyptFishingVideos
    @EgyptFishingVideos 4 года назад +1

    Simple and extremely informative.
    Thank you.

    • @robojax
      @robojax  4 года назад

      You are welcome.

  • @muratatatoyran6419
    @muratatatoyran6419 3 года назад +2

    I was also wondering why it doesn't work properly when I use it as an IR receiver. This video explains well why this is so. Thanks😉

    • @goku445
      @goku445 3 года назад

      What did you understand? :)

    • @muratatatoyran6419
      @muratatatoyran6419 3 года назад

      @@goku445 Things you didnt understand😎

    • @goku445
      @goku445 3 года назад

      @@muratatatoyran6419 Well thanks a lot, that is really helping me and others that will read! Have a nice day in your bubble.

    • @muratatatoyran6419
      @muratatatoyran6419 3 года назад

      @@goku445 HaveANiceDay

    • @goku445
      @goku445 3 года назад

      @@muratatatoyran6419 Don't fart in it tho.

  • @syafiqasyraf1271
    @syafiqasyraf1271 3 года назад

    thank you bro u help me to finish my project..dont understand shit about coding

    • @robojax
      @robojax  3 года назад

      You are welcome. I just started a new course of Arduino for absolute beginners. Check it out. I can assure you that you will learn it.

    • @robojax
      @robojax  3 года назад

      And yes please subscribe as it helps my channel to grow. Thanks

  • @armstrong2450
    @armstrong2450 3 года назад +1

    Very helpful. Thanks

    • @robojax
      @robojax  3 года назад

      You are welcome. Please subscribe. I appreciate it and helps my channel grow. Thank you

  • @engineeringaspirantunoffic2856
    @engineeringaspirantunoffic2856 3 года назад +1

    Great video needed

  • @BlackHorizonGaming_Official
    @BlackHorizonGaming_Official 2 года назад

    avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0xa2
    An error occurred while uploading the sketch
    avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x10
    avrdude: stk500_initialize(): (a) protocol error, expect=0x14, resp=0xa2
    avrdude: initialization failed, rc=-1
    Double check connections and try again, or use -F to override
    this check.
    avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x10

  • @constantingavril4713
    @constantingavril4713 4 года назад

    have been tested a flame blue sensor module and i noticed that this one turns LOW when becomes active, compared to your red tested module which turns HIGH. The maximum range of the detection is 0.9 meter. Bringing in the front of the IR detector a remote control similar to those who can be found for some kits which include an IR receiver for some applications such as remoted control car, the range becomes 0.5 meter and for TV remote control, becomes again 0.9 as in case when an igniter appears.

    • @robojax
      @robojax  4 года назад

      Thank you for sharing the infor.

  • @maung218
    @maung218 4 года назад

    Hi Sir, can i ask you that my buzzer and led is on directly after the code is uploaded to the board before the sensor was detected by fire but once the sensor is detected buzzer and led was off so it is like reverse. Can you please reply me what is am i wrong with this ?Thank you Sir Robotjax.

    • @robojax
      @robojax  4 года назад

      Hi, you should not have updated the code. First use the code as is and once it works, then modify it.
      I have explained it in the code and clearly shown that
      digitalWrite(ALARM,HIGH);// set the buzzer ON
      digitalWrite(ALARM,LOW); // Set the buzzer OFF
      just switch the location of the two line lines above.

  • @davelodia9157
    @davelodia9157 3 года назад

    Hi if this sensor cant use for production what fire sensor i need to use if i use this to production ?

    • @robojax
      @robojax  3 года назад

      test it, it it works for you, make 3D print case and proper wiring. yes then you can use it if you do proper wiring to keep it safe.

  • @techtbe
    @techtbe 4 года назад

    Nice tutorial...Thanks

    • @robojax
      @robojax  4 года назад

      Glad it was helpful!

  • @jaslynwee8470
    @jaslynwee8470 5 лет назад

    Is this also applicable with the 5 way flame sensor? And if no, can you suggest 5 way flame sensor codes where once the LED lights up, it immediately detects it on the Serial Monitor

    • @robojax
      @robojax  5 лет назад

      Never heard of 5 way flame sensor.

  • @tahmid61
    @tahmid61 6 лет назад

    Hello robojex, can you tell me why my aurduino uno boards power jack is not working, i tried it many ways from 5 to 12 v dc but it not working, one more question can aurduino be used as 24 hour timer so that i can power on 4 stepper motor for different set of time?

    • @robojax
      @robojax  6 лет назад +2

      Arduino power:
      it should work. Check your power adapter using multimeter to see if it produces anything above 6V. When you connect the power adapter, Arduino has voltage regulator that converts it to 5V. But when you use USB, it gets the exact 5 Volts from USB. So if your power adapter is providing thing 6V or more then it is possible that the voltage regulartor on the Arduino is defective.
      Timer with Arduino:
      Yes you can use it . But you need DS1302 Real Time Clock which has battery and keeps the time. then you can use read the time and trigger an event like turning stepper motor ON or OFF.

    • @tahmid61
      @tahmid61 6 лет назад

      Robojax thank you for reply, my aurduino power jack is ok now. Can you please do me One more favour. If you can do the 24 hour real time project with aurduino and ds1302 real time clock then please make a video so that i can learn from your video. Actually i am quiet weak at code writing. Many thanks sir.

  • @Junaidkhan-nd7zx
    @Junaidkhan-nd7zx 4 года назад

    sir i am using 3 fire sensors so how i can write the code for because the buzzer only turns on with 1 sensor while all the three sensors are sensing.

    • @robojax
      @robojax  4 года назад

      if you have 3 different buzzer connected to different pen, make sure turn them ON . I don't know your code to comment.

  • @TA1ALT
    @TA1ALT 5 лет назад

    Hello I have a question
    At 6.32 (analog read) what is the meaning of 0 to 300? Is it distance of flame or different thing?

    • @robojax
      @robojax  5 лет назад

      the value you read it the intensity of flame which would be very hard to use. Analog pins have value from 0 to 1024. where 0 is 0V and 1024 is 5V. you can use map function to convert it to voltage like this: Serial.print(matp(300, 0,1024, 0,5) and you can put a variable in place of 300

    • @TA1ALT
      @TA1ALT 5 лет назад

      Thank you very much. I will try it.

  • @chandravadiyajaydeep65
    @chandravadiyajaydeep65 3 года назад

    Can we add water pump for safety in this

  • @ferdielang7615
    @ferdielang7615 5 лет назад

    Thank you for the vid . I want to ask . This module can detect 700nm -1000nm spectrum of the fire, ummm so can we display that
    Spectrum in number in Arduino ? If can how ?

    • @robojax
      @robojax  5 лет назад

      you are welcome. No you can't because it doesn't distinguish exact spectrum. But if you want to display test instead of relay or turning on an alarm, that would be doable. here the LCD1602 video robojax.com/learn/arduino/?vid=robojax-LCD1602-I2C

    • @ferdielang7615
      @ferdielang7615 5 лет назад

      Robojax thanks for ur reply , then can we display the resistance of the sensor ? How the flame will efc the resistanc btw it is same with NTC ?

  • @yamacode9958
    @yamacode9958 5 лет назад

    Can you give me a link to a flame sensor on AliExpress please. There are so many and some are in different colours, I'm new to electronics to its a little confusing.

    • @robojax
      @robojax  5 лет назад

      Just type "flame sensor arduino" and you get tones. here is link to ebay www.ebay.ca/sch/i.html?_nkw=flame+sensor+arduino&_sacat=0 and on AliExpress www.aliexpress.com/wholesale?catId=523&initiative_id=AS_20190503035947&SearchText=flame+sensor+arduino

  • @user-rk1zn5ks5l
    @user-rk1zn5ks5l 5 лет назад

    Hey bro i have already seen your video but why my Led wont turn on as the video

    • @robojax
      @robojax  5 лет назад

      The potentiometer is multi-turn. You have to turn it 8 or 10 time before you see the change. So turn it 8 turn then test with lighter. Then then turn more and test again. in both direction and you should get it.

  • @abhijeetgaonkar449
    @abhijeetgaonkar449 2 года назад

    Nice explaination sir🙌✨, can you please suggest me a flame sensor for industrial applications ?

    • @robojax
      @robojax  2 года назад +1

      Sorry I have not experience with industrial sensors . But this how it is is done, flame 🔥 always has smoke and carbon dioxide associated with it. Infrared can be added to it. So you would need to combine them all to make your own sensors that is trusted and accurate.

    • @abhijeetgaonkar449
      @abhijeetgaonkar449 2 года назад

      @@robojax ok thanks 🙌✨

  • @goku445
    @goku445 3 года назад

    Thank you. What is the analog pin (AO) for on this module?

    • @robojax
      @robojax  3 года назад

      In most module it will output the variation of level of flame 🔥 it receives will be outputted.

    • @goku445
      @goku445 3 года назад

      @@robojax Ok thanks, big fire or small fire.

  • @davenmaglacas5642
    @davenmaglacas5642 5 лет назад

    What kind of module can be used to have a larger distant detection of flame?

    • @robojax
      @robojax  5 лет назад

      It depends how far, but the best option would be to have laser beam or image processing with raspberry Pi with camera. Camera can detect the the flame and trigger an alarm.

    • @davenmaglacas5642
      @davenmaglacas5642 5 лет назад

      @@robojax is there another sensor that has the farther distance detection of fire for arduino?
      I don't have the rasp berry

  • @_parassolanki
    @_parassolanki 5 лет назад

    Which flame sensor you use in this video?
    Please tell me for my project

    • @robojax
      @robojax  5 лет назад

      this is called flame sensor. The did not assign model number to it. On Amazon or eBay search for "flame sensor" and you will find it.

    • @Junaidkhan-nd7zx
      @Junaidkhan-nd7zx 4 года назад

      its called ky-026 flame sensor

  • @ahmadaffifillah1982
    @ahmadaffifillah1982 4 года назад

    can help me about coding gsm correspond sensor temparuter and sensor smoke?

    • @robojax
      @robojax  4 года назад

      You even haven' t subscribed. Please subscribe. It is greatly appreciated. 🔔 😊

  • @chethan_lokesh7939
    @chethan_lokesh7939 5 лет назад

    bro please help me....
    how can i connect output of the Arduino do relay...

    • @robojax
      @robojax  5 лет назад

      Watch my video ruclips.net/video/58XWVDnB7Ss/видео.html

  • @vyshnavisb2802
    @vyshnavisb2802 3 года назад

    I have 3 pins for buzzer can u please tell me how to connect

    • @robojax
      @robojax  3 года назад

      Fiat try your buzzer by connecting two of its wires to +and - and find out connecting which wire turns it on, the use those two wires

  • @saitharungintena8851
    @saitharungintena8851 4 года назад +1

    Can you please provide circuit diagram for this?

    • @robojax
      @robojax  4 года назад

      I have not seen it but here is google search result www.google.com/search?q=flame+sensor+module+schematic you may click on "image" to see more.

  • @jaswanthreddy6115
    @jaswanthreddy6115 5 лет назад

    Bro is this sensor works for only fire or it also works at heat please reply broo please

    • @robojax
      @robojax  5 лет назад

      Just fire and any source of Infrared. I have not tested but heat reflects infrared. So you would have to test it to find out.

  • @rubaiyatfoyez
    @rubaiyatfoyez 7 месяцев назад

    Will it work outside properly? Sunlight?

    • @robojax
      @robojax  7 месяцев назад

      Unless you test it in your particular condition, it would be hard to say. So test it.

    • @rubaiyatfoyez
      @rubaiyatfoyez 7 месяцев назад

      @@robojax I doesn't actuallly

  • @shrikantdeshpande5318
    @shrikantdeshpande5318 3 года назад

    What is the output voltage and current of flame sensor

    • @robojax
      @robojax  3 года назад

      I have shown the chip name. check the datasheet for the opAmp chip.

  • @condronugroho9388
    @condronugroho9388 4 года назад

    Thank you 😊❤️

    • @robojax
      @robojax  4 года назад +1

      You are welcome.

    • @condronugroho9388
      @condronugroho9388 4 года назад +1

      @@robojax Why my flame sensor is in reserved/oposite ?. I mean it returns LOW when there is flame and HIGH when there is no fire ?

    • @robojax
      @robojax  4 года назад

      the output state is designed like that. this is normal.

    • @condronugroho9388
      @condronugroho9388 4 года назад

      @@robojax okay. Thank you

    • @robojax
      @robojax  4 года назад

      You are welcome.

  • @hamizahtazilan8518
    @hamizahtazilan8518 Год назад

    can you explain the wiring sir?

    • @robojax
      @robojax  Год назад

      ruclips.net/video/R5LsKd1Rw-I/видео.html

  • @queenniesombilon1634
    @queenniesombilon1634 2 года назад

    What if we use 3 flame sensors, what pins will we connect? We will use it for our fire fighting robot :>>

    • @robojax
      @robojax  2 года назад

      Hello, I have shown how do you define pins for this. do exactly the same for 2 other sensor. Define pins and code. All my videos and codes are free. but if you pay for custom code, you can contact me via robojax.com contact page. I will charge $100/hour for work. Don't forget your email in the body of message if you contacted me.

  • @Ryu-oz9ol
    @Ryu-oz9ol 5 лет назад +1

    Is the code in Java

    • @robojax
      @robojax  5 лет назад

      it is Arduino code . Get if free from arduino.cc

  • @wemissuamy
    @wemissuamy 6 лет назад +1

    Hi. Nice experiment. How about if you put a hot object (eg. soldering iron or glass of hot water) in front of the sensor instead flame?

    • @robojax
      @robojax  6 лет назад +1

      nothing will happen. As shown in video, it is the infrared elements of flame that makes the module to detect. if you try remote control of your TV, it should turn on.

    • @hufflepuffwannabe
      @hufflepuffwannabe 2 года назад

      @@robojax that's very interesting! I want to use the flame sensor for a school project, but I don't want to bring a real flame into the classroom. What could I use in place of a flame?

  • @ahkpets4592
    @ahkpets4592 4 года назад

    Please share the mathematical modelling of flame sensor?

    • @robojax
      @robojax  4 года назад

      this is just infrared sensor as I have explained in the video. To get know how infrared sensor work, search the datasheet of the infrared sensor.

  • @chethan_lokesh7939
    @chethan_lokesh7939 5 лет назад

    can i use 12v relay..insted of buzzer

  • @jdyoon3899
    @jdyoon3899 2 года назад

    Can you give me the circuit diagram of this?

    • @robojax
      @robojax  2 года назад +1

      you don't need it because if you try to build it, it would cost you 10 times. But if you want to have the schematic, you can use this free program fritzing.org/

    • @jdyoon3899
      @jdyoon3899 2 года назад

      @@robojaxthank you for giving information. 🙏 can i ask another question? how about when i'm done installing the code. It is okey, that i'll use battery to my arduino? To turn it on 🤔

  • @romeojr.frivaldo6553
    @romeojr.frivaldo6553 6 лет назад

    What library did you use?
    Please tell me 😢

    • @robojax
      @robojax  6 лет назад

      if you see #include.... then then there might be a library. so there is no library. Just use the provided code. The link for the code is in the description of the video.

    • @romeojr.frivaldo6553
      @romeojr.frivaldo6553 6 лет назад

      Thank you

    • @romeojr.frivaldo6553
      @romeojr.frivaldo6553 6 лет назад

      It can also work in 3 pins? (Vcc,G,DO)?

    • @robojax
      @robojax  6 лет назад

      I have explained that in the video.

    • @romeojr.frivaldo6553
      @romeojr.frivaldo6553 6 лет назад

      It works, that you very much

  • @mrtechsavvy8835
    @mrtechsavvy8835 4 года назад

    What will happen if there is no flame but only gas is leaking ??

    • @robojax
      @robojax  4 года назад

      Nothing. it will not detect it.

  • @up5851
    @up5851 4 года назад

    I just want to make one for myself. Where should i start

    • @robojax
      @robojax  4 года назад +1

      this module is so cheap that it would cost you 10 to 20 times more to build. But you can do it. This is infrared receiver. Search on google "infrared receiver circuit" and click on images after than and you will see 100s of projects. Good luck.

    • @up5851
      @up5851 4 года назад

      @@robojax thank you dear

    • @robojax
      @robojax  4 года назад

      You are welcome.

  • @AbdoAhmed-vn1kt
    @AbdoAhmed-vn1kt 6 лет назад

    what is its applications ??

    • @robojax
      @robojax  6 лет назад +1

      this device could be placed closer to the a machine that might create flame and this would trigger alarm. Other application, in gas heater the igniter can be turned automatically, when gas started burning, this device could turn the igniter OFF. Or could be programmed to turn the igniter ON when there is no flame.

  • @marwaelsayedkhalil3582
    @marwaelsayedkhalil3582 3 года назад

    Where is the diagram

    • @robojax
      @robojax  3 года назад

      what diagram? the sensor schematic or the wring? Schematic may be found by doing image search or bing/google but wiring has been explained fully. but if you need it for project to show, you can get this free software and draw it fritzing.org/

  • @v-vlogsbyvarghese4235
    @v-vlogsbyvarghese4235 5 лет назад

    Have a look at the code and comments
    pin number doesn't match

    • @robojax
      @robojax  5 лет назад

      I check the code and even played the video. Both pin 8 and pin 2 are shown in video and in code. Where seems to be the problem?

  • @abdullahjutt1771
    @abdullahjutt1771 2 года назад

    Circuit diagram please ...

    • @robojax
      @robojax  2 года назад

      See it here ruclips.net/video/R5LsKd1Rw-I/видео.html

    • @robojax
      @robojax  2 года назад

      Wiring diagram only. Do image search you will find tones .

  • @gappuma7883
    @gappuma7883 5 лет назад

    We cant see how you connected the module

    • @robojax
      @robojax  5 лет назад

      at 00:44 (click on 00:44) I have explained the connections. and at 02:17 I have explained the flame pin. Which I will update the code. You will connect DO pin of the sensor to pin 2 of Arduino.I should have shown it. Thanks.

  • @dankmemehub579
    @dankmemehub579 6 лет назад

    what resistors are you using?

    • @robojax
      @robojax  6 лет назад

      At which part? If from the video, please point to the time on video and will look at it ( example 03:15)

    • @fullsolutionslab
      @fullsolutionslab 6 лет назад

      Hi :) Same question: Timeindex 4:45 where you explain the code you show a top view. What I mean is the resistor for the red LED ;) Thanks a lot. It is kind to share your knowledge with us. Big like and I subscrie to your channel (if I could I would give you 2 likes)

    • @xosphere_1562
      @xosphere_1562 6 лет назад

      Manuel Müller... Use a 1k ohm resistor.

  • @hebaalkatib9833
    @hebaalkatib9833 7 месяцев назад +1

    ❤😂