After the completion of the process of industrialization in the world, a large number of electrified equipment appeared, people's daily life is also more and more dependent on electricity security, electricity consumption has risen sharply. At present, various lights driven by electricity play a crucial role in our daily life, which is also the main cause of electricity consumption. We often notice that even when the room is empty, or during the day, the lights are still on, which is a waste of electricity. The waste of power resources caused by traditional lighting equipment cannot be ignored. Therefore, intelligent home furnishing equipment is the favored object of people. So here for a kind of indoor lighting control system is designed, in order to meet the lighting needs on the basis of more humane, more importantly, can save power resources. With the rapid application of automation in daily life and the continuous development of computer technology, lighting control has become increasingly intelligent and automated. The control function of the system is realized by the STM32F103 chip, the illumination is automatically detected by the BH1750 module, and the time parameters are recorded and fed back by the DS3231 clock module. The infrared reflection sensor is used to detect whether there are people in the room. When there is no one, the light will be automatically turned off to save energy. If there are people, when the ambient light intensity is lower than the set value, the light will be automatically turned on to ensure the comfort of the ambient brightness. And can use OLED module real-time display indoor light intensity, number of people and working time. This indoor lighting control system can not only automatically turn on the light according to the environment, but also detect whether there is a human body in the current environment and turn on or off the light by itself, which has more practical significance.