Abstract:In the high school general technology course, in order to improve students" ability to design and apply electronic control systems, and to address the problem of relying on manual management to maintain the normal operation of traditional agricultural greenhouses, a set of automatic control systems for agricultural greenhouses is designed based on the open-source electronic platform Arduino and the C language development environment. Real time monitoring of environmental factors (lighting, air temperature and humidity, soil moisture, CO2 concentration) in greenhouses based on the current situation, in order to control supplementary lighting, fans, water pumps, and motors to regulate environmental factors, ultimately achieving an environment suitable for crop growth, improving agricultural production efficiency, and developing smart agriculture.