Measure Temperature Accurately with your PICO and the LM35 Temp Sensor

Sdílet
Vložit
  • čas přidán 8. 09. 2024
  • The LM35 temperature sensor is an accurate sensor that can easily be interfaced to the PICO. In this Video Chris walks you through the process to get things up and running smoothly.
    SEE ASSOCIATED VIDEOS:
    Raspberry Pi PICO Setup and Preparation for Programming • Raspberry Pi PICO Setu...
    PICO Machine Library PIN Class • PICO Machine Library P...
    Read Analog Voltage with the PICO • Read Analog Voltage wi...
    VISIT OUR COMPANION WEBSITE -- makingstuffwit...
    DOWNLOAD FILES HERE -- makingstuffwit...

Komentáře • 21

  • @quaternion-pi
    @quaternion-pi Před rokem +3

    Well explained, useful concise project. Have you considered sending the temp data via wifi to an MQTT broker (possibly running on a regular RPi) and either node-red or a web server (also running on the regular RPi) to graph the data on a web page and even store it in a database? A much bigger project for sure with lots of moving parts to master. You have a great teaching style and thoughtful content, thanks!

    • @MakingStuffwithChrisDeHut
      @MakingStuffwithChrisDeHut  Před rokem

      Hi Quaternion, Thanks for the feedback, suggestion and kind words!!! Very much appreciated. I have a temp/humidity data logger in the works right now that sort of fills the bill. It is not as grand as you are suggesting but it should be a good starting point for more IOT type projects and videos. Thanks again!
      Cheers!
      Chris

  • @StephenCross
    @StephenCross Před rokem

    I’ve watched many of your videos and learned much. Thank you.

    • @MakingStuffwithChrisDeHut
      @MakingStuffwithChrisDeHut  Před rokem

      Hi Stephen, Thank you for being part of this community and for sharing your appreciation! Very much appreciated.
      Cheers!
      Chris

  • @dmark6699
    @dmark6699 Před rokem

    Very professional videos Chris very accurate and well explained.

  • @OmidAtaollahi
    @OmidAtaollahi Před rokem

    just perfect like your all other vidoes.

  • @skf957
    @skf957 Před rokem +1

    Another great building block tutorial, thank you!
    Please take this as the genuine feedback that it is: I found the green circle around your cursor distracting due to the other code under it being partially obscured. I also wouldn't mind the code font size to be increased a bit - but I am using a notebook (and old eyes!) and maybe others don't see a problem. Thanks again, please keep these up.

    • @MakingStuffwithChrisDeHut
      @MakingStuffwithChrisDeHut  Před rokem

      Hi C G, Thanks for the feedback, suggestion, and kind words, VERY MUCH APPRECIATED!. Regarding your request I have a temp/humidity logger project in the works and will be out around early summer I think.
      Cheers!
      Chris

    • @jyvben1520
      @jyvben1520 Před rokem +1

      Thonny has increase fontsize option in the menu, also the shell can be replaced with a movable shell, use tools/open system shell, but to run a file you will need to import it e.g. for demo.py then do import demo

    • @MakingStuffwithChrisDeHut
      @MakingStuffwithChrisDeHut  Před rokem +1

      @@jyvben1520 Hi Ben, I think I need to leave the settings large all the time and stop switching back and forth. I noticed the font size not getting back to the "video size" several times now. Just too darn many things for me to keep track of when filming 🙂
      Cheers!
      Chris

    • @jyvben1520
      @jyvben1520 Před rokem

      @@MakingStuffwithChrisDeHut would destroying the config file help ?

    • @MakingStuffwithChrisDeHut
      @MakingStuffwithChrisDeHut  Před rokem

      @@jyvben1520 Ha, probably, but I think I will save that as a last resort!

  • @WilliamBurlingame
    @WilliamBurlingame Před rokem

    I've been using the DHT22 units. They occasionally return readings that are not consistent with previous readings (many degrees different). I read at one per minute. I'm trying to control the temperature in a greenhouse with a Raspberry pi 3B+. If I replaced the DHT22 with the Pico and LM35 "talking" to 3B+, it might solve a problem I have with the DHT22.

    • @MakingStuffwithChrisDeHut
      @MakingStuffwithChrisDeHut  Před rokem

      Hi William,
      It might, but I have found most of these digital temp sensors can be a bit wonky at times. I have resorted to averaging in some other applications and that has smoothed things out there. Keep us posted on what you find if you get around to trying it.
      Cheers!
      Chris

    • @WilliamBurlingame
      @WilliamBurlingame Před rokem

      @@MakingStuffwithChrisDeHut I've thought about using a low pass filtering average. With either kind of averaging, it would take some time. I've read that less than 5 seconds between readings on a DHT22 is a problem. Instead of one reading per minute, it would mean multiple readings per minute to get an average.

    • @MakingStuffwithChrisDeHut
      @MakingStuffwithChrisDeHut  Před rokem

      @@WilliamBurlingame Are you looking to get readings every minute for your project and then perform an action on that?

    • @WilliamBurlingame
      @WilliamBurlingame Před rokem

      @@MakingStuffwithChrisDeHut Yes that's what I do. I think I may start a thread to take a reading every 5 seconds and maintain an average during the one minute interval for the main loop to act on. I will still discard and not include any readings that are very inconsistent in the average calculation.. I'm trying to control the temperature in a small greenhouse.

    • @MakingStuffwithChrisDeHut
      @MakingStuffwithChrisDeHut  Před rokem

      @@WilliamBurlingame Being that temperature changes slowly, is it really necessary to sample the data that quickly? I might be missing something so forgive my questions.