Real Time Clock

From Teknologisk videncenter
Revision as of 10:27, 10 July 2013 by Heth (talk | contribs) (Created page with "__NOTOC__ thumb|200p|RTC chip with 32,278 KHz X-tal. A RTC or Real Time Clock is a build in time clock in electronic equipment such as an PC or an embedded pro...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
RTC chip with 32,278 KHz X-tal.

A RTC or Real Time Clock is a build in time clock in electronic equipment such as an PC or an embedded processor. The RTC often has a battery power backup and the time are retained using a precision X-tal to minimize drift of time.

DS1307 RTC chip

A popular stand alone RTC chip is the DS1307 used by example by the popular Arduino[1] embedded system.

In the picture to the right you can see a DS1307 chip driven by the 32,768 KHz X-tal. The reason for chosing 32768 Hz is that 215 = 32768. The DS1307 contains a counter that repeatedly counts to 215. Each time the counter reaches 32768 the time clock counts one second forward. Battery power backup is provided by the battery just visible in top right corner.

Beside the RTC the DS1307 contains 112 Bytes of RAM often used for configuration and password information. The time and contents of RAM are lost if the chip losses power.

Caetgory:RTC