首页|基于STM32的室内照明系统设计

基于STM32的室内照明系统设计

扫码查看
为了实现节约能源、促进绿色发展,本设计以STM32F103 系列单片机为核心设计的智能室内照明系统,通过红外热释电传感器检测周围环境是否有人员进出,声音传感器检测声音信号,光敏电路检测周围的光线亮度来控制台灯的点亮时间,并根据不同时间段照明需求改变照明光强.将这些模拟量信号传输入单片机再利用单片机内部的A/D转换模块将模拟量转换成数字量,利用PWM对LED灯亮度进行实时控制与调节,最终在硬件平台上测试证明该照明系统的有效性.
Design of Indoor Lighting System Based on STM32
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.

STM32lighting systemPWM

李林宜、汪静远、程绍峰、李艳波

展开 >

长安大学能源与电气工程学院,西安 710061

中国兵器工业集团航空弹药研究院,哈尔滨 150030

STM32 照明系统 PWM

2024

智能建筑电气技术
亚太建筑科技信息研究院

智能建筑电气技术

影响因子:0.346
ISSN:1729-1275
年,卷(期):2024.18(1)
  • 8