/OverlappingSegmentClock

Primary LanguageC++GNU General Public License v3.0GPL-3.0

OverlappingSegmentClock

An digital clock controlled from internet-time via ESP8266

https://github.com/xSnowHeadx/OverlappingSegmentClock

README file
SnowHead Apr 2022

Clock

Introduction

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_MOVEtrue to start cylinder movement earlier to reach the target position just in time
DEBUGtrue for additional debug messages on serial console
HOUR12true 12h display format instead of 24h format