1、 毕毕 业业 设设 计计 报报 告告 题题 目目 电子日历的设计电子日历的设计 姓姓 名名 所在系别所在系别 专业名称专业名称 班级名称班级名称 学学 号号 指导教师指导教师 日日 期期 目目 录录 一、绪论 3 (一)电子日历发展趋势 3 (二)电子日历简介 3 二、系统方案的设计 4 (一)系统功能描述 4 (二)系统设计思路 4 (三)硬件功能描述 5 三、详细设计 5 (一)主要芯片介绍 5 (二)硬件电路设计 9 四、系统的软件设计. 11 (一)主程序流程 . 11 (二)时间调整程序流程 . 12 (三)日历时钟的读写流程 . 13 (四)显示子程序设计 . 14 五、结束语.
2、14 谢辞. 15 参考文献. 16 附录. 17 第 页 共 21 页 1 电子日历的设计电子日历的设计 摘要:摘要:本设计实现一个小巧的电子日历钟,利用DS1302读取日期及时间并传至 89C51,使用LCD1602液晶显示屏作为输出设备。电路设有四个按键,可以进入设 置菜单对电子日历钟进行时间设置。电路主要利用MCS51单片机控制时间的读 取,并显示在液晶屏幕上面,可通过按键实现对时间的修改。 文章详细论述了电子日历设计原理和使用的主要芯片,并对电路的设计方 案、电路图以及软件程序部分进行了分析。 关键词关键词: :电子日历;芯片;单片机;控制; 第 页 共 21 页 2 Electro
3、nic calendar design Abstract:Electronic technology change rapidly today, electronic technology, digital display technology has effectively combined into one, for people to provide a more convenient, more fashionable function. Electronic calendar has become an indispensable decorations, and make a sp
4、urt of progress of electronic technology, electronic calendar with a simple, efficient, beautiful, stable characteristics, has been widely applied. MCU control the time to read and displayed on the LCD screen, and can be achieved through the key to time changes. This paper discusses in detail the el
5、ectronic calendar clock design principle, using the chip introduction, clarifies the instance uses design program, a detailed circuit diagram and electronic program. The design and implementation of a compact electronic calendar clock, you can use the DS1302 to read the date and time and sent to 89C
6、51, to display on LCD 1602 liquid crystal display screen. With four keys, can enter the settings menu on electronic calendar clock for time setting. Keywords: Electronic calendar, chip, control, automatic 第 页 共 21 页 3 一一、绪论、绪论 (一)电子日历发展趋势(一)电子日历发展趋势 随着科技的快速发展,时间的流逝,至从观太阳、摆钟到现在电子钟,人类 不断研究,不断创新纪录。美国 DALLAS 公司推出的具有涓细电流充电能的低功 耗