STM32-Based Light-Sensing Infrared Smart Classroom Lighting
摘要
Compared with traditional incandescent lamps, LED lighting offers multiple advantages, such as energy efficiency and extended lifespan, leading to its widespread adoption in illumination systems. However, due to the high foot traffic and significant variations in usage duration and occupancy levels within classroom environments, rational light resource regulation becomes crucial for further reducing energy consumption. To address this, this paper designs an intelligent classroom lighting system centered on the STM32F103 controller. The system intelligently regulates the number of LED lights and illumination intensity based on detection signals from photosensitive and infrared sensors, combined with PWM voltage modulation technology. Additionally, different dimming strategies, such as Basic Energy-Saving Mode and Meeting Mode, can be configured via buttons to minimize energy consumption, providing technical support for achieving the dual carbon strategy.