MAY5

Master Clock driver for antique slave clocks

Big old wall clocks that were used in facilities such as schools, factories and hospitals are very appealing and will probably never go out of style. They are very durable and almost never break down due to very simple mechanism they have. This mechanism is actually pretty simple, it is just an impulse motor (two coils) and a couple of gears - no further complications. This is a blessing and also a curse for these antique clocks because for their operation they now require something called a master clock. Master clock is an electronic device that sends pulses to these slave clocks so that they can work.

Note: Firmware, schematics and everything can be downloaded by clicking on the red download button under the article.

P5040017

Here we present a master clock solution made with an (antique?) PIC16F84 microcontroller. PIC has a task to send a DC pulse every ~100ms to this clock. But there is a caveat - this pulse has to change polarity every time it is sent out. Therefore this circuit incorporates an H-bridge with four transistors as we can see in the schematics bellow.

shema

Microcontroller uses a 131.072 kHz crystal for a practical reason - it can be nicely prescaled so that we get a 1 second interrupt. For this idea, Timer0 is prescaled by 128 which means means that Timer0 will overflow exactly once every second: 131.072 / 128 / 256 / 4 = 1s. Here we divide by 256 because Timer0 overflows when it counts to 256, and further on we divide by 4 because PIC instructions take 4 internal cycles to complete. In the firmware, we simply count 60 seconds and issue a pulse to the slave clock. This basically advances the minute-hand, and that's about it.

P5040024

Voltage that these slave clocks use is a bit higher than PIC's voltage so some kind of voltage boosting is required. For this, a simple DC-DC step-up converted bought from eBay does a great job. It is experimentally determined that this particular ISKRA slave clock loves 24V DC pulses after the internal resistor is shorted out - as seen on the photo bellow.

P5040028

Because these old clocks were used in large facilities, mane of them were connected to a single master clock. They were connected in parallel and because of the length of that installation voltage must have been around 100V DC!

Time adjustment is done simply by clicking the S1 button. This advances the minute-hand by 1 minute.

Source code is written in PICBasic and is available for download by clicking on the red download button bellow. It can also be improved by adding daylight savings, moving minute-hand +1 and even -1 minute, adding IR remote for remote time adjustment and so on.

P5110034

P5110036

Author of this master clock electronics is our good friend Edo Lelic. Be sure to check out some of his other great work:

- Smart battery tester and charger

- RDS decoder with ATtiny2313

- Biennophone radio from 1953 with mp3

- Housing for Nixie Tube Clock - Warmtube clock

- Phase loss protection - protect your motors

[ Source: Edo Lelic ]

Author (sent by): Edo Lelic

Download counter: 727

Rating: (2.97, votes 1135)

Vote:

Date: 05-05-2016

Lokalna verzija ove stranice: Matični sat za stare satove

862_master_clock.rar

Bookmark and Share Comments (19)

comment [19]

Boost je SMPS booster modul kojeg mozes nabaviti na ebay. Potrazi ovo: LM2596 DC-DC Boost. Taj chip ima ENABLE pin kojeg moras spojiti na PIC da ga on kontrolise. Ako to ne uradis, potrosice ti bateriju veoma brzo.
IP: 31.47.8.153

comment [18]

Ne znam kako spojiti pin 10 sa 16F84 na Bust1. Šta je CTL na Bust1? Hvala.
IP: n/a

comment [17]

Da li neko moze napraviti i prodati maticni sat ,trba mi tri komada .Hvala
IP: 24.135.67.194

comment [16]

Odgovorio sam tamo.
IP: n/a

comment [15]

Trax, poslao sam ti pp...
IP: n/a

comment [14]

dobro si, nestali su sa ebaya. bili su jako jako jeftini. nasao sam par prodavaca na google, ukucaj samo: 131.072 khz. Ako si u BIH mogu ti ja poslati jedan postom for free.
IP: n/a

comment [13]

.. pod kojim nazivom... pokušao, ali ništa nisam našao...?
IP: 159.69.60.227

comment [12]

Ja ga narucio sa ebay. Skroz su jeftini...
IP: n/a

comment [11]

...gdje da nađem ovaj kvarc?
IP: 159.69.60.227

comment [10]

Da, to je booster sa Ebay-a. PIN 2 XL6009 treba odvojiti sa ploče to je kontrolni ulaz. Pozdrav, E.Lelic.
IP: 138.201.205.167


Comment page: 12>


add comment

name

e-mail (will not be published)

website

How much is = also add letter "a" at the end of your result! Eg.: 7a

Please log-in!

You can log-in on forum link: Login page. After logging-in, return to this page and click refresh in your browser.

site friends

sponsored links

ads