Abstract:Aiming at the environmental adaptive control requirements of DC motors in application fields such as smart homes and smart agriculture, a DC motor control system based on the environmental adaptive control of the microcontroller system (AT89C51) is designed. The system consists of a DC motor control system consisting of a limit switch, a reset button module, a wireless remote control module, a water drop sensor module, a DC motor control module, a buzzer alarm module, a light detection module and a single-chip microcomputer minimum system module. Two types of DC motor control modes can be realized. One is to adaptively control the forward/reverse of the DC motor according to environmental factors such as light intensity and raindrops, and the other is to manually control the forward/reverse of the DC motor by using the button function module. After testing, When the perceptual amplitude value of the ambient light intensity changes between (10lx, 600lx), the control system can realize the automatic control or manual control of the DC motor according to the set value. At the same time, through the water drop sensor module, the presence and size of raindrops are judged to realize automatic control or manual control of the DC motor. It is found that the environment-adaptive control DC motor control system has the advantages of good response characteristics, high reliability, and reasonable cost, and can be widely used in fields such as smart homes and smart agriculture.