摘 要土壤的含水量会极大地影响作物的产量和大部分植物的生长。因此,土壤的湿度对于灌溉计划的安排,水和溶质流的评估以及潜在太阳辐射和显热的划分非常重要。本课题设计的对土壤水分的控制系统,可以用于土壤水分的检测,土壤水分控制以及报警土壤湿度控制系统是用单片机、湿度传感器、模数转换器、显示器、电源、报警器,等构建的。单片机是本系统的控制中枢,湿度传感器通常都是电阻传感器,它的电阻可以随着土壤湿度的变化而变化,使得不同的电压被晶体管放大并进行单片机的处理,然后能够在显示器上显现出来,并且进行控制。如果我们测量的真正的湿度小于设定的湿度时,蜂鸣器和LED能够发出声音和闪光来报警。并且这时候控制继电器可以给土壤浇水。操作人员可以通过按下按钮设置湿度报警值,这个报警值可以连续添加的或者减少。 关键字:STC89C52 单片机,土壤湿度检测,AD转换 IIABSTRACTThe water content of soil will greatly affect the yield of crops and the growth of most plants. Therefore, soil humidity is very important for the arrangement of irrigation plans, the assessment of water and solute flows, and the division of potential solar radiation and sensible heat. The soil moisture control system designed in this topic can be used for soil moisture detection, soil moisture control and alarm. The soil humidity control system is constructed with single chip microcomputer, humidity sensor, analog-to-digital converter, display, power supply, alarm, etc. MCU is the control center of the system. Humidity sensors are usually resistance sensors. Its resistance can change with the change of soil humidity, so that different voltages are amplified by transistors and processed by MCU, and then can be displayed on the display and controlled. If the real humidity we measure is less than the set humidity, the buzzer and LED can sound and flash to alarm. And then the control relay can water the soil. The operator can set the humidity alarm value by pressing...