With the increasing awareness of environmental protection and the continuous promotion of urbanization,agriculture is facing severe water resource problems,and the protection of the ecological environment and the rational utilization of land resources have become increasingly important.This design mainly uses the AT89C52 microcontroller as the main control chip,responsible for receiving and processing real-time monitoring data from the humidity sensor YL-69,and controlling the switch of the water pump according to the preset threshold to perform irrigation operations.The corresponding humidity data will be displayed in real-time on the LCD1602 display screen.The system also features four buttons,including reset,add,subtract,and set,to facilitate user parameter settings and system operations.In addition,the system also has a warning function.When the environmental parameters are not within the set range,it will automatically alarm and generate corresponding operations or remind users to take action.Automatic pumping irrigation system is a new type of irrigation method that is efficient,resource saving,reduces labor input,and lowers costs.It has certain practical value for agricultural automation and large-scale agricultural production in China.