Hi,
See my explanation below:
http://www.electronics-freak.com/arduino-capacitor-meter-theory/
Thanks,
Roee
OK
This is working!
See here:
http://www.electronics-freak.com/lesson-14-arduino-capacitor-meter/