Thingiverse
4 Time Zone Clock
von Iarann
8
Downloads
7
Likes
0
Makes
I was needing a multiple time zone clock and ran across this excellent Instructables.com article. [Raspberry-Pi-Amateur-Radio-Digital-Clock](https://www.instructables.com/Raspberry-Pi-Amateur-Radio-Digital-Clock)
The case here was created to house the project. I left the labeling off the design so that I could easily change the displayed time zones.
I'll be monitoring this and see if I need to add a fan but given the light workload of the script, it will probably be fine at normal room temperature.
One caveat I discovered the hard way, if you upgrade the Pi to Bullseye, you will have to make the following edits to make the script run under Python3:
- In raspiclock.py, change "ConfigParser" to "configparser" in line 13.
- In TM1637.py, change line 213 from "data.append(ord(PATTERN[ord(c) - 32]) + msb)" to "data.append(PATTERN[ord(c) - 32] + msb)"
- in crontab, change "python" to "python3"
Materials:
- Raspberry Pi Zero W
- 4 - TM1637 4 digit 0.56" LED Display module
The case here was created to house the project. I left the labeling off the design so that I could easily change the displayed time zones.
I'll be monitoring this and see if I need to add a fan but given the light workload of the script, it will probably be fine at normal room temperature.
One caveat I discovered the hard way, if you upgrade the Pi to Bullseye, you will have to make the following edits to make the script run under Python3:
- In raspiclock.py, change "ConfigParser" to "configparser" in line 13.
- In TM1637.py, change line 213 from "data.append(ord(PATTERN[ord(c) - 32]) + msb)" to "data.append(PATTERN[ord(c) - 32] + msb)"
- in crontab, change "python" to "python3"
Materials:
- Raspberry Pi Zero W
- 4 - TM1637 4 digit 0.56" LED Display module
Iarann veröffentlicht auch auf
4 zusätzliche Modelle auf 1 weiteren Plattformen
Hast du dieses Modell gedruckt? Einloggen und dein Make teilen!
Melde dich an, um einen Kommentar zu hinterlassen
AnmeldenNoch keine Kommentare – sei der Erste!