Clocks for LCD picture frame


 

 

These are a few clocks written in Python for, intended for the LCD picture frame but could be used anywhere.


 

Getting Started

I'm going to assume you are using a Raspberry Pi/Linux for this. It should work in Windows, but have not tried it. For me personally, used Windows for many years, but its been a disapointment since Windows 10.
There are some things you need to have installed before the clock will work. Just skip these if you already have them.

Install Python 3, Tkinter (GUI toolkit), and fonts:


sudo apt update
sudo apt install -y python3 python3-tk fonts-dejavu-core

This will install Python, Tkinter and the required digital style font.

Download the python files here
To run a clock in the console, for example type:

python3 digital.py

That is more or less it. To exit the clock, either right click on it, or press escape.

It would appear as of writing this, the time machine clock is going to have problems in May as that font can't interpret the letter M. I will fix this in due course and update this page when its done.

 


 

 

 

← Back to Projects