- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
摘 要
本设计详细介绍了利用AT89C51单片机设计时间控制器的方法。该时间控制器是以AT89C51单片机为核心,扩展一片XICOR公司的X5045组成的小系统,控制一路继电器:可以设定一天中的时间,设定继电器的开启时间和关闭时间,可以清除不需要的定时,能够紧急启动:所有的设定均通过键盘实现,按键具有连击功能,每个状态都有指示灯提示。我们设计的作息时间控制是用单片机实现的,是为了更好的对时间控制智能化。时间控制器包括硬件和软件。硬件部分包括继电器,存储器和显示器接口芯片。软件部分,主要是主程序设计。软硬件结合在一起,先调试子程序,然后逐级叠加调试,最后系统调试通过。时间控制系统可以准确的显示时间,在定时时间到时发出悦耳的铃声提醒同学们按时上下课。
关键词:单片机,控制,时间
Abstract
This design USES AT89C51 is introduced time controller design method. The time controller based on AT89C51 single-chip microcomputer as the core, expanding a XICOR X5045 consisting of small systems, control relay all the way: you can set the time of day, set the relay open time and close time, timing, can remove dont need to start the emergency: all set by keyboard and buttons with functions of combo, each state has a light hint. Our design work and rest time control are implemented using single chip microcomputer, is intelligent in order to better control over time. Time controller includes hardware and software. Hardware part includes relay, storage and display interface chip. Software part, mainly is the main program design. Hardware and software together, debugging subroutine first, and then overlay debugging step by step, finally system debugging through. Time control system can accurately display the time in the regular time when a melodious bell remind students adding and dropping classes on time.
目录
1. 系统设计方案与论证……………………………………………………………………3
2.1设计要求…………………………………………………………………………………3
2.2系统设计总体方案…………………………………………………………………..….3
2 系统的硬件设计与实现………………..…………………………………………………4
2.1.1时钟芯片DS12887性能简介……………………………………………………….4
2.1.2时钟芯片读写时序……………………………………………………………….…6
2.1.3 时间寄存器地址……………………………………………………………………6
2.1.4 特殊控制寄存器功能………………………………………………………………7
2.2.1 液晶SYB12864介绍………………………………………………………………8
2.2.2 液晶与单片机的接口………………………………………………………………8
2.2.3 液晶写操作时序……………………………………………………………………9
2.3.1 红外发送与接收……………………………………………………………………10
2.3.2 遥控码数据分析……………………………………………………………………10
2.3.3 接收电路……………………………………………………………………………11
2.4.1电源部分电路图…………………………………………………………………… 11
原创力文档


文档评论(0)