摘要
为了实现节约能源、促进绿色发展,本设计以STM32F103系列单片机为核心设计的智能室内照明系统,通过红外热释电传感器检测周围环境是否有人员进出,声音传感器检测声音信号,光敏电路检测周围的光线亮度来控制台灯的点亮时间,并根据不同时间段照明需求改变照明光强。将这些模拟量信号传输入单片机再利用单片机内部的A/D转换模块将模拟量转换成数字量,利用PWM对LED灯亮度进行实时控制与调节,最终在硬件平台上测试证明该照明系统的有效性。
In order to save energy and promote green development,this design uses the STM32F103 series microcontroller as the core to design an intelligent indoor lighting system.It detects whether there are people entering or leaving the surrounding environment through infrared pyroelectric sensors,detects sound signals through sound sensors,and controls the lighting time of the desk lamp by detecting the brightness of the surrounding light through photosensitive circuits.The lighting intensity is also adjusted according to the lighting needs of different time periods.These analog signals are transmitted to the microcontroller and then converted into digital signals using the internal A/D conversion module of the microcontroller.PWM is used to control and adjust the brightness of LED lights in real-time.Finally,the effectiveness of the lighting system was demonstrated through testing on a hardware platform.
作者
李林宜
汪静远
程绍峰
李艳波
Li Linyi;Wang Jingyuan;Cheng Shaofeng;Li Yanbo(The College of energy and electrical engineering,Chang’an University,Xi’an 710061,China;NORINCO Group Air Ammunition Research Institute Co.,LTD,Harbin 150030,China)
出处
《智能建筑电气技术》
2024年第1期27-30,共4页
Electrical Technology of Intelligent Buildings