3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Arduino-based master clock for schools

Arduino-based master clock for schools
If your school, or kids school, or other location relies on a central master clock that is broken, you may have a use for this device. New master clocks are available of course, but school budgets are under extreme pressures, and it really is a satisfying project if you have the necessary skills.

This master clock controls the signals sent to the slave clocks, and keeps them synchronized. The firmware in the clock currently supports the National Time synchronization protocol. The master clock also controls the bells that can be set at scheduled times during the day. The firmware in the clock currently supports two bell zones (indoor and outdoor bells).

The firmware in the clock also automatically adjusts to daylight savings time (this can be turned off). This library might also be useful for other  clock-projects (make sure to  also get the modified DateTime  library).

The clock is set up by connecting it to a computer via the Arduino USB port, and running a Java control program with a GUI interface. Once the time has been set, and a bell schedule loaded, the computer can be disconnected.

The design of the clock emphasizes simplicity, with a minimum of controls. Any complex setup is better handled by running the control program on a computer and temporarily connecting to the clock.  The picture shows the front panel of the clock. The switch allows bells to be turned off completely if bells are not wanted (holidays, teacher training days etc.) The LEDs are normally all green, anything else indicates an unusual state.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Find out about the master clock you are replacing

Find out about the master clock you are replacing
«
  • Slave-Clock.jpg
  • MC-installed2.jpg
The master clock that was replaced by this project was a "Rauland 2490 Master Clock". It had stopped working during a storm with heavy lightning. The slave clocks were moving very quickly (continuous synchronization signal), and the master clock was subsequently shut off.

Thus the clocks in the school all showed about the same time, but all wrong, and always wrong. This proves that the expression "even a broken clock is right two times a day" is false.

You will need to know:
* what protocol is used by the slave clocks (can probably guess based on the make of the clocks)
* how many zones are used for bells (indoor, outdoor, different buildings etc)

Your school (or other location) may even have documentation in the form of wiring diagrams. These can be very helpful when installing the new clock.

« Previous StepDownload PDFView All StepsNext Step »
24 comments
Sep 29, 2011. 11:06 AMzzebrowski says:
Hey,
Just a quick note to say that this is an awesome project.
Cheers!
Zak
Apr 29, 2011. 12:34 PMpyperdown says:
Most cool. Looking to replace a brain-dead (no NTP support) expensive dukane controller. Has this been tested with Dukane clocks, to your knowledge?
Apr 12, 2010. 1:45 PMtobyasz says:
Nice instructabe!
How do I download the schematics?
thanks.
May 22, 2010. 5:08 PMchunkyhomestyle says:
 A schematic would be reeeaaaaaalllllllyy helpful!  I've got an old school slave clock that will look great in my kitchen, and is my reason for getting into arduino projects (and, by extension, electronics).  So a schematic would be a huge help!
May 12, 2010. 2:54 PMniamheus says:
As an art project, I need to stop an analog clock (which would most likely be a slave clock) for 2 minutes and restart it after the two minutes have passed. The clock then needs to switch back to display the correct time. Could you think of a way of doing this?
May 13, 2010. 9:14 AMniamheus says:
Hmm, I didn't even know there was a correction signal. how does that work?

I could go with option 1 then.

How does the master clock know the position of the hands on the slave clock?

Thanks for replying so quickly.

May 16, 2010. 6:26 AMniamheus says:
Ok, I'm not sure if you''ll know much about this but I though I mite as well ask.

On a radio controlled clock mechanism, when the battery is inserted, the clock turns to 12. It then stops and waits for the correct signal. If the signal is recieved, the clock turns to the correct time. If the signal is not recieved, the clock starts operating as a quarts mechanism from 12.

Do you know is there any way we could make the clock work as a quarts movement without waiting for the signal?

Thanks Niamh
Apr 12, 2010. 12:56 PMcdousley says:
I thought of an idea like this for home alarm clocks (maybe i subconsciously remembered this?)
Cool project ,are you like a Principal or teacher?
Apr 15, 2010. 7:10 PMcdousley says:
cool
Apr 12, 2010. 12:42 AMspudstud says:
 To me it seems like the jar file is broken. I am unable to download it. Your file would be perfect to experiment with since I have often dreamed of getting a java program to interface with my arduino. 
Dec 22, 2009. 7:57 PMKC0GRN says:
I wonder if this system could be used in a smaller scale, and without the slave clocks.

Here is my situation. My church has a manual electric buzzer system (push one of the 3 buttons in the church and the buzzers go off, it only buzzes for as long as you hold the button) for signaling Sunday School, Church and Wednesday night programs.

What I thought would be nice is to have an arduino controlled clock to automatically sound the buzzers at the proper time intervals, and for the proper length of time, like a short or a long buzz to signal a 5 minute warning.

Obviously this doesn't need slave clocks, it just needs to operate a relay switch to take over for the manual buzzer buttons.
Nov 16, 2009. 4:03 PMrandofo says:
Oh man. I wish I had this Instructable when I was in high school. I can think of some mighty fun ways to use this knowledge to get expelled.

Great Instructable.
Nov 17, 2009. 6:23 PMcyrozap says:
My spanish teacher currently does not have a clock in his class, so it's annoying for everyone who wants to know what time it is. He's trying to get a new clock, but the beauracratic system is insanely slow, and him getting a clock is a low priority. The clocks that are in other classrooms look like the clock you took a picture of, and there are 4 (I think) wires that would go into the clock. Could you possibly give me some information on how to make a slave clock? I am very good with technology (I built a MakerBot, #000117) and have an arduino, so this should be a piece of cake.

Maybe it could have 4 large 7-segment diplays made by using 1 led each and diffusing plastic. I have the LEDs on hand.
Nov 16, 2009. 9:06 PMmman1506 says:
 oh that happend at are school every 5 minutes it went into "time travel mode"
Nov 16, 2009. 6:20 AMindivara says:
Just out of curiosity (since it is unlikely I'll get a chance to do this) -
* How do you interface the master clock to the other (slave) clocks? What kind of signal do they expect? Are they wired or wireless?
* Is the clock protocol openly available? (The manufacturer you mentioned doesn't appear to disclose anything)

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
2
Followers
1
Author:MasterClockMaker