Energy-saving and environmental protection has become the theme of the 21st century. Greenhouse is an energy-intensive industries. Every year, 35% of energy consumption on agricultural production is used for greenhouse heating in the world, which accounts for 15-40% of the cost of greenhouse production. For improving energy efficiency and protecting the environment, the reasonable control of greenhouse environmental parameters is significant. The design of solar greenhouse real-time environment monitoring and automatic control system is based on 8051 single-chip in the thesis. The temperature and humidity signal are obtained from DS18B20 digital temperature sensor and IH3605 humidity sensor. When the greenhouse temperature exceeds the set temperature, the device can be started by perform timely processing, then the user can read LED digital display temperature and humidity values.