How to use LM35 temperature sensor with arduino

Sdílet
Vložit
  • čas přidán 3. 08. 2024
  • This video explains how to use an analog temperature sensor with an Arduino. We explain step by step how to get the voltage value and then convert it to temperature.
    And then we try to display the temperature to an LCD.
    Join this channel to get access to perks:
    / @miliohm
    Full code and tutorial :
    miliohm.com/how-to-use-lm35-t...
    Videos on LCD tutorial :
    • How to use I2C LCD wit...
  • Věda a technologie

Komentáře • 34

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

    Because I have to submit a project to the school and that is just perfect and also creative because no one have used Arduino in his project!

  • @kzchi850
    @kzchi850 Před rokem

    bro, you are awesome!!

  • @m7mdMAH5
    @m7mdMAH5 Před 2 lety

    Thank you very much !!!

  • @geoffreymbugua4963
    @geoffreymbugua4963 Před rokem

    Thank you. How can I add a fan to cool the temperature?

  • @mahmuthocausta
    @mahmuthocausta Před 2 lety

    Thank you very much

  • @NoOne-br7bl
    @NoOne-br7bl Před rokem +1

    Hello, I got wrong temperature value and I used multiple lm35 to check if its working well but I got same values which is 68

  • @sarahali7611
    @sarahali7611 Před rokem

    Thank you for the vid. But why it appears to my lcd that the temperature is 100 Celsius and above

  • @EforEngineering
    @EforEngineering Před 2 lety

    My temp is going down with rise in temp.what to do

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

    Thanks for this video! It is a great help for my project. I have a question, can I store the temperature reading in an sd card? And if I can, how?

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

      Sure you can, you can watch my another video about SD card/data logger

  • @andriibobrov
    @andriibobrov Před rokem +4

    I'm getting this output every time:
    Voltage :
    4.89
    Temperature :
    488.76

  • @Amperekaefer
    @Amperekaefer Před 2 lety

    *Danke* .

  • @ajith6840
    @ajith6840 Před rokem

    Thank you so much for this video
    Is it possible to add an battery voltage sensor along with the temperature sensor in the same Arduino, How can we combine the both programs

    • @miliohm
      @miliohm  Před rokem

      It is easy. Just analogRead on another pin, then do your formula to get the voltage and print it.

    • @ajith6840
      @ajith6840 Před rokem

      @@miliohm If you don't mind , Do a detailed video on this, I sure that it is very useful , I would like make the same project to my motorcycle to calculate battery voltage & engine temperature

  • @alialameertaha7277
    @alialameertaha7277 Před 2 lety

    I have same sensor but with different shape, is the same datasheet correct for both.

    • @miliohm
      @miliohm  Před 2 lety

      What kind of shape do you have?

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

      @@miliohm it is the module one, it looks like a chip with a sensor. LM35 module.
      Can I know what is the difference from sensor only.
      Thanks for the reply.

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

      If there is no additional IC there, should be the same. It is just used for easier use on breadboard

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

    Why my lcd I2C showing no such file directory ????

    • @miliohm
      @miliohm  Před 2 lety

      Maybe You don't have the i2c LCD library yet. Watch my tutorial about the LCD. Link in the description

  • @gouthamas7265
    @gouthamas7265 Před 2 lety

    How do I add liquid crystal_Ic on to my library!!!!!!!!!

    • @miliohm
      @miliohm  Před 2 lety

      I already place detailed video tutorial about the LCD in the description.

  • @bhaveshkunbi2164
    @bhaveshkunbi2164 Před rokem +1

    Temperature value is showing floating too fast?

    • @ashishbelel1127
      @ashishbelel1127 Před 6 měsíci +1

      Increase delay time
      I think its like 5 sec is equal to delay(5000) in its code

  • @gilangbagussajiwo469
    @gilangbagussajiwo469 Před rokem +3

    why my sensor results if I get a hot temperature, the value goes down?

    • @RVCE-
      @RVCE- Před rokem

      Same... Is it solved?

    • @alejandromartinezbaena7387
      @alejandromartinezbaena7387 Před 22 dny

      did you solve the problem? I'm getting the same behavior and I did exactly what it's on video

    • @dumbothebabyelephant
      @dumbothebabyelephant Před 10 dny

      ​@@alejandromartinezbaena7387hey, did u solve the issue? Im having the same problem. Please help me if u figured it out.

  • @muhammadanas5383
    @muhammadanas5383 Před rokem +1

    LiquidCrystal_I2C.h: No such file or directory

    • @miliohm
      @miliohm  Před rokem

      You need to download the library for the i2c lcd first

    • @miliohm
      @miliohm  Před rokem

      czcams.com/video/OD3pu1OAnjs/video.html here's complete tutorial about the i2c LCD if you are using it for the first time

  • @amentos8409
    @amentos8409 Před 2 lety

    Can u plz mention the components soldered with lcd display

    • @miliohm
      @miliohm  Před 2 lety

      It's called i2c LCD backpack. You can find the detailed tutorial about LCD and the backpack in link in the description.