At present, modern smart home is increasingly favored by people, and the functions of intelligent desk lamps become diversified with the demand updating. In the process of using desk lamps, poor sitting posture or overuse of eyes may cause vision loss and physical pain. Therefore, it is of great theoretical significance and practical value to actively explore and develop an intelligent desk lamp with low cost and functions of automatic dimming, sitting posture correction, reminder of rest, energy conservation and environmental protection. In the intelligent desk lamp designed in this paper, STC89C51 microcontroller is used as the core controller, BH1750 light sensor module is used to detect the current ambient light intensity, and the pulse width modulation (PWM) technology is used to control the brightness of the desk lamp for TB6612 motor drive. The infrared probe module is used for personnel detection. When the infrared probe module detects that someone is approaching, the desk lamp will be automatically turned on through the relay module. When no one is detected, the microcontroller controls the relay to automatically turn off the desk lamp and power off. The intelligent desk lamp is very convenient to use. It can not only save electric energy effectively, but also solve the problem of touching the lamp in the dark and the potential safety hazard for people by automatically switching on and off the lamp. It has good application value and market prospects.
As a new product in the field of service robots, the sweeping robot has made some achievements, but there are still many key technical problems to be solved or improved. This paper focuses on the precise obstacle avoidance and highly sensitive execution of the sweeping robot, and designs a sweeping robot based on STM32 microcontroller. The infrared ranging and ultrasonic ranging are combined to achieve accurate data acquisition. When the measurement distance is relatively close, infrared ranging is used. Otherwise, the ultrasonic distance measurement is adopted. In addition, PID algorithm is used to speed up the response of the system, and the motion state of the sweeping robot is adjusted through prediction data to ensure the accuracy of STM32 execution. It provides reference for the development of sweeping robot industry.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.