基于51单片机的实时日历和时钟显示系统设计--毕业.doc

基于51单片机的实时日历和时钟显示系统设计--毕业.doc

  1. 1、本文档共57页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘要 本设计是基于51系列的单片机进行的实时日历和时钟显示设计,可以显示年月日时分秒及周信息,具有可调整日期和时间功能。在设计的同时对单片机的理论基础和外围扩展知识进行了比较全面准备。 实时日历和时钟显示的设计过程在硬件与软件方面进行同步设计。硬件部分主要由AT89S52单片机,LED显示电路,以及调时按键电路等组成,系统通过LED显示数据,所以具有人性化的操作和直观的显示效果。软件方面主要包括时钟程序、键盘程序,显示程序等。本系统以单片机的汇编语言进行软件设计,为了便于扩展和更改,软件的设计采用模块化结构,使程序设计的逻辑关系更加简洁明了,以便更简单地实现调整时间及日期显示功能。所有程序编写完成后,在wave软件中进行调试,确定没有问题后,在Proteus软件中嵌入单片机内进行仿真。 关键词:AT89S52; DS1302; LED Abstract This design is based on 51 series monolithic integrated circuits of a real-time calendar and the clock shows the design, you can show how and when a week, has may adjust the date and time functions. in the design for monolithic integrated circuits, and peripheral to expand the basic theories of knowledge was fairly comprehensive preparation. Real-time calendar and the clock shows the design in hardware and software design of hardware that is synchronized. the led display at89s52 monolithic integrated circuits, and when should the electrical circuits, the system through the led display data so be humanized operate and intuitive that effect. including the software application programs, the keyboard, the program, etc. This system to monolithic integrated circuits of the assembly language for easily developing software design, and changes, software design to use modular design, the programming logical relationship with more and more so as to realize the time and date display the functions. all procedures in writing after wave of debugging the software and make no question of the proteus software embedded monolithic integrated circuits. Key Words:AT89S52; DS1302; LED 1概述 1 2设计方案论证 2 2.1功能要求 2 2.2方案确定 2 2.2.1单片机芯片的选择方案和论证 2 2.2.2显示模块选择方案和论证 3 2.2.3时钟芯片的选择方案和论证 3 2.2.4电路设计最终方案确定 3 3主控制器和外围器件 4 3.1AT89S52单片机 4 3.2DS1302时钟芯片 4 3.2.1DS1302芯片介绍 4 3.2.2DS1302 的应用 8 3.3数码管LED 8 3.4译码器74HC138 9 3.5锁存器74LS244 9 4硬件设计 10 4.1电路设计框图 10 4.2系统概述 10 4.3电源设计 10 4.4单片机的复位电路 11 4.5单片机系统的晶振电路 11 4.6主电路设计 12 5软件设计 13 5.1主程序设计 13 5.2键盘子程序设计 14 5.3日历时钟子程序设计 16 5.4显示子程序设计 18 6系统调试 18 6.1软件调试 18 6.2硬件调试 19 7结论 20 致谢 22

文档评论(0)

精品天地 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档