Abstract:In view of the demand of high quality life and the application of the existing desk lamp can’t meet the requirements of intelligent home, the design and production of a realtime operating system based on the STM32 multifunction intelligent desk lamp. This design is based on STMicroelectronics CotexM3 core microcontroller STM32 as the main controller, the hardware circuit and write the corresponding software program to achieve intelligent lamp light regulation, Bluetooth short distance communication, humancomputer interaction, measuring room temperature display function, realtime control sensor, makes the lamp control more convenient, more intelligent. The experiments show that the design of the intelligent desk lamp using STM32 to the table lamp system for multi task management, enhance the stability of the system, improve the system′s realtime performance.