Skip to content

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

License

Notifications You must be signed in to change notification settings

xSnowHeadx/MinimalClock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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
HAS_ENDSTOPtrue if you use the new clock version with end stops
ENDSTOP_RELEASE(default -15) release steps after reaching end stop
DISP_POS(default 0) time visible in front view (0) or top view (1) (with endstops only)
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.prusaprinters.org/prints/140111-some-modifications-for-minimal-mechanical-digital).

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published