Turn your RaspberryPi in to an Internet Chronometer.
Display is a UCTRONICS 3.5 Inch HDMI display.
- Utilizes system time via NTP. All you need to provide is an internet connection.
- Customizable banner that can be changed in
config.xml
- Customizable world clock timezones that can be changed in
config.xml
. Timezones must be in pytz format:import pytz for tz in pytz.all_timezones: print(tz)
- TOP
- Progress chart for current time units (Second, Minute, Hour, Day, Month, Year, Century).
- MIDDLE
- World Clock
- BOTTOM
- UTC - Coordinated Universal Time
- MET - Metric Time
- SOL - Solar Time
- LST - Local Sidereal Time
- UNX - Unix Epoch Time
- SIT - Swatch Internet Time
- NET - New Earth Time
- HEX - Hexadecimal Time
- Binary Clock
- Daylight Savings Indicator
- NTP Status (Server, Stratum, Delay, Offset)
- In order to get the display to work with this code, you need to set the resolution to 480x320, and set the console font to VGA 8x14.
longitude
value needs to updated inchrono-config
to ensure accurate solar time and sidereal time values. West longitude is indicated by a negative value.- NTP daemon needs to be running as a background service:
sudo apt install ntp
pytz
Modules can be install using pip install [module]
or from your distros repositories.