Soil Moisture Sensor with Arduino

How to use a soil moisture sensor with Arduino to detect water content in soil