pic inductance meter
blueroomelectronics,
i have built the meter described at
**broken link removed**
using PIC16F84A with good results also.
roykyn,
Mr. Rice has a good explanation on how it works. Basically, a comparator is wired to be a free running oscillator (whose frequency is a function of the capacitor or inductor to be measured).
The PIC software implements a frequency counter. Mr. Rice has the source code on the website. He measures frequency by taking the input on RA4 and configures that pin to increment TIMER0 on the falling edge. He then waits a specific time and uses the change in TIMER0 to determine the frequency, converts it to a capacitor/inductor value, and displays it on the LCD. He has equations for the conversion from frequency to component value (for the oscillator used) on the website as well.
-Jonathan