| RSS Web Feed for Renewable Energy UK | REUK Shop | 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


Recommended Related Articles

People who read this article also enjoyed the following articles:

Germanium Diodes
Learn about the advantages of Germanium Diodes
Article Last Modified: 14:10, 19th Mar 2006
electronics

Timer Circuits With 4060B
Build a reliable timer to switch devices on and off - from 30 seconds to 24 hours
Article Last Modified: 10:34, 18th Jan 2008
electronics | electric circuit

Repeat Timer Circuit
Make a repear timer circuit with large intervals between ON times
Article Last Modified: 10:34, 18th Jan 2008
electric circuit | electronics | general

Example Transistor Circuit with LEDs
Put together a very simple circuit which uses LEDs to show how transistors work
Article Last Modified: 11:12, 23rd Apr 2007
electronics | education

PIR Sensor Circuits
Find out more about using PIR sensors within renewable energy applications
Article Last Modified: 11:32, 3rd Nov 2007
electronics | electric circuit | general | solar

High Capacity Alternative to 9 Volt Battery
Get ten times the capacity of a 9 Volt battery to power your devices
Article Last Modified: 09:39, 7th Jun 2008
general | electric circuit | solar

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

Make a Simple Battery Status Monitor
Monitor battery status with this easy electric circuit project - no skill required!
Article Last Modified: 12:33, 16th Mar 2007
storage | electric circuit

DIY 2kW Wind Turbine
Read about a home built 2kW wind turbine constructed from scrap
Article Last Modified: 08:46, 4th Oct 2007
wind | recycling

Smoothing Capacitors
Find out more about the uses of smoothing capacitors in renewable energy circuits
Article Last Modified: 11:47, 4th Apr 2007
electric circuit | education

© 2006-2008 REUK - All Rights Reserved
Page Last Updated on 3rd July 2008 at 01:32:13pm

Latest
Articles


Uniross Rechargeable Batteries and Chargers
Find out more about the Uniross range of rechargeable batteries and battery chargers
storage
13:32, 3rd Jul 2008

C and D sized Rechargeable Batteries
Find out where to buy true high capacity C and D sized cells
storage
13:27, 3rd Jul 2008

Can You Run Your Car On Biodiesel
Is your vehicle suitable for running on biodiesel?
biomass
16:40, 2nd Jul 2008

Simple Sump Pump Controller
Put together a sump pump controller with two float switches and NO electronics
water
16:02, 2nd Jul 2008

Sump Pump Control System
Put together a fully automatic system to reliably pump out the water collected in a sump pit
water
16:02, 2nd Jul 2008

Energy Efficient Driving
Find out how to drive your car most efficiently
transport
10:46, 1st Jul 2008

Hypermiling to Increase MPG
Use hypermiling techniques to reduce fuel consumption
transport
10:46, 1st Jul 2008

EcoBalls Laundry Kit
Find out more about using EcoBalls instead of detergent
water
13:18, 30th Jun 2008



REUK Shop

Popular Items


KILL A WATT
Plug in Mains Power and Energy Monitor
£19.99 each.
Energy Saving



EFERGY HOMECO2METER
efergy homeCO2meter wireless electricity monitor
£38.99 each.
Energy Saving



240V LED SPOTLIGHT BULB
240V LED GU10 bulb. 20 x 20,000mcd white LED 1 Watt bulb
£4.99 each.
Energy Efficient Lighting



RAINWATER DIVERTER KIT
Rainwater diverter kit for standard plastic 65mm square and 68mm round downpipes
£8.99 each.
Water Conservation



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



12 VOLT 3 WATT SOLAR PANEL
Waterproof 12 Volt 3 Watt Solar Panel - 199 x 136mm with fitted leads (fiberglass and resin).
£19.99 each.
Solar Power



SUNGUARD SOLAR CONTROLLER
4.5 Amp at 12 Volt solar charge controller - fully encapsulated and weatherproofed
£22.79 each.
Solar Controllers