To monitor the moisture content of the soil, the soil moisture sensor is frequently used in smart agriculture or other garden automation projects. It has four pins, of which two, labeled Vcc and Gnd, ...