I've been having all sorts of problems getting my moisture meter to work reliably. After a lot of mucking around I've finally figured out what is causing the problem, but have no idea how to fix it.
With the gypsum sensor in a bucket of water, or in the air, or buried in the soil in a plant pot it all works perfectly. I'm using OWFS to sense the current, and it varies from roughly -1.4 at 100% wet, up to around -0.13 when 100% dry.
However, if the sensor is buried underground then the current readings fluctuate wildly from second to second. It seems to become completely unstable. It will jump from -1.0 to -0.2 to -0.6 to -0.4 etc all over the place at intervals of just a few seconds. It turns out that I can reproduce the problem easily. With the sensor above ground it works fine, if I then just press it lightly into the damp dirt it goes haywire. I have now found that if I sit the sensor on my workbench I can reproduce the problem by shorting the stainless steel mesh on the sensor to a ground (copper water pipe) and it immediately goes into this erratic mode ... remove the short and it works perfectly again.
For a while I thought the problem might be with OWFS (see discussion at https://sourceforge.net/forum/forum.php?thr...forum_id=292718 )
But now I've discovered this grounding effect I'm back to thinking there must be something odd going on in the hardware.
I guessed that maybe C5 or C6 in the schematic may be shorted, so I've tried a series capacitor in both legs of the sensor (made no difference). Also tried changing the time constant by trying a few resistors 10k/33k/68k in parallel with the sensor (also made no difference).
Any ideas ?
With the gypsum sensor in a bucket of water, or in the air, or buried in the soil in a plant pot it all works perfectly. I'm using OWFS to sense the current, and it varies from roughly -1.4 at 100% wet, up to around -0.13 when 100% dry.
However, if the sensor is buried underground then the current readings fluctuate wildly from second to second. It seems to become completely unstable. It will jump from -1.0 to -0.2 to -0.6 to -0.4 etc all over the place at intervals of just a few seconds. It turns out that I can reproduce the problem easily. With the sensor above ground it works fine, if I then just press it lightly into the damp dirt it goes haywire. I have now found that if I sit the sensor on my workbench I can reproduce the problem by shorting the stainless steel mesh on the sensor to a ground (copper water pipe) and it immediately goes into this erratic mode ... remove the short and it works perfectly again.
For a while I thought the problem might be with OWFS (see discussion at https://sourceforge.net/forum/forum.php?thr...forum_id=292718 )
But now I've discovered this grounding effect I'm back to thinking there must be something odd going on in the hardware.
I guessed that maybe C5 or C6 in the schematic may be shorted, so I've tried a series capacitor in both legs of the sensor (made no difference). Also tried changing the time constant by trying a few resistors 10k/33k/68k in parallel with the sensor (also made no difference).
Any ideas ?