Hello Dscion,
What you could do, is use a 5 volt regulator, and tap off the Cycles of your AC line. Then count the number of cycles per second. If you have 50hz, you would count to 50, then increment a counter, do the same for 60hz. Then it would be a very simple job do make a clock. The voltage regulator would only turn on, when it gets to 5 volts or more PLUS side of a A/C cycle. Looking at a scope, it will be a Pulsating 5 volt DC line. I may have a schematic someplace for this.
Dwayne
Bookmarks