Control temperature and humidity with Raspberry Pi Pico

Hesam Moshiri (aka MyVanitar) used Raspberry Pi Pico, a digital SHTC3 sensor, and a TFT display to build a temperature and humidity monitor to help you keep an eye on your environment. His version is equipped with relays so the device can control heating and cooling in response to the sensor readings, keeping conditions within preset limits.

Subscribe to Hesam’s YouTube channel

It’s super tiny and portable so you can move it around and use it wherever you need it. Maybe in a greenhouse to improve the chances your tomatoes won’t wilt again this year, or perhaps up in the loft to check you’re not losing too much heat from your home.

Hesam’s creation can read freezing temperatures from −40°C all the way up to a worryingly toasty +125°C. Admittedly, I generally lend little attention to how we scientifically measure humidity. I rely on a range that spans from “hair looks a little frizzy” through to “air feels like it’s stuck to my face”. Happily, the project post describes how the sensor provides proper measurements from 0–100% relative humidity, with a tolerance of ±2%RH.

pico humidity temperature sensor

The colourful TFT display in the photo above shows temperature on the left and humidity on the right. When Hesam took this shot, room temperature was a little above normal, but not worryingly so, resulting in a yellow display. Humidity, however, was much lower than normal, giving a red warning display. The green and red arrows underneath each of the half-dials indicate the maximum and minimum recorded readings along with the time those conditions were detected.

Control temperature and humidity with Raspberry Pi Pico
The whole setup

The user can set the upper and lower bounds of the temperature range for the relays to maintain via heating and cooling units. Hesam coded everything using the Pico C/C++ SDK library. He created the schematics and the custom PCB in Altium Designer 22.

Control temperature and humidity with Raspberry Pi Pico
Custom PCB

Lots more detail about the circuits, the PCB layout, and how everything works together are provided in this project post.

Print Friendly, PDF & Email

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Server Status

Aradippou Chat 1 Chat 2 Larnaca Limassol Nicosia

Chat Links

Official Links.

1. Chat 1.
2. Chat 2.

Alternative Mirror Links.

1. KiwiIRC 1.
2. KiwiIRC 2.

Other Web Clients.

1. IrcCloud.

Recent Posts

Related Posts:



Super Club Radio

Mighty Deals


CyIRC Tweets

Scroll Up
Fatal error: Uncaught WMAC\JSMin_UnterminatedStringException: WMAC\JSMin: Unterminated String at byte 1180: "+o.accessToken}}).then(e=>{if(!e.ok)throw e;return e});return a.catch(e=>{console.error(`Failed to logout chatrix session. deviceId: ${o.deviceId}`)}),a}})(); in /home/bszucbfe/public_html/wp-content/plugins/clearfy/components/minify-and-combine/includes/classes/ext/php/jsmin.php:215 Stack trace: #0 /home/bszucbfe/public_html/wp-content/plugins/clearfy/components/minify-and-combine/includes/classes/ext/php/jsmin.php(157): WMAC\JSMin->action(2) #1 /home/bszucbfe/public_html/wp-content/plugins/clearfy/components/minify-and-combine/includes/classes/ext/php/jsmin.php(96): WMAC\JSMin->min() #2 /home/bszucbfe/public_html/wp-content/plugins/clearfy/components/minify-and-combine/includes/classes/class-main.php(375): WMAC\JSMin::minify('(function(){"us...') #3 /home/bszucbfe/public_html/wp-includes/class-wp-hook.php(324): WMAC_PluginMain->jsSnippetcacher('(function(){"us...', '/home/bszucbfe/...') #4 /home/bszucbfe/public_h in /home/bszucbfe/public_html/wp-content/plugins/clearfy/components/minify-and-combine/includes/classes/ext/php/jsmin.php on line 215