四川理工学院毕业设计 基于单片机的教室灯光控制系统的设计 学 生:学 号:专 业:生物医学工程班 级:指导老师: 四川理工学院自动化与电子信息学院二 O 一三年六月基于单片机的教室灯光控制系统的设计摘要:本文详细讨论了大学教室的使用特点和照明需求及存在的问题,提出了一种基于单片机的教室灯光控制系统。该系统以 AT89S51 单片机作为控制模块的核心部件,采纳热释红外人体传感器检测人体的存在,采纳光敏三极管构成的电路检测环境光的强度;根据教室合理开灯的条件,通过对人体存在信号和环境光信号的识别与推断,完成对教室灯光的智能控制,避开了教室用电的大量浪费系统还具有报警功能;同时还采纳了软/硬件的“看门狗”等抗干扰措施。该系统可以满足各类院校对教室灯光控制的要求,很大程度的达到节能目的。 关键词:单片机;智能控制;热释红外传感器;X5045Design of Lighting Control System Based on MCUAbstract:This paper copiously studied using features, lighting requirements and the existing problems of the university classroom, at last a kind of lighting control system based on mcu of classroom was put forward. The system used AT89S51 microcontroller as a core component of the control module. It introduced pyroelectric infrared sensor to detect the existence of human body, and used circuit which constituted of photosensitive triode to detect the strength of environment lighting. The navar according to the resonable conditions of turning on classroom light and the identification of signal about environmental lighting and existing of human body, achieved the intelligent control of classroom lighting . At last, it avoid the waste of electricity. It also had alarming function, at the same time anti-interference measures such as the software / hardware "watchdog" was adopt. The system can meet institution requirements for classroom lighting control, largely achieved the purpose of energy saving.Key words: Microcontroller;Intelligent control;Pyro...