本科毕业论文---基于单片机的校园作息时间控制系统.docVIP

  • 7
  • 0
  • 约2.26万字
  • 约 45页
  • 2016-12-16 发布于辽宁
  • 举报

本科毕业论文---基于单片机的校园作息时间控制系统.doc

目 录 第1章 绪论 1 1.1 概述 1 1.2 国内外发展现状 1 1.3 课题的题出 2 1.4 本文设计内容与结构 2 第2章 方案设计与论证 4 2.1系统的设计思想 4 2.2方案设计与论证 4 2.2.1 单片机芯片 4 2.2.2 显示模块 5 2.2.3 时钟芯片 6 2.2.4 电路设计方案 6 2.3本章小结 7 第3章 系统硬件设计 8 3.1主控模块设计 8 3.1.1 STC89C52单片机 8 3.1.2 电路设计 10 3.2时钟模块设计 11 3.2.1 DS1302时钟芯片 11 3.2.2电路设计 13 3.3 键盘接口电路设计 14 3.4 显示模块设计 14 3.4.1 LCD1602液晶显示模块 14 3.4.2 电路设计 16 3.5 输出控制模块设计 17 3.6 本章小结 18 第4章 系统软件设计 19 4.1 主程序设计 19 4.2 显示程序设计 19 4.3 按键程序设计 21 4.4 输出程序设计 22 4.5 时钟程序设计 24 4.6 本章小结 24 第5章 系统仿真与硬件调试 25 5.1 软件调试 25 5.1.1 Keil C51 25 5.1.2 Protues仿真 26 5.1.3系统软件仿真 27 5.2 硬件调试 29 5.3 系统联调 31 5.3.1联调中问题及分析 31 5.3.2系统联调的实现 33 5.4 本章小结 33 结 论 34 致 谢 35 参考文献 36 附录1 系统原理图 37 附录2 LCD1602字符显示表 38 附录3 系统实物图 39 基于单片机的校园作息时间控制系统 摘要:校园作息时间控制系统主要用于学校,对一些以24小时为周期的开关量进行自动控制。如上下课打铃、教学楼照明的定时开与关、学生宿舍灯及校园路灯的定时开关、水泵的定时启动以及自来水供水时间控制等等。 本文介绍了基于单片机的校园作息时间控制系统,该控制系统是采用STC89C52单片机来实现对上述开关量的控制,利用DS1302时钟芯片来提供时钟信息,LCD显示器,实时显示时间。系统设有输入键盘,用以修改实时时钟。并设有停电保护,避免了停电等偶然因素所带来的不便。整个设计总体体现了系统简单、工作稳定可靠、价廉、控制时间精确及系统体积小等优点。 关键词:STC89C52;作息时间;DS1302;仿真 Campus work schedules control system based on Single-Chip Microcomputer Abstract: Campus work schedules control system which is mainly used in the campus, it auto-control some switches which have periods of 24 hours. Such as the bells ringing when classes begin or finish, the time switches of lamps in teaching buildings and student dormitories, the time start-up of water pump, and the tap water supply control system, etc. This article describes the characteristic of Campus work schedules control system based on Single-Chip Microcomputer, it control system carries out the switch parameter controls all above by SCM STC89C52. It uses the clock chip called DS1302 to provide the clock information. It could show the real time with LCD Monitor. And it could modify the real time clock with the input keyboard. It also has power failure protection, to avoid inconvenience such as accidental power outages and other factors. The design reflects the overall system is simple, reliable, c

文档评论(0)

1亿VIP精品文档

相关文档