Simple NTP clock is a maintenance-free clock application developed to work on single-board computers like Raspberry Pi, Orange Pi, etc. This clock application uses the Simple Network Time Protocol (SNTP) to get the time and display it on seven segment display which I designed.
This application is designed to work on most of the Linux based systems and had minimum dependencies with system libraries and peripherals. I developed this application to work with Allwinner H2 Plus based Orange Pi Zero board, but this can compile for other platforms without doing any modifications on the source code.
To compile this application issue the following commands:
Parameters related to this application are available at config.json file. This file can be used to specify the NTP server, time zone, and display module port.
The source code of this project is available at github.com.
This application is designed to work on most of the Linux based systems and had minimum dependencies with system libraries and peripherals. I developed this application to work with Allwinner H2 Plus based Orange Pi Zero board, but this can compile for other platforms without doing any modifications on the source code.
NTP clock on Orange Pi Zero. |
To compile this application issue the following commands:
make clean
make
Parameters related to this application are available at config.json file. This file can be used to specify the NTP server, time zone, and display module port.
The source code of this project is available at github.com.
Comments