Soil Moisture Sensor - Module

Both variants of soil moisture sensor will give you an analog reading based upon the relative dampness of the soil in which they are placed. For longer-term monitoring, the capacitive sensor type is a better option, as the contacts on the conductive sensor will tend to corrode when left in wet conditions for prolonged periods of time.