![]() | ![]() | ![]() |
| |||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
![]() |
| | Tools |
| | #1 |
|
Im looking to build a digital clock that uses power (and line freq) for the circuity. Ive got everything designed up to the counter. The problem Im having is how to make the minutes count. Ive got 1 Hz ( divide by 16 from 60Hz and you get 1Hz) for the seconds. Ive come up with 2 solutions: 1) Use two timers to count to 59 Seconds 2) Use Another Divide by to obtain the frequency of 1 Pulse Per Minute. I dont want to do 1, since it will raise costs, and the size of the board (plus I have no use for a seconds Counter). The problem with 2 is that I dont know what frequency 1 Pulse per 1 Minute is (since there are 60 seconds in one minute, then 60 Cycles per minute =1 minute) Does anyone know what the frequncy is? Or is there another option? | |
| |
| | #2 | |||
| Quote:
Quote:
Quote:
f = 1/T = 1sec/1min = 1sec/60sec = 1/60 So an event that occurs once per minute has a frequency of 1/60 Hz. It would really help if we had your circuit to look at since we have no idea how you are trying to go about this. If you are referring to using houshold AC line frequency as an oscillator signal for your clock, you do know this will make a horrible clock right? Since the frequency can and does vary a LOT. Last edited by dknguyen; 1st July 2006 at 07:34 AM. | ||||
| |
| | #3 | |
| Quote:
AllVol Last edited by AllVol; 6th February 2007 at 01:49 AM. | ||
| |
| | #4 |
|
I think were looking at a canidate for this years Darwin Awards
| |
| |
| | #5 | |
|
No, I actually relized that last night that I put down the wrong number after I shut my computer down and was in bed. I knew it was 60, but I was thinking of 16.. Quote:
I dont have a circuit to show yet, as Im stilling trying to figure out something. The minutes clock will go from 00 to 59. Once those numbers change it will change the 3rd counter (hours) to the correct setting, Say 1:00 (if the clock reads 00:59). The problem is, what happenes after 12:59? The minutes will clear to 00, and the hours counter will increment by 1 (the 2 will now be a 3) and the 1 will be blanked out. It should go to 1:00, but it doesnt. It goes to 3:00. Im guessing an AND gate would fix this, but the Counter Has to decrement by 1.. The chip I plan on using is 74193 or 7490 (or eq or by suggestion) | ||
| |
| | #6 |
|
Perhaps I mistakenly carried over the variation of mains line voltage to frequency. now that I think about it...the stability of the AC line frequency has never come up. 16 and 60 are pretty close when you say them aloud. Yeah, when we are sleepy our words get slurred and if you are like me and whisper to yourself as you type that can cause problems. Perhaps you can build the same counter circuit 2x times - each identical counter circuit increases one count for every 60 oscillations of an input AC signal and outputs an AC waveform 60x slower. You can then cascade the counters so each counter circuit feeds another counter circuit with a progessively lower frequency signal (frequency reduced by 60 each time). This would give you 2 identical circuits to build reducing costs and complexity and give you minutes, hours, 60 hours, 360 hours...etc. depending how many you cascaded.. If you wanted seconds counter you would just feed the main AC signal into a separate counter that just counts the periods of the AC signal...and does not output a waveform. It would basically be separate from all the other 1/60 cascaded counters. Last edited by dknguyen; 1st July 2006 at 11:03 PM. | |
| |
| | #7 |
| http://www.play-hookey.com/digital/e...r_ic_4029.html has how to build just the clock you're after, together with a full explanation.
| |
| |
| | #8 | |
| Quote:
| ||
| |
| | #9 |
|
The power companies can change the frequency in times of overload as the transformers will work more efficiently at higher frequencies. I know it was done during one of the coal miners strikes in the UK in the 1980's? and the local power does it very, very infrequently here. | |
| |
| | #10 | |
| Quote:
AllVol
__________________ Creationists have a world of evidence Last edited by AllVol; 3rd July 2006 at 03:05 AM. | ||
| |
| | #11 |
|
Really? I guess that makes sense. I was staring at my alarm clock a few weeks ago thinking there couldn't possibly be a quartz crystal in every single one.
| |
| |
| | #12 |
|
I dont have a crystal, but if I had it it would be used for a digital clock. Heres a page tha might be helpful: http://www.howstuffworks.com/digital-clock.htm
__________________ OK, Who put the LED in backwards? | |
| |
| | #13 | |
|
You can get quartz wrist watches for around $ 5 any time. Have not looked lately at any new ones but my aging alarm clock runs of the power line, for power and timing but it has a rudimentary oscillator and battery to that it is fairly accurate even after a power outage. I guess today most have crystal collators for backup. Of cause all that is obsolete with the atomic clocks; that you newer have to worry about if it was not for changing the battery once a year. Quote:
| ||
| |
| | #14 | |
| Quote:
__________________ Gods own Country Incredible !ndia www.flickr.com/photos/_akg/ "Give a man a fish, and he will eat for a day. Teach that man to fish, and he will eat for a lifetime." | ||
| |
| | #15 | |
| Quote:
| ||
| |
|
| Tags |
| clock, digital |
| Thread Tools | |
| Display Modes | |
| |