how real time clock work ?

Status
Not open for further replies.

Mohamed Adam

Newbie level 5
Joined
Oct 28, 2013
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
62
HI all

please help me

how real time clock work and when i have to use it ?


thanks
 

A real time clock (RTC) is used to tell the time of day (and sometimes the date) rather than being used to time software actions which do not require synchronism with the Earths rotation.

Typically, they use a a quartz crystal oscillator at 32,768Hz as the timing reference. A quartz crystal has the property of being extremely accurate and stable so the clock should keep good time.
The 32,768 oscillations per second is fed to a chain of binary dividers, each giving one pulse out for two pulses in, so 32,768 becomes 16,384 then 8,192 and so on. After 15 stages of dividing the number reaches 1 pulse per second and that is used as the seconds 'tick'. From the seconds, it's easy to divide by 60 to get minutes, another 60 to get hours, 24 to get days and so on. Inside a RTC you have all these dividers, a method of reading the individual counts back to the rest of the circuit and a method of loading numbers into the counters so you can set the time from another source.

Brian.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…