Raspberry Pi Pico Getting Temperature Reading on the OLED Display

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 มี.ค. 2021
  • www.pcbway.com/ Get 5 boards in about a week for $22!
    In this video we look to get the temperature sensor reading from the Raspberry pi pico onto the SSD1306 based OLED.
    Yes!! I now have merch: teespring.com/stores/learnele... Electronics themed T-Shirts!
    HEY YOU ABOUT TO POST SOMETHING STUPID:
    Yes, I know my hands are large/fat. It's because of a heart condition I suffer from called Congestive Heart Failure. Here's a link to some information about CHF: cle.clinic/2TdS2Ux
    One of the symptoms is that is causes fluid retention, mostly in the hands, feet/ankles, and face.
    It will kill me one day. I'm doing ok right now, but someday...
    --------------------------------------------------------------------------------------------------------------------
    If you are shopping for electronic components, test gear or consumables please consider visiting my Amazon shop @ amazon.com/shop/learnelectronics
    Please check out www.patreon.com/learnelectronics and pledge a dollar if you can. It will go a long way to keeping the channel alive. It costs a bit of money to buy all the items and produce these videos. You help is appreciated.
    ---------------------------------------------------------------------------------------------------------------------
    Or....if you'd like to send a one-time donation you can use this link: paypal.me/learnelectronics
    ----------------------------------------------------------------------------------------------------------------------
    Geaqr I use:
    DMM: Owon B33+ - amzn.to/3qQgH20
    Power Supply: Matrix 3206 - amzn.to/37C0fL9
    Portable O'scope: YEAPOOK ADS1013D - amzn.to/2ZG4G3x
    Bench O'Scope: Hantek DSO5072P - amzn.to/3pUl2jL
    Soldering Station - KSGER T12 - amzn.to/2NuNdby
    Multimeter leads: Probemaster - amzn.to/2ZJ0BLK
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Great to see another of Paul's Pico Python Practice lessons.
    I particularly like the way you are, as the best teachers do, including what we learnt last time in each new lesson - rather than just jumping to a completely different content !
    Maybe next time install a separate temp/humidity sensor such as the DHT22 to form a simple sort of weather station?
    looking forward to learning more about using the Pico along with you & the rest of the LE family

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

    Looks like a good introductory test of the Pico, nice job getting it working!

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

    Liking what I see. Love the built-in temperature sensor. Still waiting for mine. Thanks, Paul.

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

    Very cool. There may be hope for the Pico yet. Thanks for the video!

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

    Writing code for the pico seams easier and harder at the same time. Great video Paul, thanks for all you do.

  • @nick-qw2zh
    @nick-qw2zh 3 ปีที่แล้ว

    Thanks for your videos,very informative.Hang in there with your CHF.

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

    Finally got my raspberry pico ..... gonna try it in the AM..... thanks for the video...

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

    Love it when you spend a substantial mount of time planning and building then troubleshooting a project. To turn something on and get it working is like a miracle! I built an amplifier a few weeks ago and at first I had a tube go bad then the resistors charred and I was encouraged since the first powering on was successful and the audio was so nice and loud. I ordered a tung-sol 12ax7 and plugged it in last week, it works flawlessly. Now I gotta build a speaker box and mount the guts into a chassis. I’m able to adjust my B+ voltage for the plates of the tubes, I was screwing with it this morning and I found that with 400 volts to run the power output beam tetrode I can put 200 volts through my 12ax7, but the cathode-heater resistance is rated for 180 volts I still need to measure this reading. Do you know what the ideal plate voltage of the preamp triode would be for optimal tone for a line-level audio signal like a Hi-Fi amp or is it higher or lower than this if I try to plug in an electric guitar or how about a condenser mic?

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

    Fantastic!
    Unfortunately I have to wait a bit for the delivery of SSD1306.

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

    Love to watch you work your way thru these as I watch them on my phone. Could you make the font of your code a little bigger? It's really rough on my eyes

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

    I have been looking for weather related projects. DroneBot recently did a video on making an anemometer and I find all kinds of temperature and humidity videos with an occasional barometric pressure reader. However, I have found nothing for a wind vane, giving wind direction! I was wondering if that could be done with a rotary encoder. Or is there something easier? Also, looking for a rocking rain gauge, which could use either a magnetic reed switch or a LED/light sensor pair. And, finally, remote it all via wifi or some such. Either a PI or an Arduino. Not much, a bit less than the moon!!

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

    Thanks for creating and posting, one of the better "how to" videos for us noobs.
    I added and changed a couple lines to get readout in F. It works but not knowing what I'm doing there might be a better way...see below:
    reading = sensor_temp.read_u16() * conversion_factor
    temperature = 27 - (reading - 0.706)/0.001721
    temperature_f = (temperature*1.8) + 32
    print(temperature_f)
    utime.sleep(2)

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

    Can you explain why every demonstration of displaying temperature using the Pi Pico shows 5 places after the decimal place. Surely the information after the decimal point is totally pointless and irrelevant...I can understand one place after the decimal but not five. Is it laziness in writing the code or is it a case of not understanding the use of "int" or "float" when describing the variable values??? Otherwise loving your videos, especially about the Pi Pico and uPython

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

    You'll be able to demonstrate this on your breakout board. Liked your calibration technique! 🤣

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

    Nice program. Insert probe outside and have Pi light a BIG RED FLASHING LED when temperature drops below 40.
    Have a great week Paul.

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

      Its supposed to be 68 on Wednesday. I'll be out getting a tan in the backyard.

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

    I wonder how to get rid of that blinking. That doesnt happen when printing real-time floating values to an OLED from Arduino. Also, the Pico can log data to its flash mem, so Im going to try to add that function to this program

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

    It would be so much easier if the board was marked on top with pin details, thanks for the videos

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

    Good one 👍🏻

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

    If at first you don't succeed, hit the keys harder! ;-) I have to get one of those to play with.

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

    Ive been messing with this particular thing for past few days and have managed to make the readout display cpu temp,ultra sonic distance range value , I even had a little pixel moving up down the screen depending on distance, The only issue im having is i cant find a way to make the text bigger on the screen.

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

      Yeah, this library doesn't seem to have many different types of controls for the display. I've been thinking of trying out CircuitPython. You ever play with that?

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

      @@learnelectronics I did put that into my pico but then windows refused to have compatible drivers to communicate with it so i had to revert it back to the original firmware. I think to use that id prob have to use Linux for compatibility issues.

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

      @@learnelectronics Did you make any progress with making bigger text? i haven't yet.

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

    👍

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

    Where can I submit video ideas?

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

    pls give code

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

    No Intro? Ok then... Lol
    You thinking about it all wrong Paul. You didn't screw something up. The fingers and brain are not always on the same page... Lol
    At a boy! I know you could do it! :-D
    Thanks for the video!
    LLAP

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

    Are these celsius?

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

    where did you print the pinout?

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

      Off the internet

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

      @@learnelectronics can you provide the link to the picture?

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

    Hoping my Pico's will turn up soon, also have Zero W's on backorder ... yawn, I hate waiting...

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

      meanwhile you got time to do some research (if you need it)

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

    You need to borrow AvE's voice activated camera.