Archive for 05 Dec 2011

Capacitance meter (Part 3)

Part 1, 2, 3, 4 Let’s talk about the code for a while. Here is the sequence of commands that we will execute: Charge capacitor Start discharge cycle Acquire scanned data Compute time constant Compute Capacitance Format and print result Wait for completion of discharge cycle Loop back The tirikiest part of the code is probably the calculation part […]