Measuring Inductance

I found a method to measure inductance using Arduino, using a circuit and code found here:

The results from serial monitor are not consistent, as observed in the attached jpg.

I have adjusted the timeout on pulseIn() from 5000 to 10000 and increased the delayMicroseconds() right before pulseIn() to a larger value ~500uS but the result is still an inconsistent value.

Should I expect consistent mesurements of inductance from this circuit?

Bad circuit I'm afraid, the LM339 cannot tolerate negative voltages on its inputs.

I'd start with this circuit.

Inductance Resolution: 10nH
Capacitance Resolution: 0.1pF

LC Meter's Inductance Measurement Ranges:

  • 10nH - 1000nH
  • 1uH - 1000uH
  • 1mH - 100mH

LC Meter's Capacitance Measurement Ranges:

  • 0.1pF - 1000pF
  • 1nF - 900nF

http://electronics-diy.com/lc_meter.php