What I would like to do is to make the sensor more stable. One of the methods I'm trying is connecting a 100 pF capacitor from the sensor pin to ground.
this method is mentioned in the link above - "Research has shown that a small capacitor (100 pF) or so from sensor pin to ground improves stability and repeatability."
I have a very basic knowledge of circuits and the method seemed pretty straightforward forward but it is not working for me. (the serial port shows -2)
Can someone please help me? maybe by uploading a diagram or something?
(this is my first arduino project and first time uploading a Topic so please be patient with me)
Meaning: the plant influence is effectively suppressed.
I suspect that many effects like soil moisture affect the sensor readings. You also should place the Arduino as close as possible to the plant so that no long wire can act as an antenna for environmental noise.
by Gnd wire into the soil do you mean from the soil to Arduino's ground or to actual ground?
I was planning to eventually ground the plant to the earth somehow but for now, my laptop charger is plugged in which should be enough.
Reliable capacitive sensors use 2 plates where one can be connected to Arduino Gnd. A capacitor may be added in series to prevent current flowing through conductive material between both plates.
Hi, thanks for replying. Could you maybe send a diagram of how to add the capacitor to the circuit? I have tried to simply add a capacitor between the receive pin to the Arduino's ground but the program just returned -2 (time out)
Thanks for replying.
Could you please explain your suggestion?
According to the document the capacitor is supposed to be connected to ground and sensor pin and not between Arduino pin and sensor