soil moisture sensor working principle and calibrationPosted by Binda on February 18th, 2021 The soil moisture sensor is composed of a humidity detection circuit and sound alarm circuit. RP1 is the preset point for the lower limit of humidity, and RP2 is the preset point for the upper limit of humidity. When the humidity in the soil is between the preset upper and lower humidity limits since the soil resistance between probe "a" and "h" is within the specified range, the potential at point "c" is lower than the sliding end potential of the RPI (comparator non-inverting input), So the comparator "I" output a high level, red does not emit light; the wiper potential of RP2 is lower than the potential at point "c", then the comparator II outputs a high level, and green does not emit light. If the soil humidity reaches or exceeds the upper limit humidity set by RP2, the resistance between the ab probes becomes smaller, and the probe partial pressure decreases, and the potential of the non-inverting input terminal (point c) of the comparator II is lower than the potential of the inverting terminal of the comparator. (RP2 sliding terminal potential), the comparator II inverts and outputs a low level, green glows, and SS8550II turns on the buzzer to sound, indicating that the soil moisture is too high. If the dry soil reaches or exceeds the lower limit humidity set by RP1, the resistance between probes "a" and "b" will increase, and the probe partial pressure will increase higher than the voltage at the non-inverting terminal of comparator I (RP1 sliding terminal potential), and comparator I will output a low voltage. Level, red light, and SS8550I turn on the buzzer to sound, indicating that the soil moisture is too low. The buzzer design is convenient for the user to set the alarm point. When the setting is completed, the power button SP can be disconnected, and the lower computer will report the error. The sensor probes "a" and "b" are made of two stainless steel rods with a length of 160 mm and a diameter of 5 mm, which are 55 mm apart. Simply speaking, the working principle of the soil moisture sensor is to determine the level of soil moisture by measuring the resistance between two electrodes. Soil is used as a conductive medium between the electrodes. Low water content results in poor conductivity and high resistance value; high water content results in strong conductivity and low resistance value. Through this reverse correspondence, the approximate detection of soil moisture content can be achieved. Many makers use soil moisture sensors to build soil moisture sensors. The calibration process of the soil moisture sensor probe is: 2. Carry out soil moisture debugging, take two soil samples suitable for greenhouse seedlings, one for the upper limit humidity (that is, the maximum soil humidity suitable for greenhouse seedlings), and one for the lower limit of humidity (that is, the lowest soil humidity suitable for greenhouse seedlings). Insert the probe into the upper limit soil and adjust RP2 so that green just lights up and the buzzer just sounds; then insert the probe into the lower limit soil and adjust RP1 so that red just lights up and the buzzer just sounds. 3. Connect the alarm output terminals ALARM1 and ALARM2 of the soil moisture detector to the P1 port of the lower computer. When the lower computer is powered on and reset, the P1 port is high. When the soil humidity is too high or too low, the soil humidity detector ALARM1 or ALARM2 The terminal outputs a low level, and the lower computer scans the level status of the P1 port regularly, assigns the corresponding status word, and enters the sub-processing program.
Using the hardware control circuit of the soil moisture sensor, the soil moisture sensor buried in the root of the crop monitors the moisture of the root-soil. The sensor transmits the "humidity too high" and "humidity too low" signals to the main controller through the encoder through the detection circuit. The main controller determines the control state.
Like it? Share it!More by this author |