文档详情

基于AT89S52单片机的多功能电子万年历的硬件结构和软硬件设计方法 毕业论文.doc

发布:2016-05-08约2.99万字共47页下载文档
文本预览下载声明
摘要 本文介绍了基于AT89S52单片机的多功能电子万年历的硬件结构和软硬件设计方法。本设计由数据显示模块、温度采集模块、时间处理模块和调整设置模块四个模块组成。系统以AT89S52单片机为控制器,以串行时钟日历芯片DS1302记录日历和时间,它可以对年、月、日、时、分、秒进行计时,还具有闰年补偿等多种功能。万年历采用直观的数字显示,可以同时显示年、月、日、周日、时、分、秒,还具有时间校准等功能。此万年历具有读取方便、显示直观、功能多样、电路简洁、成本低廉等诸多优点,具有广阔的市场前景。 ABSTRACT This paper introduces the based on AT89S52 multi-function electronic calendar of the hardware structure and software and hardware design method. This design by data display module, temperature acquisition module, time processing module and set module four modules. With AT89S52 single-chip microcomputer system for the controller to serial clock calendar chip DS1302 record calendar and time, it can be to date and time, minutes and seconds for the time, also has a leap year compensation and other functions. Temperature gathering choose DS18B20 chip, calendar by using object digital display, data showed that the 12864 A liquid crystal display module, can be in the LCD shows at the same time year, month, day, Sunday, when, minutes and seconds, still have time calibration etc. Function. This calendar has read the convenient, direct display, functional diversity, simple circuit, low cost, and many other advantages, has a broad market prospect. Key words:Perpetual Calendar thermometer LCD display 摘要 I ABSTRACT II 前言 V 1 绪论 1 1.1 课题研究的背景 1 1.2课题的研究目的与意义 1 1.3课题解决的主要内容 1 2 系统的方案设计与论证 2 2.1单片机芯片设计与论证 3 2.2按键控制模块设计与论证 3 2.3时钟模块设计与论证 3 2.4温度采集模块设计与论证 4 2.5显示模块模块设计与论证 4 3 系统硬件的设计 5 3.1 AT89S51单片机 5 3.2时钟芯片DS1302接口设计与性能分析 8 3.3温度芯片DS18B20接口设计与性能分析 11 3.4 LCD显示模块 15 3.5按键模块设计 17 3.6复位电路的设计 17 4 系统的软件设计 19 4.1主程序流程图的设计 19 4.2 程序设计 20 5 系统的机体设计 24 5.1系统的模块组成 24 5.2 功能实现 24 结论 26 参考文献 27 致谢 28 附录 29 前言 随着科技的快速发展,时间的流逝,从观太阳、摆钟到现在电子钟,人类不断研究,不断创新纪录。目前,单片机技术的应用产品已经走进了千家万户。电子万年历的出现给人们的生活带来诸多方便。电子万年历作为电子类小设计不仅是市场上的宠儿,也是是单片机实验中一个很常用的题目。因为它的有很好的开放性和可发挥性,因此对作者的要求比较高,不仅考察了对单片机的掌握能力更加强调了对单片机扩展的应用。而且在操作的设计上要力求简洁,功能上尽量齐全,显示界面也要出色。LED数码管显示的日历钟逐渐受到人们的欢迎。LED数字显示的日历钟显示清晰直观、走时准确、可以进行夜视,并且还可以扩展出多种功能。 1 绪论 1.1 课题研究的背景 随着科技的快速发展,时间的流逝,从观太阳、摆钟到现在电子
显示全部
相似文档