| RSS Web Feed for Renewable Energy UK |  | REUK Shop | Directory | Bookmark Site | About Us  

Making Very Accurate Timers



Making Very Accurate Timers

Find out about how to make very accurate electronic timers

electronics
Printer Friendly Version Print Article     

We have previously published many articles about electronic timers - ranging from short interval timers using the common 555 IC, long interval (multi-hour) timers using a 4060B binary counter IC, and repeat timer circuits which use both. We have also looked at commercial 12V programmable timer switches, and how battery powered programmable thermostats can be modified to operate as (more affordable) equivalents.

In this article we will look into how an accurate timer can be put together which will keep good time for weeks or months at a time.

The Importance of Timer Accuracy

Timers built around the 555 IC are only accurate up to a few minutes - after about 20 minutes that they can become wildly inaccurate. Similarly, 4060B-based timers can lose or gain many minutes per day.

For many applications a far greater level of accuracy is required - for example, any timer which must turn a device on or off at exactly the same time every day for a fixed interval must be pretty accurate or the turn-on/off time will drift from day to day until it is completely wrong.

How do Clocks Keep Time

Even the cheapest watch or clock can keep time accurately to within a few seconds per 24 hours, so we should look at how they work. Within an electronic clock is a tiny quartz crystal which vibrates (resonates) in much the same way as a tuning fork - but at an incredible 32,768 times per second.

32768 Hz Watch Crystal

This frequency (32,768 Hertz) is chosen because it is equal to exactly 2x2x2...x2 (2^15) - and therefore it is easy to electronically divide the count by two 15 times to obtain a 1Hz signal (once per second) to trigger rotation of the seconds hand on the clock.

Making an Accurate Electronic Timer

Any electronic clock needs at least two main components - a quartz crystal and a counter. The counter simply counts the number of times the crystal has vibrated, and every time it reaches 32,768 it outputs a signal (indicating that one second has passed) and starts counting again from zero.

Since we have used the 4060B binary counter chip in previous experiments, we will use it again here. Unfortunately this counter (though easy to find, reliable, and cheap) can only count up to 2^14 (16,384), and so it will give a signal twice per second (2Hz) instead of once - not a major problem, but something to remember.

Make a 2Hz time base using a clock crystal and a 4060B binary counter

Above is shown a typical clock crystal 2Hz timebase circuit. This simple circuit emits a precise 2Hz signal which can then be used to keep accurate time. An LED is used to flash on and off - on for 0.25s, off for 0.25s and so on - to show that the circuit is working as it should.

Now we have a precision timebase, the rest of the timer can be put together simply - either using another binary counter to count the passing half seconds, or more likely, a small microprocessor (e.g. PIC) which will keep track of the passing seconds, minutes, hours, and days, and turn devices/components on and off as programmed by the user. Alternatively, the 2Hz signal can be used to trigger a small stepper motor to turn the seconds hand of a mechanical clock.

Precision One Second Timebase from a Quartz Clock


Precision 1 second (1Hz) timebase
 from an old quartz clock

Putting together the 2Hz time base circuit described above is a little bit tricky - therefore, many people simply cannibalise the workings of a cheap quartz clock. Click here to read an excellent article: Instructions to get One Second Pulses from a Quartz Clock.

Buy a Timer

If you need an accurate timer for a particular application, email neil@reuk.co.uk with full details and we should be able to put something together for you. Prices start from around £14.99 for bespoke precision timers controlling a relay.
Article Last Modified: 14:12, 20th Feb 2008

Comment on this Article

If you have any comments on this article, please email them to neil@reuk.co.uk.


Recommended Related Articles

People who read this article also enjoyed the following articles:

Repeat Timer Circuit
Make a repeat timer circuit with large intervals between ON times
Article Last Modified: 09:58, 15th Aug 2009
electric circuit | electronics | general

Timer Circuits With 4060B
Build a reliable timer to switch devices on and off - from 30 seconds to 24 hours
Article Last Modified: 09:58, 15th Aug 2009
electronics | electric circuit

