An digital clock controlled from internet-time via ESP8266


README file SnowHead Apr 2022



Shiura on thingiverse designed an fascinating cylindric clock where the clever usage of overlapped segment patterns allows an incredible height of the displayed digits. The original is controlled by an ESP32. The firmware here was adapted to an ESP8266 and for the use of the WTA-timeservice instead of NTP. So there normally are no firmware-modifications necessary to adapt the timezone and DST because they will be investigated out of the public IP of the request. For special cases (f.e. the use of a foreign proxy server) the timezone can be selected manually by replacing “ip” with the wished timezone in WTAClient.cpp.

Used libraries:

  • ArduinoJson
  • DNSServer
  • DoubleResetDetector
  • ESP8266HTTPClient
  • ESP8266WebServer
  • ESP8266WiFi
  • WiFiManager

Switches in digit.h

PRE_MOVE true to start cylinder movement earlier to reach the target position just in time
DEBUG true for additional debug messages on serial console
HOUR12 true 12h display format instead of 24h format


View Github