摘要
设计并制作了以STC89C52单片机为核心的教室灯光自动控制系统。由光敏电阻检测环境光线的强弱,由红外传感器检测待测量区域有无人体存在,这二者的检测结果输入单片机,再通过单片机程序控制继电器来控制教室灯的开与关,实现教室灯的自动开关。对按该设计制作的实物在各种情况下的实验测试,初步验证结果表明该系统反应快速、准确并且具有很好的稳定性,完全达到了设计的目的和要求。该设计可以被广泛应用于教室,走廊,办公室和图书馆等公共场所,具有重要的实际应用价值。
A kind of classroom light automatic control system has been designed with STC89C52 single-chip microcomputer as the core in this paper. It tests the strength of the ambient light by photosensitive resistance ,tests existence of human by infrared sensors, then controlled classroom lights off or on by single chip microcomputer. The results of experiment show that the system response is rapid, accurate and has good stability, and achieve the goals and requirements of design. It can be widely used in the classroom, the corridor,offices and public places such as library, and have important practical application value
出处
《自动化与仪器仪表》
2017年第1期52-54,共3页
Automation & Instrumentation
基金
2015年地方高校国家级大学生创新创业训练计划项目201511396719
2015年省级大学生创新创业训练计划项目2270