Digital LC Meter Version 2

An "improved" inductance / capacitance meter by Phil Rice VK3BHR

Actually, it works much the same as the original.

This version was modified to become a club project for the Midland Amateur Radio Club - http://www.marc.org.au

It differs from the original in that:


The Circuit

Special Components.

No particularly accurate components are required, except for one (or more) accurately known "external" capacitors used to calibrate the meter.

PC Board

Board artwork, "ready for ironing on"

Board component layout & and better copy of Circuit diagram

Alternative Board artwork by Peter ZL2VK

The Code

Source code, excluding floating point +-/*

Assembled Hex code (complete, ready to work!)

Alternative Assembled Hex code (also complete, ready to work!)
For displays that show only 8 characters using the other hex file.

Calibration Instructions.

Visit http://www.marc.org.au

Click on the link to LC Meter on the left side of the page (Under the Projects heading).

Here's a copy of it all anyway.

  1. Check that you have put all the components in the right places.

  2. Check that you have soldered every lead.

  3. Double check the PIC orientation, the diode and the 7805.

  4. Don't forget - the PIC (as purchased) isn't programmed. You gotta load the LC Meter code into it before it will work.

  5. Apply power carefully. If possible, use a variable regulated supply for the first try. Measure the supply current while gradually increasing the voltage. The current should be below 20mA. The prototype drew just 8mA. If you see nothing on the display and everything else checks out OK, try adjusting the Contrast trimpot. If it is set too far off, you will see nothing. The display should briefly show the word Calibrating, then C=0.0pF (or some other capacitance up to +/- 10pF ).

  6. Allow several minutes "warm-up", then press the "zero" button to force a re-calibration. The display should now show C=0.0pF.

  7. Connect your "standard" capacitor. The LC meter should read somewhere near its value (with up to +/- 10% error).

  8. To raise the indicated capacitance, join the links marked "4" on the diagram below. To lower the indicated capacitance, join the links marked "3" on the diagram below. When the indicated value is "close enough" to the standard, remove the link. The PIC will remember the calibration. You can repeat this as many times as you like (up to 10,000,000 times I think before you wear out the PIC).

  9. If the meter misbehaves, you can use the links "1" & "2" to check the oscillator frequency. Apply link "2" to check the free running frequency "F1" of the oscillator. This should be shown as 00050000 +/- 10%. If this reading is too high (near 00065535), the meter may go into "numerical overflow" and give you an error message. If the reading is too low (say below 00040000), you will lose some accuracy. Apply link "1" to check the "calibration" frequency "F2". This should be near 71% +/- 5% of the "F1" reading that you get by applying link "2".

  10. Experts may like to adjust the inductor value to raise F1 to near 00060000 to obtain maximum resolution from the meter. An "L" value of 82uH is preferred instead of the specified 100uH (but you can't buy 82uH inductors in Bendigo).

  11. If the meter shows near 00000000 for F1 and or F2, then recheck the wiring around the L/C switch, 'cos it sounds like your oscillator has stopped.

  12. The Inductance measuring function is automatically calibrated when you calibrate the capacitance function. All the testing required is to check that the meter can be "zeroed" with the terminals shorted together.

Test Links
  1. Check F2

  2. Check F1

  3. Lower C

  4. Raise C

HELP! It doesn't work.

There is now a "faq". Click this link.

I will add answers as problems arise (as they are bound to do ;-).

Front Panel Artwork by Peter ZL2VK

Click here!