Science and technology can play a positive role in agricultural production, the most representative of which is the new intelligent system of agricultural greenhouses. The new intelligent agricultural greenhouse system uses automatic control such as the Internet of Things big data to optimize the crop growth environment. This article designed a set of an intelligent agricultural greenhouse control system, the system automatically detects the light intensity, soil humidity, air temperature, and humidity, carbon dioxide value, etc., through single-chip data processing, adjust the execution unit so that the parameters in the greenhouse are always kept under conditions suitable for plant growth. In this paper, the intelligent agricultural greenhouse control program is written in C language. This program collects environmental parameters in the greenhouse through sensors and then judges each value through a single-chip microcomputer. Then it controls the execution unit to keep the environment under conditions suitable for plant growth, and achieve temperature control of ± 2°C, humidity ± 5% RH.