Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 2.11 KB

README.md

File metadata and controls

49 lines (37 loc) · 2.11 KB

Raspberry Pi Chronometer

Chronometer Display

Turn your RaspberryPi in to an Internet Chronometer.

Display is a UCTRONICS 3.5 Inch HDMI display.

Features:

  • 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)
    

Description

Notes:

  • 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 in chrono-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

Required Python modules:

  • pytz

Modules can be install using pip install [module] or from your distros repositories.