Skip to content

elektro-wolle/nebenuhr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NTP based controller for 12V/24V clocks by CTW (Nebenuhr)

wiring

This nice, former railway-station clock was a so-called "Nebenuhr", triggered by a central "Hauptuhr" with 24V pulses every minute.

The wiring of the coils were initially in series for 24V usage, a quick change of the bridges made it parallel for 12V:

wiring

The motor is a Lavet-type stepping motor, needing alternating pulses. These are created by a H-Bridge (like the DRV-8833 or DRV-8871).

schematic

Implementation

The program uses a straight-forward approach, with the usual suspects:

After configuring the WiFi credentials by connecting to the AP nebenuhr, the time-zone and the currently displayed time on the clock must be adjusted.

If the displayed time is before the current time, the step-motor is advanced by one step and the displayed time is incremented in the memory.

If the displayed time is less than 10 minutes in the future, the step-motor is not advanced, and the clock waits until displayed- and current-time matches.

Hardware

Usage

Upload the code to the ESP, connect the DC/DC-converter, adjust the output-voltage of the DC/DC-converter to the desired voltage (not exceeding the max. valtage of the H-Bridge) before connecting the H-Bridge.

After connecting the H-Bridge and the clock, connect to the nebenuhr WiFi, enter credentials, wait for reboot, connect to http://nebenuhr.local, enter the currently displayed time and time-zone, and wait for the clock to advance to the current time.

If the clock stays 1 minute off, the polarity of the motor-connection must be reversed.

About

NTP based driver for old 12V/24V clocks from CTW/TN/Siemens

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages