Skip to content

dougbert-b/MinimalClock

Repository files navigation

MinimalClock

An analog clock out of only 8 printed parts controlled from internet-time via ESP8266

https://github.com/xSnowHeadx/MinimalClock

README file
SnowHead Aug 2021

Clock Stand

Introduction

Shiura on thingiverse designed an extremely simple but fascinating cylindric clock consisting out of only eight printed parts, a stepper motor and two PCB.
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

EIGHT_DIGITtrue if you use a clock with 8 cylinders
ORIGIN_SENSORtrue if origin sensor is installed
ORIGIN_COMPENSATION(default 50) compensation of origin mark position
ORIGIN_BRIGHTMARKtrue if origin mark is brighter than background
ORIGIN_THRES(default 3500) photo reflector sensor ADC threshold
PRE_MOVEtrue to start cylinder movement earlier to reach the target position just in time
DEBUGtrue for additional debug messages on serial console
Some modified mechanic parts are described [here](https://thingiverse.com/thing:4941138)
See informations to ESP32-based original version [here](https://www.thingiverse.com/thing:4931539).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published