How can I use an Arduino to record the voltage of an RC circuit??


Complete noob here.  I would like to lay a simple RC circuit out on a breadboard, and use the Arduino's analog input to look at how the voltage changes across the capacitor as the capacitor charges.  I've studied the theory -- I know the graphs and the how to calculate theoretical results, but I want to see real data so I can work with my own numbers.  (I have already used the analog input to measure voltage from sensors so I feel as if I have a decent understanding of what is required for that)  Of course I could go buy a voltmeter, but where's the fun of that?  Thank you in advance for any help.

You're short of memory to hold much data, so adding an external memory would be a good thing to do, then you sample the analog in, save the data to memory and send it out through the serial port
txrx7 years ago
You can use the pulseIn() function to determine when a input pin on the arduino goes high.

See http://arduino.cc/en/Reference/PulseIn for more info