Raspberry Pi Pico makes sure your Christmas tree never goes thirsty

It is 21 December and if your tree is looking more beige than brilliant, this hack comes too late for you. YouTube’s most practical dad, Pater Practicus, has devised a Raspberry Pi Pico-powered thing to keep your Christmas tree looking brilliant and green all through the season by ensuring it gets the water it needs.

If you’re reading this in January, this project works equally well for any house plant, including all the dead ones I am currently looking at as I write this. By which I mean, it would work great for them had I not already killed them.

Thirsty tree hack

Pater Practicus decided to take a slightly more high-tech approach to keeping the family Christmas tree nice and green. He used a Raspberry Pi Pico to monitor the water level and keep needle drop to an absolute minimum. I swear my hoover sees more action in December than any other month of the year, so I am here for this hack.

Raspberry Pi Pico makes sure your Christmas tree never goes thirsty
The maker did the programming for this project on a Raspberry Pi 3

He started by sawing about an inch off the bottom of the Christmas tree trunk. Then he fitted it securely into a stand which also acts as a reservoir to give the tree a supply of water.

How does it work?

The Pico here had already been set up with MicroPython code for a previous project – it was running code to flash a red LED. The practical dad added extra code to read the data from a moisture sensor, making the LED flash when the water in the reservoir has run out. But he also wanted to get the green LED involved. He wrote some more MicroPython to make Pico show a green light when the program is running correctly. If he sees that lit up, he can rest assured that the Christmas tree is not going to go thirsty.

Raspberry Pi Pico makes sure your Christmas tree never goes thirsty

The moisture sensor is hanging from a couple of pins that are pushed into the Christmas tree’s trunk. It dangles at the height the water should always reach inside the tree stand. If the water is at the correct level, the red LED doesn’t light up, but if it dips too low, that red LED will start blinking and shame you into giving your thirsty tree some more water.

HackSpace magazine to the rescue

Pater Practicus adapted this project from an article he saw in HackSpace magazine. You should subscribe to it because it’s lovely and is packed with lots of practical project ideas for makers and tinkerers.

Here’s what the cover of the new issue looks like:

hackspace front cover issue 74
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