%0 Journal Article %T STM32-Based Intelligent Desk Lamp Design and Implementation %A Yuyang Lian %A Dong Wu %A Zelin Ji %J Open Access Library Journal %V 8 %N 8 %P 1-11 %@ 2333-9721 %D 2021 %I Open Access Library %R 10.4236/oalib.1107754 %X Table lamps have long been one of the necessities of people¡¯s life and work, as they appear and are used very frequently in household lighting equipment. Table lamps provide the right amount of light for people to work and study in their daily lives. Compared with the general traditional desk lamp, intelligent desk lamps provide a more comfortable lighting environment for people to read, work and study. The paper firstly analyzes the system scheme of the intelligent desk lamp and completes the hardware selection, using STM32F103C8T6 as the main control, HR-SR501 module as the pyroelectric module of the intelligent desk lamp. HC-SR04 ultrasonic distance measures sensor for distance measurement. Bluetooth module HC-05 is the wireless control module of the lamp. Then the interface circuit design of each functional module is completed by drawing schematic diagram through Altium Designer. The program design of each function by drawing program flowchart is completed. The program is written through keil5. Finally, the automatic adjustment of lighting intensity, posture reminder, human infrared sensing and wireless control of the intelligent lamp are realized through a combination of hardware and software. Desk lamp has the advantages of simple operation, energy saving, sitting posture reminder, automatic dimming and wireless control, etc. Compared with the general traditional desk lamp, it solves the problems of traditional desk lamp control not simple enough, high energy consumption and being easy to cause visual fatigue or myopia; therefore, it has high application value and market value. %K STM32 %K Intelligent Control %K Table Lamp %K Sensor %K Wireless Control %U http://www.oalib.com/paper/6760530