I want to make my own "automated garden".
I tried first to measure te humidity of the soil with a resistive divider network (where one of the resistors are two copper wires inserted in the ground). Less water in it should give a higher resistance.
With the 10 bit ADC, i got readings about 450 before i gave water to my PUT (Plant Under Test)
. After giving water i got readings of 810 but after 3 days the ADC gave me results of about 800 while the soil was really dry.
Next i tried a concept based on a galvanic cell. I replaced one of the copper wires with a galvanized steel nail. (and removed the pullup resistor). Substances in the soil generate electricity when dissolved in water. When the amount of water decreases in the soil, this voltage should drop....
A first test generated about 1.1V. I ran two tests each spanning more than 8 hours. I gave the PUT water and started logging the measurement. (applied a moving-average filter). A few hours have passed after the first test before i started the second test (without the moving average filter).
I think i can't rely on one of both sensors, so if anyone has experience with this topic on sensors. You could help me a lot.