Fire Alarm System Project by Interfacing Arduino with Temperature & Gas Sensor || TinkerCAD Projects

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 พ.ค. 2024
  • Welcome to the #LearnElectronicsindia TH-cam Channel. In this video, you'll learn;
    1. How to interface a Temperature sensor with Arduino on TinkerCAD?
    2. How to interface a Gas sensor with Arduino on TinkerCAD?
    3. How to interface a Buzzer with Arduino on TinkerCAD?
    4. How to interface an LED with Arduino on TinkerCAD?
    5. How to create a fire alarm system using a Temperature and gas Sensor using TinkerCAD?
    Chapters/Timestamps -
    0:00 - Components Required for Fire Alarm System Project
    1:40 - How does the LM35 Temperature Sensor work?
    2:05 - How does the Gas Sensor work?
    2:41 - Building the Fire Alarm System Project's Circuit
    6:07 - Fire Alarm System Project Code
    9:15 - Project Simulation
    Read the complete article and find the code here - rpst.page.link/sWrv
    Project By - Navya Tatiparthi
    _______________________________________________
    Other Electronics Learnings link
    IoT Projects - rpst.page.link/rB62
    Raspberry Pi Projects - rpst.page.link/sMqN
    Basic Electronics - rpst.page.link/VJRu
    Home Automation Projects - rpst.page.link/94L8
    _______________________________________________
    Thank You, ❤
    Subscribe to #LearnElectronicsindia,
    Connect and learn more at:
    Website - www.learnelectronicsindia.com/
    Facebook: / learnelectronics.india
    Instagram: / learn_electronics_india
    Linkedin: / learnelectronics
    Thank You, 😊
    #FireAlarm #FireAlert #AlertFire #ProjectFireAlarm #FireSensor #FireAlarmUsingArduino #ArduinoFireAlarm #TempratureSensor #TempratureSensorArduino #ArduinoFireSensor #ProjectArduinoFireSensor #learnElectronicsindia

