I solved this by having an rtc on my clock (for setting the initial time on 
reset) which I update it's time every 5 minutes with what is on my clock. That 
way, it only drifts when I loose power.

I can almost have my cake and eat it too!

-joe

On Wednesday 03 November 2010 11:38:56 [email protected] wrote:
> Agreed.  Unless your power goes out (often in my area).
> 
> Michail
> 
> 
> 
> In a message dated 11/3/2010 8:35:00 A.M. Pacific Daylight Time,
> [email protected] writes:
> 
> The  simplest and cheapest way to go is to use line frequency. Accurate
> within a  couple of seconds over months and the cost of implimentation is:
> 
> 
> 1. AC 9V wall wart.
> 2. 6 diodes.
> 3. 7805 regulator to you +5V for your micro.
> 
> 
> connect the clock signal to your microcontroller and every time you see  60
> pulses on your input pin (50 if you're not in North America), increment
> your seconds register.
> 
> 
> Done.

-- 
You received this message because you are subscribed to the Google Groups 
"neonixie-l" group.
To post to this group, send an email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/neonixie-l?hl=en-GB.

Reply via email to