基于单片机的教室灯光自动控制器的设计.rar
基于单片机的教室灯光自动控制器的设计,目 录目录..........................................................Ⅰ摘要..........................................................Ⅲabstract...........
该文档为压缩文件,包含的文件列表如下:
内容介绍
原文档由会员 wanghua273849 发布基于单片机的教室灯光自动控制器的设计
目 录
目录..........................................................Ⅰ
摘要..........................................................Ⅲ
Abstract......................................................Ⅳ
第一章 引言....................................................1
第二章 系统总体方案............................................3
2.1 系统整体设计思想.........................................3
2.2 系统设计要点.............................................3
2.3 系统控制原理.............................................3
2.4 系统控制方案分析.........................................4
第三章 硬件电路设计............................................6
3.1 系统硬件总述.............................................6
3.2 控制系统的主要硬件电路...................................6
3.2.1 系统主控电路...........................................6
3.2.2 时钟控制电路DS1302.....................................7
3.2.3 光照信号采集电路......................................10
3.2.4 人体信号采集电路......................................13
3.2.5 1602LCD显示电路.......................................15
3.2.6 超时报警电路..........................................17
3.2.7 输出控制电路..........................................17
3.2.8 电源电路..............................................18
第四章 系统软件设计...........................................20
4.1 时钟模块................................................20
4.2 继电器控制模块..........................................21
4.3 手动控制模块............................................22
4.4 超时报警模块............................................22
4.5 主程序设计..............................................22
第五章 系统仿真调试及可靠性技术...............................24
5.1 仿真环境介绍............................................24
5.2 仿真调试................................................25
5.3 出现的主要问题及分析解决................................25
5.4 系统可靠性技术..........................................26
第六章 结论...................................................28
参考文献......................................................29
致谢..........................................................30
附录..........................................................31
摘 要
本研究针对教室灯光的控制方法,尤其是教室灯光的智能控制方面的发展现状,分析了教室灯光智能控制的原理和实现方法,提出一种用热释电红外传感器和光照检测相结合的智能照明控制系统。
本系统以AT89C52单片机作为教室灯光控制器的核心,采用热释电红外人体传感器检测人体存在,采用光敏电阻构成的电路检测环境光的强度,根据实际条件,系统通过对室内是否有人和光线强弱的识别和智能判断,以完成对教室灯光的智能自动控制,实现教室用电设备的合理控制和管理,节约电能以及改善教学管理。系统还有报警、准确的时间和日期显示等功能。
本系统软件设计采用C语言编制,运用模块化结构设计、条理清晰、通用性能良好,便于使用者改进和扩充。
关键词:自动控制,单片机,人体传感器,热释电,光照检测
Design of Automatic Controller to Classroom Light
Based on Single Chip Computer
Abstract
Currently light intelligent control systems are not efficiently used in the classroom ,In order to improve the system ,based on the theory of the light control and current methods of how to keep control ,a project of intelligent–illuminating control combined pyroelectric infrared transducer with illumination detection is provided .
This classroom light intelligent control system is developed country ,which machine of AT89C52 is a core part ,and the environment of development is better than before .This system can satisfy the following functions ,such as controlling the circuit of illumination ,testing and processing daylight signal ,testing and processing the signal of human body that illuminates the back track exists ,reporting to the warning devices ,etc. In order to satisfy these functions ,the system adopted the homologous methods respectively ,and to the gearing of the system ,analyzing how to install ,test and run the system .achieve the realization of Colleges and Universities classroom equipment ,the rational use of electricity ,saving energy and improving teaching and learning management purposes .System also has the additional functionality, For example, alarm, accurate shows the time and date.
This system software was developed based on C language ,Its corporality is very good and easy to improve and expand .It could be used to develop larger-scale system with more prefect performance .
Keywords: Automatic control,Single chip computer,The human body sensors,Heat to release the electricity,Light detection