摘要
设计了一种可调节色温的多种方式控制USB和太阳能充电的LED床头小夜灯,给出了小夜灯的具体设计方案。该方案以STM32F103[1]单片机为控制器,采用人为控制和根据外界环境自主调节色温两种控制方式,人为控制分为触摸按键控制、WIFI控制、红外遥控控制;自主调节根据温度传感器采集的环境温度调节灯的颜色以适合当前的温度。测试表明,该系统具有较高的灵活性和可靠性,能满足家庭、宾馆等场合的基本要求。
A kind of solar charging LED bedside nightlight is designed, which is adjustable in color temperature and able to control the USB in many ways. The specific design scheme of the nightlight can be shown as fol- lows. The scheme uses STM32F103 single-chip microcomputer as the controller and adopts two kinds of controlling ways: one is the artificial control and the other is a way to adjust the color temperature independenly according to the outside world. The artificial control can be divided into touching control, WIFI control and infrared remote-con- trol. The test which independently adjusting the color of the light according to the ambient temperature collected by temperature sensor to suit the current temperature shows that the system has high flexibility and reliability to meet the basic requirements of families, hotels and other occasions.
出处
《山西电子技术》
2018年第1期18-19,24,共3页
Shanxi Electronic Technology