Skip to content

revnull-src/AlphaClock-NTP-Client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alpha Clock Five NTP Client

For use with the Alpha Clock Five from Evil Mad Scientist Laboratories.

When installed on an ESP8266, this firmware will attach to a configured WiFi network, request the current time via NTP, and send updates to the Alpha Clock Five through its serial update protocol keeping the clock's time as accurate as possible.

After the first boot, the AC5 will display "SETUP" and the NTP client device will present an access point called "AC5_NTP_SETUP". Using a mobile device, attach to that AP, and you will be taken to the WiFi configuration page. Select your WiFi network and configure the password. If successful, the clock will display "WIFI" then "CONN" signifying the connection was complete. Within 60 seconds, your clock should be updated with the current NTP time for your configured timezone.

Timezone Config

In the src/main.cpp, modify the TimeChangeRule and Timezone lines at the beginning of the file to suit your needs. A link to more detailed documentation on the Timezone library is provided in the source.

Hardware

This firmware will likely work with other ESP8266 modules, but I have only tested with the items below. If you have experimented with other modules, please let me know, and I will update the platformio.ini accordingly.

Physical Install

  1. Solder the serial adapter PCB's power leads either to the DC barrel jack or the "ALT POWER IN" points on the AC5 PCB. The TX pin of the adapter PCB should attach to the RX pin of the AC5 serial header.

    NOTE: The voltage regulator on the serial adapter PCB should be able to handel the input voltage from the AC5's power supply, but please verify your hardware before applying power. PCB

  2. Using double-sided tape, secure the serial adapter PCB to the bottom panel of the case. Mounted

About

Used with the Alpha Clock Five to set time via NTP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages