This research is dedicated to designing an intelligent anti-hail net system using STM32 microcontroller. The system integrates sensing technology and communication modules to monitor various environmental parameters in real time, analyzes the data through the STM32 processor, and realizes real-time intelligent control of the anti-hail network. The system design focuses on the collaboration of hardware and software, taking full advantage of the high performance and low power consumption of the STM32 microcontroller. Through actual tests, the feasibility of the system in improving hail prevention effect, real-time performance and automation was verified, providing reliable guarantee for agricultural production. This research provides a useful reference for the application and promotion of smart agricultural technology.