不用湿度传感器K根据湿度的变化输入给单片机一个信号K单片机根据信号电平的高低输出控制信号K控制电磁阈的断通K以决定是否给土壤喷水K从而实现对土壤湿度的控制L 关键词P单片机M湿度MA T 89C2051M控制 AbstractPA sign is impo rted to the 89C2051 no t u sing hum idity sen so r. The single ch ip m icro2 compu ter ou tpu t s a con t ro lling signal acco rding to the level of it s po ten t ial to con t ro lw hether to tu rn on o r off of the th resho ld K and then to decide w hether to give the so il w ater Mand so the au to con t ro l of the so il’s hum idity com es t rue. Key wordsPsingle ch ip m icrocompu terMhum idi2 tyMA T 89C2051Mcon t ro l