Capacitor Meter Theory for Arduino

Hi, I have an idea how to make this easy. I have made a movie for it, look here: http://www.electronics-freak.com/arduino-capacitor-meter-theory/ Any Comments are welcome Thanks, Roee

Ok, I had a little mistake in my first movie, The mistake is that have to replace where the resistor is connected and where the capacitor is connected. The capacitor should be connected between ANALOG IN to GND and the resistor between ANALOG IN to CONTROL PIN But it is working see my second experiment here: http://www.electronics-freak.com/lesson-14-arduino-capacitor-meter/ Thanks, Roee