Picoclock - Smart Desktop/Wall Clock Display

RPi Pico W powered customizable smart clock display with 3D printable case. Can be mounted on a wall. Desktop stand also available.

Picoclock - Smart Desktop/Wall Clock Display
Picoclock displaying time

As soon I installed solar panels on top of my house, I was interested in seeing more information about the panel power output as well as current electricity price (spot price) of the current hour. Even though I'm not yet that keen to optimize my daily actions but still knowing these numbers may eventually guide me to use household devices when sun is shining, and electricity price is low. I also might be tempted to turn off devices when electricity price is high so that produced energy would be sold back to the grid for high price.

So, the problem was how to build a device that is always on and able to show real-time data from internet services and would look nice so it could be placed in a visible place in the house.

I chose Raspberry Pico W as the microcontroller as that has WLAN for internet connectivity, can be programmed easily with MicroPython and it's easy to hook it up with TM1637 driven 4-digit display. I chose the small display just because I happened to have few of those in my drawers - another reason is that it fits nicely in the same case that I have used for Pikku Dial and Pikku Macropad.

TL;DR: GitHub link for code and Printables.com link for STL files

Picoclock displaying time, weather, and current energy spot price. The lens is not as reflective in real life as in the video :)

Bill of Material

Required components to build Picoclock:

  • Raspberry Pico W
  • 4-digit LED display with TM1637 driver (used these from Amazon.de)
  • 3D printed case
  • 42mm lens (used something like this from Aliexpress)


As Pico can be powered with USB cable then the only wires needed are for display. TM1637 only requires four wires: VCC, Ground, Data, Clock.

Picoclock circuit

3D Printed Case

The base layer of the case is the same as in my Pikku controllers, Pikku Dial and Pikku Macropad. It fits the RPi Pico nicely and can different configurations on top of it. I designed a holder for 4-digit display and added a front panel with a slot for a glass lens to give it a retro futuristic look. I used 42mm lens from this Aliexpress seller. I used M2 screws to screw in the display component on the second layer. The display cover and top layer should snap fit to the case so glue is not necessary. I did glue up the gray U-shaped second layer component to the base for firm fit.

3D printable case components
Pico and wiring
Display added on top of Pico
Picoclock on the wall

Python Code

You can check the full source code from GitHub. Remember to rename config_example.py to config.py and replace the placeholder values with your wifi credentials. You can also get yourself a OpenWeatherMap.org API key from that site.

Small Raspberry Pico powered desktop or wall display - tlaukkanen/picoclock

HTTP client module (Micropython should have built-in client nowadays)

GitHub - balloob/micropython-http-client: MicroPython HTTP Client
MicroPython HTTP Client. Contribute to balloob/micropython-http-client development by creating an account on GitHub.

For TM1637 display I used this module:

GitHub - mcauser/micropython-tm1637: MicroPython driver for TM1637 quad 7-segment LED modules
MicroPython driver for TM1637 quad 7-segment LED modules - GitHub - mcauser/micropython-tm1637: MicroPython driver for TM1637 quad 7-segment LED modules

Make it your own

Customize the code as you please and share what you make it to display! Join the conversation at Mastodon:

Tommi Laukkanen (@tlaukkanen@fosstodon.org)
Attached: 1 image Released source code and STL files for my Picoclock smart clock display. Easily customizable (aka MicroPython 🤓) to show relevant information to you. https://www.codeof.me/picoclock-smart-desktop-wall-clock-display/