Flame Sensor for Arduino with code

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 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.

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

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

  • @EgyptFishingVideos
    @EgyptFishingVideos 4 ปีที่แล้ว +1

    Simple and extremely informative.
    Thank you.

    • @robojax
      @robojax  4 ปีที่แล้ว

      You are welcome.

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

  • @chandravadiyajaydeep65
    @chandravadiyajaydeep65 3 ปีที่แล้ว

    Can we add water pump for safety in this

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

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

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

  • @engineeringaspirantunoffic2856
    @engineeringaspirantunoffic2856 3 ปีที่แล้ว +1

    Great video needed

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

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

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

  • @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 🙌✨

  • @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 ?

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

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

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

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

  • @rubaiyatfoyez
    @rubaiyatfoyez 8 หลายเดือนก่อน

    Will it work outside properly? Sunlight?

    • @robojax
      @robojax  8 หลายเดือนก่อน

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

    • @rubaiyatfoyez
      @rubaiyatfoyez 8 หลายเดือนก่อน

      @@robojax I doesn't actuallly

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

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

  • @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?

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

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

  • @第9487號實驗品
    @第9487號實驗品 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.

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

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

  • @_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

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

  • @Ryu-oz9ol
    @Ryu-oz9ol 5 ปีที่แล้ว +1

    Is the code in Java

    • @robojax
      @robojax  5 ปีที่แล้ว

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

  • @hamizahtazilan8518
    @hamizahtazilan8518 ปีที่แล้ว

    can you explain the wiring sir?

    • @robojax
      @robojax  ปีที่แล้ว

      th-cam.com/video/R5LsKd1Rw-I/w-d-xo.html

  • @techtbe
    @techtbe 4 ปีที่แล้ว

    Nice tutorial...Thanks

    • @robojax
      @robojax  4 ปีที่แล้ว

      Glad it was helpful!

  • @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 th-cam.com/video/58XWVDnB7Ss/w-d-xo.html

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

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

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

  • @chethan_lokesh7939
    @chethan_lokesh7939 5 ปีที่แล้ว

    can i use 12v relay..insted of buzzer

  • @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?

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

  • @abdullahjutt1771
    @abdullahjutt1771 2 ปีที่แล้ว

    Circuit diagram please ...

    • @robojax
      @robojax  2 ปีที่แล้ว

      See it here th-cam.com/video/R5LsKd1Rw-I/w-d-xo.html

    • @robojax
      @robojax  2 ปีที่แล้ว

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

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

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

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

  • @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. 🔔 😊

  • @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 8 หลายเดือนก่อน +1

    ❤😂