Design of Intelligent Table Lamp Based on STC89C52 Single Chip MicrocomputerAbstract: Table lamp is one of the commonly used household appliances. Nowadays, basically every family has more than one table lamp. The traditional desk lamp is a touch switch button, and performs a brightness. When the light intensity is dark at night, the brightness cannot be adjusted, and it is easy for human eyes to damage their eyes if they work in this light mode for a long time.With the progress of science and technology, the desk lamp has changed from key-type switch to touch-screen type, and the desk lamp has changed from one brightness to multiple brightness modes. In order to facilitate parents to help their children learn remotely, intelligent desk lamps based on network mode have appeared. The appearance of the desk lamp is no longer a single base and supporting rod type, but more varieties and styles appear, which are in line with the public's aesthetics. Although there are many functions of desk lamps in the market, their basic modes all follow the principle of adjustable brightness. Based on this principle, this paper increases the human body sensing function and discusses the principle of intelligent desk lamps in detail.This design takes intelligent desk lamp as the subject to conduct research and discussion. Taking STC89C52RC microcontroller as the core processor, this paper introduces an intelligent desk lamp based on PWM dimming. For the convenience of system control, the system is set to two working modes: automatic and manual. In the automatic mode, the photosensitive resistance sensor is used as the light intensity detector, and when the ambient light is strong, the table lamp is controlled to go out, whereas the table lamp becomes brighter and brighter. In order to improve the practicability of the table lamp, the brightness of the table lamp is set to 10 levels, and the output voltage is adjusted by adjusting the duty cycle of PWM, so as to finally achieve the purpose of adjusting the brightness of the table lamp. At the same time, in order to save electric energy, a human body infrared sensor is added to the system, which detects that the surrounding light goes out for 1 minute and turns on the desk lamp again when someone passes by. In the manual mode, the photosensitive resistance sensor is temporarily dormant, and the brightness of the desk lamp is directly controlled by the key. This paper realizes the design of intelligent desk lamp. The system is small and convenient, convenient for daily use and maintenance.Keywords: single chip microcomputer; Table lamp; PWM; Human infrared senso
正在翻译中..