Browse over 10,000 Electronics Projects using the Page Numbering provided at the bottom of each Page.

Autorange Capacitance Meter

Autorange Capacitance Meter

The measuring range is quite large, from 5pF all the way to 2600uF. It is all taken care of by the PIC16F873A inside the circuit.
It is based on a very simple circuit analysis principle of charging and discharging of capacitors in an RC circuit.

The capacitance meter begins by discharging the capacitor fully. Then it charges it and waits until the voltage across the capacitor reaches 0.632Vcc. The time is then captured and the capacitance is computed using Tau = RC. A 16 bit division routine written by Andy Warren is used for this project. The result is then displayed on the LCD. The process will then repeat itself every subsequent 0.255s.

The initial tests on the breadboard indicated some small problems. It appears that even the breadboard itself contains stray capacitance which may greatly affect readings, especially the readings on <100pF ranges.

To correct for this problem, I implemented 2 push buttons that can help calibrate the capacitance meter. Calibration is a simple task of just pushing the buttons until the capacitance reading reads 00000.00pF when there is not capacitors connected. Also, to prevent calibration at every time the meter is used, I also implemented a button to save the calibration settings on the EEPROM of the PIC16F873A. The PIC loads the setting everytime the device gets powered on.

Visit Here for more.