Technical description:
The SparkFun Soil Moisture Sensor is a simple breakout for measuring the moisture in soil and similar materials. The soil moisture sensor is pretty straightforward to use. The two large, exposed pads function as probes for the sensor, together acting as a variable resistor. The more water that is in the soil means the better the conductivity between the pads will be, resulting in lower resistance and a higher SIG out. This version of the Soil Moisture Sensor includes a 3-pin screw pin terminal pre-soldered to the board for easy wiring and setup.
Limitations:
It has a short lifespan when exposed to a moist environment. To prevent corrosion of the probes, it is recommended not to power the sensor constantly, and to only power it when you take a reading.
Skill:
Core Skill: Programming
Skill Level: Rookie
All you will need is to connect the VCC and GND pins to your Arduino-based device (or compatible development board). You will receive a SIG out, which will depend on the amount of water in the soil.
Sample Sensor:
SparkFun Soil Moisture Sensor (with Screw Terminals)
https://www.sparkfun.com/products/13637
Sample Exercise and basic codes:
Soil Moisture Sensing Project
https://learn.sparkfun.com/tutorials/soil-moisture-sensor-hookup-guide?_ga=2.171976806.434451597.1551129096-109088928.1551129095&_gac=1.174720406.1551129096.EAIaIQobChMInZT4kubX4AIVmI3ICh3h3AdNEAAYASAAEgJgtvD_BwE#soil-moisture-sensing-project
Eagle file
https://cdn.sparkfun.com/datasheets/Sensors/Biometric/SparkFun_Soil_Moisture_Sensor.pdf