I'm trying to prepare for an exam next week (the hints indicate that it will be a very basic measurement with the arduino, involve a capacitor and some curve fitting in excel: So the only scenario coming to my mind is smth like measuring the discharge voltage of a given capacitor and creating the exponential curve in excel.
My problem is: I don't even know how I would do that and as I don't own an arduino, I cannot even experiment My first thought: I charge the capacitor with the 5V power and the GND or a battery. Then I would connect the capacitor to the GND and analog input 0 and read the sensors value with analogRead to an array.
Then I would probably get something like 0,0,0,...,0,500, 300, 150, 100, 50, 20,10, 5..... which I copy paste to excel.
Will this even work?
What other things could be measured with an arduino and a capacitor? The capacity? We only covered the very very basics and never did more than reading some data to an array, we do not know how to solve differential equations etc., so it must be a really simple project. any ideas?