Abstract:Aiming at the special requirements of soil temperature and humidity environment in greenhouse agriculture, vegetation planting, especially breeding, the soil temperature and humidity detector based on STC89C52 single-chip computer was designed, which choose the STC89C52 single-chip microcomputer as the core chip and with related peripheral function modules. The soil temperature and humidity detector uses the temperature and humidity sensor SHT11 to collect the temperature and humidity information of the soil, and transmits the collected information to the STC89C52 single-chip microcomputer, and the single-chip computer analyzes and processes the received signal, and collects the temperature and humidity. The information is sent to the LCD 1602 for display. At the same time, by setting the temperature and humidity thresholds, the over-limit alarm function is realized. Experiments show that the detector has a temperature range of -40 to +123.8 °C, an accuracy error of ±0.4 °C, a humidity range of 0 to 100% RH, and an error of ±3.0% RH. Provide reference for the development of related products. The experimental results show that the soil temperature and humidity detector has high measurement accuracy and high reliability, and which has the advantages of low price, convenient operation, convenient carrying and small volume.