孙景伟 丁学用 常胜波
摘 要:智能光控系统是智能家居中的重要组成部分。尤其是房间智能光控系统在日常生活中具有代表性。本设计是基于STC89C52单片机处理器作为主要核心器件设计的房间智能光控系统,能够实现房间灯光的自动和手动两种控制模式。本系统主要由红外模块、光敏模块、ADC0809模数转换模块、LCD1602液晶显示模块和STC89C52单片机模块组成。光敏传感器感应外界的光强信号,经过ADC0809数模转换模块将模拟信号转成数字信号,同时通过红外传感器判断房间内是否有人存在,然后将两个模块测得的实时数据传送给单片机,并和预设值进行比较,通过决定开启LED灯的数量来控制房间的亮度。
关键词:智能光控;光敏传感器;红外传感器
中图分类号:TP272 文献标志码:A 文章编号:2095-2945(2018)12-0094-03
Abstract: Intelligent optical control system is an important part of smart home, especially the room intelligent light control system, which is a representative in daily life. This design is about the room intelligent light control system which is based on the STC89C52 single-chip microcomputer as the main core device, and can achieve automatic and manual control modes of room lighting. The system is mainly composed of infrared module, light-sensitive module, ADC0809 analog-to-digital conversion module, LCD1602 liquid crystal display module and STC89C52 MCU module. The light-sensitive sensor induces the external light intensity signal, converts the analog signal into the digital signal through the ADC0809 digital-analog conversion module, and meanwhile determines whether there is anyone in the room by the infrared sensor. Then the real-time data measured by the two modules are transmitted to the single-chip microcomputer, and compared with the preset values; the brightness of the room is controlled by determining the number of LED lights to be turned on.
Keywords: intelligent optical control; light-sensitive sensor; infrared sensor
引言
房間智能光控系统是现今智能家居系统的重要组成部分,该系统通过光敏传感器对房间内光线进行实时采集,将采集到的模拟信号通过ADC0809模数转换芯片转换成可读的熟悉信号,并根据红外传感器实时监测房间是否有人的存在。进而调节灯的亮度。它将自动控制技术、数据处理技术、通信技术等等有效的综合起来,运用到房间智能光控系统中,这样不仅在享受高智能科技给我们带来的便利之时,还有利于我国的节能减排,环境保护法等政策的实施。
本设计融合了自动控制与手动控制于一体。在智能光控出现故障而不能正常工作的时候,可以切换手动模式进行照明的控制,从而提高房间智能光控系统的实用性。……