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

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ม.ค. 2025

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

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

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

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

      Do we have to pay for the code?

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

      but i dont want to sign up

    • @solvesolution9109
      @solvesolution9109 6 หลายเดือนก่อน

      i cant find code from your preferable website.... why?

  • @AnushkaGupta-s4j
    @AnushkaGupta-s4j ปีที่แล้ว +3

    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 ปีที่แล้ว +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 11 หลายเดือนก่อน

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

  • @rafaelnicanorlescano2498
    @rafaelnicanorlescano2498 4 ปีที่แล้ว +66

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

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

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

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

    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!

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

    Thanks for this explanation 🙌

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

    everything worked ,thank you;)

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

      Can u pls send me the code?

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

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

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

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

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

    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
    @TanumayBandopadhyayasymphony 11 หลายเดือนก่อน

    Nice work like our touch sensor 😅

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

    thanks ....joss

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

    Nice mam 😅

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

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

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

      on my page only got TMP36

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

    Nice 🙂

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

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

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

    hello, how do i find smoke sensor in fritzing?

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

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

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

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

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

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

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

    how you do the logic of gas sensor??

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

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

  • @سكون-ن5ف
    @سكون-ن5ف 2 ปีที่แล้ว

    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  2 ปีที่แล้ว

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

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

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

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

    DESIGN & IMPLEMENT A SYSTEM TO ADDRESS ANY CHALLENGE IN ANY FIELD OF APPLICATION. THE SYSTEM SHOULD INCLUDE AN LCD, A BLUETOOTH MODULE, TWO SENSORS & TWO ACTUATORS WITH ONE OF THE SENSORS & ACTUATORS BEING MODELLED

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

    What is orange wire indicate?

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

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

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

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

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

    Is this related to DLD??

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

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

  • @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 2 ปีที่แล้ว

      The gas sensor might be rotated (upside down)

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

    nice voice madam

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

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

    what should be the resistance value of the resistor mam?

  • @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 2 ปีที่แล้ว

      Wil you please send me the code link again

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

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

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

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

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

  • @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 3 ปีที่แล้ว +2

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

  • @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 3 ปีที่แล้ว +1

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

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

  • @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 ปีที่แล้ว

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

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

    i can t find the code..

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

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

  • @rajeevmishra2902
    @rajeevmishra2902 4 ปีที่แล้ว +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.

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

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

    Can I use DHT11 instead of temperature sensor?

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

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

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

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

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

    Please mam provide code on box

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

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

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

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

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

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

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

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

    Raw code?

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

    I want fire alarm system without Arduino in tinkercad

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

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

    pls paste the code in comment box

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

    code for this
    pls

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

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

    🙂

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

    video is good but code is not explained properly

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

    :)

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

    oh my gosh your accent

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

    whats your insta id?