1、第 1 页 共 24 页 论文题目_基于 AT89C51 单片机万年历的设计 指导老师_ _ 学生姓名_ _ 准考证号_ _ 2011 年 08 月 23 日 第 2 页 共 24 页 基于基于 AT89C51AT89C51 单片机万年历的设计单片机万年历的设计 电子工程电子工程 摘要摘要 :本文介绍了基于 AT89C52 单片机的多功能电子万年历的硬件结构和 软硬件设计方法。 系统以 AT89C52 单片机为控制器, 以串行时钟日历芯片 DS1302 记录日历和时间,它可以对年、月、日、时、分、秒进行计时,还具有闰年补偿 等多种功能。运用单片机实现公历农历之间的转换,电子闹钟,计时器和对指定
2、 日期的查询等功能。 万年历采用液晶显示 LCD-12864 显示, 可以同时显示年、 月、 日、周几、时、分、秒,农历。 综上所述此电子晚年历具有读取方便、显示直观、功能多样、电路简洁、成 本低廉等诸多优点,符合电子仪器仪表的发展趋势,具有广阔的市场前景 关键字关键字:AT89C51;电子万年历;公农历转换;电子闹钟 第 3 页 共 24 页 Based on AT89C51 calendar design electronic engineering Students zengJunqiang guide teacher JiaLaoShi Abstract: this paper int
3、roduces the AT89C52 single chip based on the multi-function electronic calendar the hardware structure and software and hardware design method. System to the microcontroller of AT89C52 controller, in a serial clock calendar chip DS1302 record calendar and time, it can be to date and time, minutes an
4、d seconds a clock, but also has a leap year compensation, etc DuoZhong function. Using single chip microcomputer, the lunar calendar conversion between electronic alarm clock, timer and to date specified query etc. Function. Calendar liquid crystal display LCD 12864, can also shows that year, month, day, week, when a few, minutes and seconds, the lunar calendar. To sum up the electronic late calendar has read convenient, direct display