Video není dostupné.
Omlouváme se.

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

Sdílet
Vložit
  • čas přidán 4. 09. 2024

Komentáře • 126

  • @LearnElectronicsIndia
    @LearnElectronicsIndia  Před 3 lety +13

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

  • @rafaelnicanorlescano2498
    @rafaelnicanorlescano2498 Před 3 lety +42

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

  • @user-zm2bs5vu4v
    @user-zm2bs5vu4v Před rokem +2

    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.

  • @a.just.spectator
    @a.just.spectator Před 9 měsíci +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 Před 6 měsíci

    ---
    "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!"

  • @psh0114
    @psh0114 Před rokem

    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!

  • @ashitanarvekar4249
    @ashitanarvekar4249 Před rokem

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

  • @rakhidixit5010
    @rakhidixit5010 Před 6 měsíci

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

  • @prathameshpoojari3845
    @prathameshpoojari3845 Před 2 lety +1

    Thanks for this explanation 🙌

  • @xouenm
    @xouenm Před 2 lety +3

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

  • @preciouszimucha5760
    @preciouszimucha5760 Před 3 lety +1

    everything worked ,thank you;)

  • @dr.robingeorge5605
    @dr.robingeorge5605 Před 2 lety

    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.

  • @TanumayBandopadhyayasymphony

    Nice work like our touch sensor 😅

  • @sukhpreetsingh3844
    @sukhpreetsingh3844 Před 3 lety +1

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

  • @patrickjoseph9476
    @patrickjoseph9476 Před 3 lety +1

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

  • @improvegk7119
    @improvegk7119 Před 3 měsíci

    how you do the logic of gas sensor??

  • @ashyikin8773
    @ashyikin8773 Před 3 lety +1

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

  • @romankarki5041
    @romankarki5041 Před 3 lety +1

    hello, how do i find smoke sensor in fritzing?

  • @mahinahmed9871
    @mahinahmed9871 Před 2 lety +1

    thanks ....joss

  • @vidyatelore2175
    @vidyatelore2175 Před 2 lety +1

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

  • @roopeshrokade3827
    @roopeshrokade3827 Před 2 lety

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

  • @abdelrahmannasser4367
    @abdelrahmannasser4367 Před 3 lety +1

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

  • @PardeepSingh-wj8lc
    @PardeepSingh-wj8lc Před 2 lety

    Nice 🙂

  • @SCRIPTFFking
    @SCRIPTFFking Před 7 měsíci

    Nice mam 😅

  • @akashlanjekar8530
    @akashlanjekar8530 Před 2 lety

    What is orange wire indicate?

  • @user-ei3hl2sb5v
    @user-ei3hl2sb5v Před rokem

    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  Před rokem

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

    • @Integral_MC
      @Integral_MC Před 2 měsíci

      Bro in the video at the end the temperature sensor is connected to A1... Not A0

  • @xihaddawan5317
    @xihaddawan5317 Před 2 lety +1

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

    • @LearnElectronicsIndia
      @LearnElectronicsIndia  Před 2 lety

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

  • @AJ-hy1xn
    @AJ-hy1xn Před 3 lety

    Is this related to DLD??

  • @mugdhonahian7588
    @mugdhonahian7588 Před 3 lety

    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  Před 3 lety +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 Před 3 lety

      @@LearnElectronicsIndia Thanks a lot

  • @tiyas1915
    @tiyas1915 Před 3 lety

    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  Před 3 lety

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

  • @nafizfuad7787
    @nafizfuad7787 Před 3 lety

    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  Před 3 lety

      Please make sure you have made the correct connections.

    • @LearnElectronicsIndia
      @LearnElectronicsIndia  Před 3 lety

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

    • @kiranbusa2046
      @kiranbusa2046 Před 2 lety

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

    • @chit932
      @chit932 Před rokem

      The gas sensor might be rotated (upside down)

  • @tejanaidu7174
    @tejanaidu7174 Před 3 lety

    nice voice madam

  • @castromikelesterg.6611

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

    • @LearnElectronicsIndia
      @LearnElectronicsIndia  Před 3 lety +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.

  • @sirishajain7699
    @sirishajain7699 Před rokem

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

    • @LearnElectronicsIndia
      @LearnElectronicsIndia  Před rokem

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

  • @adityabuttan6072
    @adityabuttan6072 Před 2 lety

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

  • @bivashukchatterjee6457
    @bivashukchatterjee6457 Před 3 lety +2

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

  • @babashankarsn1477
    @babashankarsn1477 Před 3 lety

    what should be the resistance value of the resistor mam?

  • @tanjim_khan_
    @tanjim_khan_ Před 3 lety

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

    • @LearnElectronicsIndia
      @LearnElectronicsIndia  Před 3 lety

      Can you tell us what error do you see?

    • @tanjim_khan_
      @tanjim_khan_ Před 3 lety +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 Před 2 lety +1

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

  • @vainavimdavasam866
    @vainavimdavasam866 Před 3 lety

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

  • @rajeevmishra2902
    @rajeevmishra2902 Před 3 lety +1

    mam how can we find code for this

  • @suneethaperikala5901
    @suneethaperikala5901 Před 3 lety

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

    • @LearnElectronicsIndia
      @LearnElectronicsIndia  Před 3 lety +1

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

  • @RohanAtri_
    @RohanAtri_ Před 2 lety +1

    Please mam provide code on box

  • @billythekid7041
    @billythekid7041 Před 3 lety +1

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

  • @Tradingwala77
    @Tradingwala77 Před 2 lety

    Raw code?

  • @soumyadeepsinharoy5695

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

    • @LearnElectronicsIndia
      @LearnElectronicsIndia  Před 3 lety

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

    • @swagatadas7046
      @swagatadas7046 Před rokem

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

  • @svs2517
    @svs2517 Před 3 lety

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

    • @LearnElectronicsIndia
      @LearnElectronicsIndia  Před 3 lety

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

    • @svs2517
      @svs2517 Před 3 lety

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

    • @svs2517
      @svs2517 Před 3 lety

      In which article code is working?

    • @LearnElectronicsIndia
      @LearnElectronicsIndia  Před 3 lety

      @@svs2517 The article link is in the description.

  • @dragos8961
    @dragos8961 Před 2 lety

    i can t find the code..

  • @alwaysgoodvk9283
    @alwaysgoodvk9283 Před 3 lety

    I want fire alarm system without Arduino in tinkercad

  • @shivdattmishra666
    @shivdattmishra666 Před 3 lety

    WHY CODE IS NOT GETTING COPPIED ITS SHOWING COPY RIGHT

    • @LearnElectronicsIndia
      @LearnElectronicsIndia  Před 3 lety

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

  • @abdelrahmannasser4367
    @abdelrahmannasser4367 Před 3 lety

    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  Před 3 lety

      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.

  • @PardeepSingh-wj8lc
    @PardeepSingh-wj8lc Před 2 lety

    🙂

  • @yontenjamtsho4315
    @yontenjamtsho4315 Před 3 lety

    Can I use DHT11 instead of temperature sensor?

    • @LearnElectronicsIndia
      @LearnElectronicsIndia  Před 3 lety

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

    • @yontenjamtsho4315
      @yontenjamtsho4315 Před 3 lety

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

  • @gwgauransh6790
    @gwgauransh6790 Před 3 lety

    pls paste the code in comment box

  • @tanyachourasia4770
    @tanyachourasia4770 Před 3 lety

    code for this
    pls

  • @Sameeulla0000
    @Sameeulla0000 Před 3 lety

    I want that code plz paste it in message

  • @tommo.1
    @tommo.1 Před 3 lety

    :)

  • @vishakhatrivedi3468
    @vishakhatrivedi3468 Před rokem

    CODE DOES NOT WORK

    • @LearnElectronicsIndia
      @LearnElectronicsIndia  Před rokem

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

    • @LearnElectronicsIndia
      @LearnElectronicsIndia  Před rokem

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

  • @almostmonk5523
    @almostmonk5523 Před 2 lety

    video is good but code is not explained properly

  • @nabukenyaaaliyah6647
    @nabukenyaaaliyah6647 Před 3 lety

    oh my gosh your accent

  • @fcmaxxis5439
    @fcmaxxis5439 Před rokem

    whats your insta id?