From ae24d9a8869c497537839f330384cbadb2cf687c Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Tue, 31 Oct 2023 10:17:43 +0100 Subject: Updated theme --- ...rld-clock-with-eiink-display-and-raspberry-pi-zero.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'public/simple-world-clock-with-eiink-display-and-raspberry-pi-zero.html') diff --git a/public/simple-world-clock-with-eiink-display-and-raspberry-pi-zero.html b/public/simple-world-clock-with-eiink-display-and-raspberry-pi-zero.html index 2acc7ba..94f4425 100755 --- a/public/simple-world-clock-with-eiink-display-and-raspberry-pi-zero.html +++ b/public/simple-world-clock-with-eiink-display-and-raspberry-pi-zero.html @@ -15,7 +15,7 @@ project.

A while ago I bought a small eInk display

Since the Inky Inky +I really need to use.

Inky pHAT, Raspberry Pi Zero

Since the Inky Inky pHAT is essentially a HAT, it can easily be added on top of the Raspberry Pi Zero.

First, I installed the necessary software on Raspberry Pi with pip3 install inky.

And then I created a file clock.py in home directory /home/pi.

#!/usr/bin/env python
@@ -62,15 +62,15 @@ Zero.

First, I installed the necessary software on Raspberry Pi with board.show()

And because eInk displays are rather slow to refresh and the clock requires refreshing only once a minute, this can be done through cronjob.

Before we add this job to cron we need to make clock.py executable with chmod +x clock.py.

Then we add a cronjob with crontab -e.

* * * * * /home/pi/clock.py
-

So, we end up with a result like this.

World Clock

And for the enclosure that can be 3D printed, but I haven't yet something like +

So, we end up with a result like this.

World Clock

And for the enclosure that can be 3D printed, but I haven't yet something like this can be used.

You can download my STL file for the enclosure here, but make sure that dimensions make sense and also opening for USB port should be added or just use a drill and some -hot glue to make it stick in the enclosure.


Posts from blogs I follow around the net