单片机控制的教室照明系统设计参考.doc

  1. 1、本文档共50页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
单片机控制的教室照明系统设计参考

摘 要 针对目前高校教室照明管理不到位而造成电能严重浪费这一现状,以提高教室照明水平和节约能源为目的,设计了该单片机控制的照明系统。本文阐述了教室照明系统自动、手动控制的设计原理与实现方法。以设计过程为主线,分别从硬件和软件两方面描述设计过程。 本文设计了一个基于AT89S52单片机的教室照明控制器系统。系统组成包括人体检测电路、环境光采集电路、时钟电路、声光报警电路等。文中采用HP-208人体传感器检测人体信号的存在,光敏电阻采集环境光的强度,DS1302时钟芯片定时,蜂鸣器报警,并通过LED显示教室灯光的状态。 软件部分采用C语言程序编制,模块化结构设计,并通过仿真工具进行系统仿真和调试。依据流程图思路条理,编制控制程序,从而实现教室照明回路的控制。此外,本文还考虑了保证教室照明控制系统稳定运行所采取的抗干扰措施。 该系统控制方便,具有体积小,专用性强,性价比合理等优点,可以满足大、中专院校教室灯光控制的要求。 关键词:AT89S52;人体传感器;光敏电阻;时钟;稳定措施 Abstract According to the unsatisfactory lighting management in current university classroom that cause power waste seriously situation, the light control system is designed aim at improving the light level of classroom and saving energy. This paper describes the design principles and implementation methods of classroom lighting system with automatic and manual control. Taking the design processes as mainline, it describes the design processes from two aspects --hardware and software. This paper designs a classroom lighting controller system based on the single-chip microcomputer AT89S52. The system consists of the detection circuit of human body, the collection circuit of ambient light, clock circuit, the alarm circuits with sound and light ,etc. In this paper, HP-208 Human sensor is used to detect the body signals of human presence, the intensity of ambient light is collected by Photo-resistor , time is set by DS1302 clock chip, the alarm is from the buzzer, and the condition of classroom is indicated through the LED lights. The software is designed with C language to program and separate module, and the system is tested and debugged with simulation tools. According to the flow chart, the programme is programmed to control the classroom lighting circuit. In addition, this paper also takes anti-interference measures to guarantee the classroom lighting control system operate stably . The system can be control easily. Besides there are many advantages such as small volume, strong specificity , reasonable price. It can satisfy

文档评论(0)

2017meng + 关注
实名认证
内容提供者

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

1亿VIP精品文档

相关文档