https://diyprojectslab.com/raspberry-pi-soil-moisture-sensor-tutorial/
Raspberry PI Soil Moisture Sensor Tutorial with Python Script (Schematics, code)