1、1 制作制作单片机单片机 AT89S52AT89S52 的万年历的万年历 摘要摘要:电子万年历是一种应用非常广泛的日常计时工具,本设计利用美国 DALLAS 公司推出的具有涓细电流充电的低功耗实时时钟电路 DS1320,研制了一种多功能 电子万年历,主要功能包括:电子万年历要求能显示的阳历/阴历、年、月、日、 星期、小时、分、秒,除此之外还有显示润年,记忆时间。DS1302 可以对年、月、 日、周日、时、分、秒进行计时,还具有润年补偿的功能,而且 DS1320 的使用寿 命长,误差小。对于数字电子万年历采用它,具有较准的计时。 关键词关键词:AT89S52 DS1302 74LS164 万年历
2、 The production of the calendar with the single-chip AT89S52 Abstract:Electronic calendar application is a kind of tool ,which is widely used in our daily life.The design using the United States with DALLAS small trickle charge current of the low-power real-time clock circuit DS1320, developed a mul
3、ti-function electronic calendar.The main features include E-calendar requirements which are shown in the solar calendar / lunar calendar, year, month, day, weeks, hours, minutes and seconds, in addition to indicate Leap year, the memory of the time. DS1302 can remember year, month, day, weekdays, ho
4、urs, minutes, seconds for time,which also has the function of a leap year compensation, and long life of the DS1320, the error small. The use of digital electronic calendar for it has a quasi-time. Keywords: AT89S52 DS1302 74LS164 calendar 2 目目 录录 第一章第一章 绪论绪论.3 1.1 课题背景3 1.2 电子万年历的目的和意义3 第二章第二章 系统硬件电路设计系统硬件电路设计.4 2.1 硬件设计框图.4 2.2 AT89S52原理.4 2.3 74LS164 电路原理