【精品】基于单片机的学校电源自动控制的毕业设计.doc

【精品】基于单片机的学校电源自动控制的毕业设计.doc

  1. 1、本文档共52页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘 要 本文介绍了基于单片机为主控单元的管理系统,详细阐述了该系统的工作原理、控制策略及其硬件、软件实现。 Abstract This article describes the main control unit MCU based STC89C52 power management system, described in detail the working principle of the system, control strategy and its hardware, software. The system consists of three components: process control, microcontroller hardware and simulation part. Constant voltage power supply modules with 220V AC to 12V DC 5V by the 7805 transfer were all part of the circuit voltage to provide power. Process control in part by the clock detection function, LCD1602 display functions, relay control function and composition of the main function. Hardware consists of four modules: SCM minimum system, the clock chip DS12C887, display module LCD1602, relay module. Real-time clock and CPU time for data communication, the DS12C887 internal clock information is displayed on the display module in the LCD1602, DS12C887 internal clock registers, when the initialization time information, set the internal clock register, the corresponding arrival time clock chip DS12C887 IRQ port issue interrupt signal to the MCU external interrupt INT0, occurs when the MCU after the break made by the relay circuit control of LED lights to achieve the lamp lit the apartment on or off the control. Key word: microcontrollers, clock chip, LCD1602, alarm signal 目 录 第1章 绪 论 1 1.1 引言 1 1.2 选题背景 1 1.3 国内外研究情况 2 1.4 本设计方法及应用 3 第2章 需求分析 4 2.1 功能性分析 4 2.2 可行性分析 4 2.2.1安全性 4 2.2.2经济性 5 2.3系统开发环境分析 5 第3章 总体方案设计 6 3.1 芯片比较 6 3.1.1单片机选型 6 3.1.2液晶模块的选择 6 3.1.3时钟芯片的选择 7 3.2 总体设计与系统原理 7 第4章 系统硬件设计 9 4.1 单片机部分 9 4.1.4 STC89C52 9 4.2 液晶显示模块 14 4.3 时钟芯片部分 16 4.4 继电器模块 20 4.4.1电源与复位电路 20 4.4.2复位电路 20 4.4.3通信模块电路 21 4.4.4继电器电路 22 第5章 系统软件设计 23 5.1 DS12C887时钟芯片读操作流程 24 5.2 LCD1602液晶模块写操作流程 26 5.3 通信模块流程 28 第6章 系统调试 29 6.1软件调试 29 6.2硬件调试 31 6.3系统调试 31 结 论 33 致 谢 34 参考文献 35 附录 源程序代码 37 第1章 绪 论 1.1 引言 单片机作息时间控制实现了对时间控制的智能化,摆脱了传统由人来控制时间的长短的不便,是现代学校必不可少的设备。随着生活水平的不断改善,学生宿舍用电设备越来越多,考虑到节约用电和安全问题,需要对宿舍各种电器设备用电时间和用电电流进行管理和控制,传统

文档评论(0)

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

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

1亿VIP精品文档

相关文档