摘要
本文介绍了以STM32F103RBT6单片机为控制核心,照度均匀稳定可调LED台灯和一个数字照度表的设计方案。主要包括光源模块、单片机控制模块、照度检测模块、液晶显示模块等几个模块。光源为自制光源,光源亮度可连续变化,通过BH1750照度传感器采集光源,将采集的数据送入单片机进行分析,将分析结果通过1.44寸TFT液晶显示屏进行显示,包括光源的照度、电压、电流、效率。数字显示照度表的数显随台灯亮度实时变化,当亮度稳定时数显稳定,跳变在规定的范围内。
This paper introduces the design scheme of an even and stable adjustable LED desk lamp and a digital illuminance meter with STM32F103RBT6 microcontroller as the control core.It mainly includes several modules such as light source module,single-chip control module,illumination detection module,and liquid crystal display module.The light source is a self-made light source,and the brightness of the light source can be continuously changed.The light source is collected by the BH1750 illuminance sensor,and the collected data is sent to the single-chip microcomputer for analysis.The analysis results are displayed through the 1.44 inch TFT LCD,including the illuminance,voltage,current and efficiency of the light source.The digital display of the digital display illuminance meter changes in real time with the brightness of the desk lamp.When the brightness is stable,the digital display is stable and the jump is within the specified range.
作者
杜玲云
唐明涛
DU Lingyun;TANG Mingtao(Yuncheng Vocational and Technical University,Yuncheng Shanxi 044000)
出处
《软件》
2022年第6期118-120,共3页
Software
关键词
STM32单片机
照度可调
光照传感
STM32 microcontroller
illuminance adjustable
light sensing