How to Build a Raspberry Pi Pico Weather Station

Raspberry Pi Pico Weather Station
(Image credit: Tom's Hardware)

Do you need a digital hydrometer to monitor the temperature and humidity in your home or office? Instead of buying one, now you can make your own with a Raspberry Pi Pico microcontroller board. When the project is complete, string the DHT sensor through a window for the most accurate weather readings (or use this project to monitor your indoor temperature). 

In this tutorial, we utilize the Raspberry Pi Pico microcontroller to read temperature and humidity data and display the data on our 16x2 LCD screen. Unlike every other Raspberry Pi, the Pico (see our Raspberry Pi Pico review) is a microcontroller board, rather than a full-fledged Linux computer. That makes it great for handling lightweight projects, involving sensors and other electronic components, especially those that use analog input, something other Pis can’t handle without an add-on board.

Latest Videos FromTom's Hardware
(Image credit: Future)
Contributor

Caroline Dunn is a freelance writer for Tom's Hardware. Her expertise lies in covering Raspberry Pi projects, creating video tutorials, writing guides, and exploring other entertaining tech DIY initiatives.

  • christiaangombert
    Good to see Rp2040 projects. It would be nice to see this tutorial also in MicroPython.
    Reply
  • daedalus1
    A hydrometer is used to measure specific density, such as alchol in fermenting beer.
    You use a Hygrometer to measure humidity.

    https://en.wikipedia.org/wiki/Hydrometerhttps://en.wikipedia.org/wiki/Hygrometer
    Couldn't be bothered to read the rest after that basic fact cockup.
    Reply
  • 4freedomssake
    It would be cool to find a setup for outdoors to measure wind speed, rain amounts and etc.
    Reply
  • ColonelDare
    If you wish to see this tutorial in MicroPython, please let us know

    Yes please!! I have bought myself a Pico + SparkFun LCD, worked through the 'Getting Started with MP...' book but I am stumped trying to make sense of the SerLCD modules to control the screen beyond 'Hello WorldHello WorldHell...' etc.
    Two days of Googling and I can't find a sensible (to me anyway) guide that doesn't depend on modules not found in MicroPython on the Pico, or built for Arduino boards.
    <nice friendly smile>
    Maybe an 'Intermediate Guide to MicroPython on the RP Pico'? Please.
    </nice friendly smile>
    Reply
  • King_V
    So, if a power bank is used, how quickly does the Pico weather station setup draw/drain power?
    Reply
  • WarWolverineWarrior
    Or you can just take 10 seconds of your life to buy it which is cheaper.

    https://www.amazon.com/gp/product/B07Y36FWTT/ref=ppx_yo_dt_b_asin_title_o06_s00?ie=UTF8&psc=1
    Reply
  • g1gsw
    Admin said:
    In this project, we’ll build a Raspberry Pi Pico weather station that displays the current temperature and humidity on an LCD screen.

    How to Build a Raspberry Pi Pico Weather Station : Read more

    Can we have the micropython version please? I want to learn pythonso would be usefulto me.

    Colin
    Reply
  • MartinT2021
    Admin said:
    In this project, we’ll build a Raspberry Pi Pico weather station that displays the current temperature and humidity on an LCD screen.

    How to Build a Raspberry Pi Pico Weather Station : Read more

    +1 for the MicroPython version please.

    And thanks for the article as it stands, very interesting .... I've ordered my parts!
    Reply
  • widgeon3
    +1 more for a MicroPython version. I too am keen to use the LCD with my Pico.
    Reply
  • MartinT2021
    Hello
    Well my LCD turned up today, so I had fun putting it together.
    I first tried with the precompiled weatherstation.uf2 and that didn't work - the screen showed a solid bar on the top row and blank below. Then compiled from source, and that worked fine.
    So thanks very much for the tutorial!
    Reply