作息时间控制器汇编版.docVIP

  • 13
  • 0
  • 约1.8万字
  • 约 34页
  • 2016-09-15 发布于江苏
  • 举报
作息时间控制器汇编版.doc

目 录 摘要 0 1 概述 1 2 硬件设计 2 2.1 单片机部分 2 2.1.1 单片机的选择 2 2.1.2 AT89C51的功能概述 2 2.1.3 单片机硬件资源分配 5 2.2 存储器部分 6 2.2.1 存储器的选择 6 2.2.2 X5045的功能概述 6 2.2.3 74HC164的功能概述 8 2.4 电源与复位电路部分 9 2.4.1 电源部分 9 2.4.2复位电路 10 2.5 电铃和继电器部分 10 2.6 按键部分 11 3 软件设计 13 3.1 主程序设计 13 3.2 子程序设计 15 3.2.1时间作息程序 17 3.2.2 程序框图 22 4 调试部分 25 4.1电源部分的调试 25 4.2显示部分的调试 25 4.3单片机控制部分的调试 25 结束语 26 谢 辞 27 文 献 28 附 录 29 摘要 学校时间方面,由于时间多,时间乱等原因,不得不去改善其时间方面的设备。单片机作息时间控制实现了对时间控制的智能化,摆脱了传统由人来控制时间长短的不便,是现代学校必不可少的设备。在整个设计中,我们主要用的是单片机的自动控制原理,包括硬件和软件。在硬件部分,包括继电器,存储器和显示器接口芯片;软件部分,主要是主程序设计。软硬件结合在一起,先调试子程序,然后逐级叠加调试,最后系统调试通过。 在本论文中我是利用单片机把自动复位电路,显示电路,电源电路,继电器电路,电铃电路连接起来,再通过Abstract 随着科学进步的不断发展,各行各业技术的不断改进和更新,在学校时间方面,由于时间多,时间乱等原因,不得不去改善其时间方面的设备。 With the continuous development of scientific progress, all walks of life continue to improve and update technology in school time, as time is over, time disorder and other reasons, had to improve their timing equipment. 单片机作息时间控制实现了对时间控制的智能化,摆脱了传统由人来控制时间长短的不便,是现代学校必不可少的设备。 SCM rest time control to achieve the intelligent control of time, from the traditional by people to control the duration of the inconvenience it is essential to the modern school facilities. 在整个设计中,我们主要用的是单片机的自动控制原理,包括硬件和软件。 Throughout the design, we mainly used the automatic control of microcomputer principles, including hardware and software. 在硬件部分,包括继电器,存储器和显示器接口芯片;软件部分,主要是主程序设计。 On the hardware parts, including relays, memory and display interface chip; software components, mainly the main program design. 软硬件结合在一起,先调试子程序,然后逐级叠加调试,最后系统调试通过。 Hardware and software together, the first debugging subroutines, and then stack one level debugging, the final system debugging through. 在本论文中我是利用单片机把自动复位电路,显示电路,电源电路,继电器电路,电铃电路连接起来,再通过单片机的编程实现设计要求。 In this paper, I have to use microcontroller to automatically reset circuit, display circuit, power supply circuits, relay circuit, electric bell circuit connected, and through the MCU programming design requirements. 单片机作息时间控制系统是利用定时器计时处理来做秒计数,当所设置的时间到了,则发出一阵声响,启动继电器,由继电器可以控制放音

文档评论(0)

1亿VIP精品文档

相关文档