Relays and Renewable Energy
Find out more about relays and their uses in renewable energy applications
Article Last Modified: 10:50, 24th Oct 2008
electric circuit | electronics | general

Convert Thermostat to 12v Timer Switch
Find out how to modify a battery powered thermostat to be used as a 12 Volt DC timer switch
Article Last Modified: 16:12, 24th Mar 2009
electronics | electric circuit | general

12 Volt Programmable Timer Switch
Automatically control devices with a 12 Volt powered timer switch
Article Last Modified: 13:26, 7th Aug 2008
electronics | lighting | general

Convert Digital Mains Timer To Low Voltage
Convert a cheap digital mains timer into a low voltage programmable timer relay
Article Last Modified: 10:21, 15th Nov 2008
electronics | electric circuit | general

Drying Clothes Indoors
Tips on drying clothes indoors without a tumble drier
Article Last Modified: 15:57, 29th Oct 2009
energy efficiency | general

LM317 Current Calculator
A handy online output current calculator for the LM317, LM338, and other linear voltage regulators
Article Last Modified: 12:47, 12th Mar 2008
electric circuit | electronics | general

Use Thermostat as 12 Volt Timer
Find out how an old battery powered thermostat can be used as a low voltage automatic timer
Article Last Modified: 13:21, 7th Aug 2008
electric circuit | electronics | general

© 2006-2009 REUK - All Rights Reserved
Page Last Updated on 20th November 2009 at 04:38:13pm

Latest
Articles


Energy Saving and Recycling in the Office
Guide to saving energy and recycling in the office
energy efficiency
16:38, 20th Nov 2009

Lamina Sol MR16 LED Spotlight Review
Review of Lamina Sol MR16 energy efficient LED spotlights
lighting
14:38, 20th Nov 2009

Freeloader Pico
Buy the new economical Freeloader Pico solar charger
solar
14:37, 19th Nov 2009

Direct Solar Water Heating System
Find out how to put together a simple and cost effective direct solar water heating system
solar
09:25, 16th Nov 2009

Ways to Save Electricity
Find out how you can save electricity in your home - help the environment and save money.
energy efficiency
11:39, 14th Nov 2009

Saving Energy to Reduce Carbon Emissions
Increasing energy efficiency is the cheapest way to reduce carbon emissions
energy efficiency
14:51, 11th Nov 2009

Drying Clothes Indoors
Tips on drying clothes indoors without a tumble drier
energy efficiency
15:57, 29th Oct 2009

Google Powermeter
Google Powermeter - an online tool to track your home or office electricity consumption in real time online
energy efficiency
13:23, 29th Oct 2009



REUK Shop

Popular Items


REUK SUPER TIMER
User programmable 12V powered 10A rated repeating relay timer. 1 second to 99 hours ON and OFF times
£19.99 each.
Complete Circuits



SOLAR PUMP CONTROLLER WITH RELAY
Solar water heating system microprocessor controlled circuit with fitted 10A relay
£25.99 each.
Complete Circuits



12 VOLT 5 WATT SOLAR PANEL
Waterproof 12 Volt 5 Watt Solar Panel with aluminium frame - 290mm x 205mm x 17mm with fitted 5m leads
£33.99 each.
Solar Power



300 WATT POWER INVERTER
Convert 12V DC battery power into 230 AC to power portable televisions, computers, video recorders etc. 300 Watt power rating - peak power 600 Watts
£29.99 each.
Renewable Energy System Parts



CONVERTED PROGRAMMABLE DIGITAL TIMER RELAY
Mains powered programmable timer converted to low voltage with relay board
£21.99 each.
Renewable Energy System Parts



12 VOLT REGULATOR
Supply a fixed 12.0 Volt DC to your devices (up to 1 Amp output)
£4.99 each.
Complete Circuits



MR16 CERAMIC BULB HOLDER
Bulb holder for 12 Volt LED spotlight bulbs
£1.39 each.
Energy Efficient Lighting