ความคิดเห็น • 123

  • @LearnElectronicsIndia
    @LearnElectronicsIndia  3 ปีที่แล้ว +12

    To get the code, please refer to the article link in description.

  • @user-zm2bs5vu4v
    @user-zm2bs5vu4v 9 หลายเดือนก่อน +1

    This tutorial deserves all the likes and shares it can get. Learn Electronics India has simplified the entire process, making it enjoyable and educational at the same time.

  • @ashitanarvekar4249
    @ashitanarvekar4249 10 หลายเดือนก่อน

    Well explained! Your video on Arduino and sensors for fire alarms is a gem.

  • @psh0114
    @psh0114 10 หลายเดือนก่อน

    Great project! Your video on interfacing Arduino with temperature and gas sensors for a fire alarm system was informative and well-explained. Keep up the good work!

  • @a.just.spectator
    @a.just.spectator 5 หลายเดือนก่อน +1

    Fantastic job on the fire alarm system project! The integration of Arduino with temperature and gas sensors is a smart approach, ensuring a comprehensive and efficient detection system. Your work not only showcases technical skills but also a commitment to safety. Well done!

  • @soujumulimani9065
    @soujumulimani9065 3 หลายเดือนก่อน

    ---
    "Great demonstration of interfacing Arduino with temperature and gas sensors for a fire alarm system! The integration of these sensors adds an extra layer of safety and detection, crucial for ensuring early warning in case of fire incidents. I appreciate the thorough explanation and demonstration of how each component works together to create a reliable fire alarm system. Looking forward to trying out a similar project myself!"

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

    everything worked ,thank you;)

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

      Can u pls send me the code?

  • @prathameshpoojari3845
    @prathameshpoojari3845 2 ปีที่แล้ว +1

    Thanks for this explanation 🙌

  • @ashyikin8773
    @ashyikin8773 2 ปีที่แล้ว +1

    hi maam, can we connect this project with iot thingspeak?

  • @PardeepSingh-wj8lc
    @PardeepSingh-wj8lc 2 ปีที่แล้ว

    Nice 🙂

  • @sukhpreetsingh3844
    @sukhpreetsingh3844 2 ปีที่แล้ว +1

    Hlo, Can we use tinkercad software to physically simulate the Arduino board

  • @romankarki5041
    @romankarki5041 2 ปีที่แล้ว +1

    hello, how do i find smoke sensor in fritzing?

  • @dr.robingeorge5605
    @dr.robingeorge5605 ปีที่แล้ว

    Initially when the connections were made first, you had one of the pin from piezo at the ground. After you swayed your magic wand, that connection is else were now.

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

    The resolution of the LM35 temperature sensor can be improvised using an external ADC like MCP3201

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

      on my page only got TMP36

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

    thank you, how much ohm is this resistor connected with the gas sensor please?

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

    how does we should connect the tinkercard project to thing speak cloud platform

  • @TanumayBandopadhyayasymphony
    @TanumayBandopadhyayasymphony 2 หลายเดือนก่อน

    Nice work like our touch sensor 😅

  • @AJ-hy1xn
    @AJ-hy1xn 2 ปีที่แล้ว

    Is this related to DLD??

  • @mahinahmed9871
    @mahinahmed9871 2 ปีที่แล้ว +1

    thanks ....joss

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

    nice voice madam

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

    What is orange wire indicate?

  • @SCCHORRA
    @SCCHORRA 3 หลายเดือนก่อน

    Nice mam 😅

  • @rakhidixit5010
    @rakhidixit5010 3 หลายเดือนก่อน

    // This script outlines a video tutorial for creating a fire alarm system using temperature and gas sensors with Arduino. It begins with an introduction to the project and the simulation software used (TinkerCAD), followed by component selection and placement. The script explains the working principles of the temperature and gas sensors, highlights the importance of resistors in the circuit, and details the connections between components. Additionally, it provides an overview of the Arduino code setup, including variable definitions and logic for triggering alerts based on sensor readings. Finally, the script guides viewers through project simulation and observation, concluding with gratitude for watching the tutorial.

  • @vidyatelore2175
    @vidyatelore2175 2 ปีที่แล้ว +1

    Ye project physically work karega in sabhi chijo ke sath plz reply very urgent 🥺🥺😟😟

  • @rafaelnicanorlescano2498
    @rafaelnicanorlescano2498 3 ปีที่แล้ว +36

    float temp;
    float vout;
    float vout1;
    int LED=13;
    int gasSensor;
    int piezo=7;
    void setup()
    {
    pinMode(A0,INPUT);
    pinMode(A1,INPUT);
    pinMode(LED,OUTPUT);
    pinMode(piezo,OUTPUT);
    Serial.begin(9600);
    }
    void loop()
    {
    vout=analogRead(A1);
    vout1=(vout/1023)*5000;
    temp=(vout1-500)/10;
    gasSensor=analogRead(A0);
    if(temp>=80)
    {
    digitalWrite(LED,HIGH);
    }
    else
    {
    digitalWrite(LED,LOW);
    }
    if(gasSensor>=100)
    {
    digitalWrite(piezo,HIGH);
    }
    else
    {
    digitalWrite(piezo,LOW);
    }
    Serial.print("in DegreeC=");
    Serial.print(" ");
    Serial.print(temp);
    Serial.print("\t");
    Serial.print("GasSensor= ");
    Serial.print(" ");
    Serial.print(gasSensor);
    Serial.println();
    delay(1000);
    }

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

    In the following code, why did you divide the output of gas sensor with 1024 and then multiply it with 5000? vout1=(vout/1023)*5000?
    What is the reason behind this calculation. Please explain

    • @LearnElectronicsIndia
      @LearnElectronicsIndia  3 ปีที่แล้ว +9

      The whole formula is just used to convert the sensor value into voltage and then into degree celsius.
      vout=analogRead(A1); // We read the analog (0-1023) value of the temperature sensor.
      vout/1023 // here we convert the value into voltage by diving it by 1023
      vout1=(vout/1023)*5000; //since the Arduino receives power supply - 5V, we multiply it with 5 to get the result in the range of 0 - 5V but we multiply it with 5000 to convert it into millivolts.
      temp=(vout1-500)/10; //here we subtract with 500 to remove the offset value since the TM36 reads value from -50 degree to 125. After subtraction, the temperature range will be 0 - 175 degrees. Since it is in millivolts, we divide it by 10 to convert it into a degree.
      You can also use the formula as:
      vout=analogRead(A1);
      vout1=(vout/1023)*5; //here we convert sensor value into voltage of range 0-5 V
      temp=(vout1-0.5)*100; //since in volts, we multiply the value by 100 after subtracting it with the offset value.
      Also, this formula/conversion varies depending upon the sensor you use.

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

      @@LearnElectronicsIndia Thanks a lot

  • @xouenm
    @xouenm 2 ปีที่แล้ว +3

    Correction on the gasSensor=analogRead(A0); on the complete code in the article. It should be gasSensor=analogRead(A1);

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

      Oops..still not working for me😕

    • @TECHCONEKANNADA
      @TECHCONEKANNADA 7 หลายเดือนก่อน

      Thanks Bhai

  • @castromikelesterg.6611
    @castromikelesterg.6611 3 ปีที่แล้ว

    whats the purpose of having an led set to high when temperature increases ?

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

      LED & Buzzer, both are just used in the prototype project to alert us. So, if the temperature Increases LED would go High and alert the user. It is not mandatory to use both LED & Buzzer, you can just use the Buzzer both the alert.

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

    Mam,plzz this code is not running in Aurduino IDE,after compiling when I upload in that IDE it shows an error that "serial port is not selected"

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

      You would need to connect an Arduino/NodeMCu board to the system and then only the Serial Port will be accessible.

  • @user-ei3hl2sb5v
    @user-ei3hl2sb5v ปีที่แล้ว

    The piezo is buzzing but no smoke appeared. Plus, the led is not on
    The degreeC put -0.64 and Gassensor put 153 no smoke any help please

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

      Please reach out to us at learnelectronicsindia.com@gmail.com and we will try to resolve your issue asap.

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

    what should be the resistance value of the resistor mam?

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

    mam its working the code also correct but my value is shown in degreeC=-50.00 GasSensor=0 and its not change gassensor value is 0

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

      Please make sure you have made the correct connections.

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

      Also, check whether you have the code working properly with all the correct formulas added as above.

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

      What u have done bro same error connection and code is all right!

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

      The gas sensor might be rotated (upside down)

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

    Could you please provide us with the tinkercad link... because the code doesn't seem to work.

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

      We have modified the code again and this time it should work for you. Please try and let us know if it is working or not?

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

      @@LearnElectronicsIndia code mentioned in the article is working now????

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

      @@hemanntth1348 Yes

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

      @@LearnElectronicsIndia yes ma'am the code works.Thank you:)

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

      Wil you please send me the code link again

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

    mam in my circuit the alarm is continuously blinking even when the smoke has been taken away

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

    The code is not working. Could you please recheck?
    When I paste the code in tinkercad, the simulation doesn't work

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

      Can you tell us what error do you see?

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

      @@LearnElectronicsIndia I implemented the whole circuit as it is (with multiple cross-checking's) and added the code to the arduino but it isn't working at all.
      piezo doesn't buzz when the smoke is there and the LED doesn't glow when the temperature is increased.

    • @SS-pr9nn
      @SS-pr9nn 2 ปีที่แล้ว +1

      @@LearnElectronicsIndia Mam for me the smoke is not appearing and the led is not glowing. Can you please please say any solution

  • @PardeepSingh-wj8lc
    @PardeepSingh-wj8lc 2 ปีที่แล้ว

    🙂

  • @xihaddawan5317
    @xihaddawan5317 2 ปีที่แล้ว +1

    Where is the code?
    In this article i cannot find code now

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

      Please refer to the article/blog link mentioned in the description it is available.

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

    mam how can we find code for this

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

    how to do this only with temp sensor without using gas sensor?

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

      You can just interface the Temperature sensor and set a Fire Alarm if the temperature goes above the threshold value.

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

    ma'am how to get the document of the correct code?

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

      The code is available in the article link provided in description, please check.

    • @swagatadas7046
      @swagatadas7046 9 หลายเดือนก่อน

      @@LearnElectronicsIndia we need to buy it like seriously??

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

    Can I use DHT11 instead of temperature sensor?

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

      Yes, since DHT11 is a Temperature and Humidity sensor itself, you can use it but it may not be available in TinkerCAD

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

      @@LearnElectronicsIndia Thank you for the reply. In practical, can I used it with the same code.

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

    Raw code?

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

    Mam, please. Can we get the circuit diagram of this project??

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

    Everything worked properly but the fire alarms is not buzzing. Can u plz slove this

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

      Please reach out to us at learnelectronicsindia.com@gmail.com and we will try to resolve your issue asap.

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

    In this why code is having so much errors how can i fix them..

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

      Please let us know, what is the error message that you see?

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

      @@LearnElectronicsIndia its showing so many errors found in your code

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

      In which article code is working?

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

      @@svs2517 The article link is in the description.

  • @bivashukchatterjee6457
    @bivashukchatterjee6457 3 ปีที่แล้ว +2

    There's a small mistake in the code Analog read for gas sensor should be A1 and Vout should be A0.

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

      Thanks fam.

    • @deepplayzz4352
      @deepplayzz4352 2 ปีที่แล้ว +2

      its still not working temp goes -50 and gas sensor goes 158

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

    i can t find the code..

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

      Please refer to the article/blog link mentioned in the description.

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

    I want fire alarm system without Arduino in tinkercad

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

    code for this
    pls

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

    Please mam provide code on box

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

      Please refer to the article/blog link mentioned in the description.

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

      @@LearnElectronicsIndia please send the code link there is no code in article

  • @tommo.1
    @tommo.1 2 ปีที่แล้ว

    :)

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

    WHY CODE IS NOT GETTING COPPIED ITS SHOWING COPY RIGHT

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

      You must see a download file option. If not then select the code and press Ctrl + C, it will work.

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

    why does the piezo did not work when the temperature is high? the piezo should work if the temp is high and if there is a gas

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

      In the code, we have not defined as Piezo to HIGH when the temperature goes HIGH, in that case we have set the LED as HIGH. But you can instead do the same for Piezo Buzzer as well.

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

    pls paste the code in comment box

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

    I want that code plz paste it in message

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

      Please check the article link in Description.

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

      @@LearnElectronicsIndia k

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

      How to get smoke on gas sensor

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

      @@Sameeulla0000 You need to click on "Start Simulation" on TinkerCAD and then click on the sensor.

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

    oh my gosh your accent

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

    CODE DOES NOT WORK

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

      Can you tell us what error did you faced and we will try to resolve it for you?

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

      Can you tell us what error did you faced and we will try to resolve it for you?

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

    video is good but code is not explained properly

  • @fcmaxxis5439
    @fcmaxxis5439 10 หลายเดือนก่อน

    whats your insta id?