1、 单片机技术课程设计说明书单片机技术课程设计说明书 万万 年年 历历 课程设计任务书课程设计任务书 课 程: 单片机技术 课程设计题目: 数字电子钟 数字频率计 数字电压表 交通灯 抢答器 密码锁 波形发生器 数字温度计 计算器 数字式秒表 万年历 摘要摘要 随着当今世界经济的快速发展和信息化时代的来临,各种各样的小型智能家电产品 陆续出现在我们的生活当中,电子万年历作为一种功能十分强大的日常计时工具,它可 以对年、月、日、星期、时、分、秒进行计时,还具有闰年补偿等多种功能,而且 DS1302 的使用寿命长、误差小。对于数字电子万年历采用直观的数字显示,可以同时显示年、 月、日、星期、时、分、
2、秒等信息,还具有时间校准等功能,已逐步的出现在我们的日 常生活中。一般日常生活中大都使用的是纸质日历。纸质日历显示效果不太好并且使用 寿命不长,造成了一定的资源浪费。 针对传统的纸质日历局限性,本论文设计了一款基于单片机的电子万年历系统。本 设计以 AT89S52 单片机为核心,构成系统主控制电路。AT89S52 是一种带 8K 字节闪速可 编程可擦除只读存储器的低电压、高性能 CMOS 8 位为控制器,全部信息用 12864 液晶显 示时间、日期、闹铃及界面的切换由四个独立按键来实现,并可对闹铃开关进行设置。 日历能显示阳历和阴历年、月、日以及星期、时、分、秒。如有节气及生日都会有提醒 显示
3、的功能。 电子万年历采用智能电子控制和显示技术,改善了纸制日历的缺陷。它集时间、日 期、星期等功能于一身,具有读取方便、显示直观、功能多样、电路简洁等诸多优点, 符合电子仪器仪表的发展趋势,具有广阔的市场前景。 关键词:电子万年历;AT89S52;TLC549;12864 液晶显示屏 AbstractAbstract With the rapid development of economy and the advent of the information era, a variety of small intelligent home appliances products began t
4、o appear in our life, the electronic calendar as a very strong function of the daily timing tool, it can be for the year, month, day, week, hours, minutes and seconds for time, also has a leap year compensation a variety of functions such as DS1302, and long service life, small error.For digital ele
5、ctronic calendar using visual digital display, can display year, month, day, week, time, minutes and seconds, and other information, but also has time calibration and other functions, has gradually appeared in our daily life.General daily life are used paper calendar.Paper calendar display effect is
6、 not very good and the service life is not long, resulting in a waste of resources. Aiming at the limitations of traditional paper calendar, this paper designs a chip electronic calendar system.The design for A T89S52 core, system consists of main control circuit.A T89S52 is a 8K byte flash programmable and erasable read only memory of the low voltage, high performance 8 bit CMOS as controller, all the information w