Inductor & Capacitor Meter (LCMeter)
History
Here is my new inductance & capacitance meter. I had took the analog oscillator part from a well know schematic found on the internet and adapt it for a AVR. It's impressive to have a very accurate result with a so small circuit. The way it's work is simple you chance a oscillator frequency with the part you want to find is value.
The frequency is read and with some math you get the value. Here is how it's work, At power-up you read the oscillator frequency without any thing connected to you probe, we will call this value f1. After the calibration process via a relay put a very accurate capacitor of 1000pF, you read this new frequency f2. When the calibration is done you can place your unknown part value and read the frequency f3. Now we go in math…
For capacitor:
a = ((f1/f3)^2)-1
b = ((f1/f2)^2)-1
result = (a / b) * 0.001
For Inductor:
a = ((f1/f3)^2)-1
b = ((f1/f2)^2)-1
c = 1000000000
d = (1/(2*pi*f1))^2
result = a * b * c * d
result = result * 1000000
Features
- Inexpensive
- High acuarity
- Auto scale
- Auto calibration
- Can be use as a frequency meter with only small modification
- Measure capacitance and inductance
Pictures
Download
71 Comments to “Inductor & Capacitor Meter (LCMeter)”
Post comment
Please note
Categories
- All projects
- Audio
- Clock
- Electric Train
- Gadjet
- General Posting
- Laser
- Lastes News
- LED
- Library
- Sensor
- Software
- Work Bench Tools

admin
.jpg)
All my source codes were taken from my personal projects.
I use your HEX from your project it names "LCMERTER.hex". The hardware is the same as yourth. 1000pF capasitors pick up with multimeter. As I understand from comments when reley are power down they connects with uper pins at the schematics?
Maybe you have some new version of compilated file? To program ATmega32 I use AVRStudio5.
You have the last version, the relay when NOT energised is UP
Sylvain
Try to chek another places. When find out the problem I wrote to you, maybe it would be interesting to you. Thanks for help!
Hello, I'm trying to understand your project here, and want to give some advice. It is very nice project though.
It is good that if you can create a readme file and write some information about those files (*.c, *.prj, *.hex, etc). Please delete unused files, I almost lost track between source code and schematic hence i don't use ICC-AVR. At a glance i can not know which is really the main c file in this project, there are LCMeter32.c, LCMeter32_1.c, LCMeter32_Final.c.
I think the latest source code is LCMeter32_Final.c, is this correct? assumpting "Final" in the filename, and understanding the code inside, comparing math calculations involved between theory and source code).
– in line 97 of file LCMeter32_Final.c
#define SWITCH_BIT (1<<PB7)
i think it should be
#define SWITCH_BIT (1<<PC7)
although when compiled it will generate same hex code (PB7 and PC7 defined same bit value, 7), but some of learning newbies can be confused, because in the schematic there is a connector (J3) connected to PC7, and there is no any usage of PC7 in the code. After some reading, I can understand it is used to select between measurement of Capacitor or Inductor, CMIIW.
in line 102 and 103,
#define RELAY_BIT (1<<PB3)
#define CAP_REF (1<<PB7)
i also think these should be
#define RELAY_BIT (1<<PD3)
#define CAP_REF (1<<PD7)
Sorry for being critical, it is just because i really want to understand this whole project, not just doing copy paste.
If you had time please update your source code and upload it again.
Thanks for sharing this great project.
What are the limits of measurement?
1uh to 1000mh
10pf to 1uf (non electronitic)
Sylvain same Problem is happenning as Vlad to me also,I have programmed LCMERTER.HEX without compiling and the display starts to read the Capacitance from 100pf to 1 nF on the Display and when in Inductance mode it displays XXX on it I made the pcbs from PDF file and did'nt bothered to compile it with ICC AVR either
Send me your email address in private and I will send you the hex file
Sylvain
LCD 16×1 or 16×2 ?
16×2
Can you tell me what is the use of USART In this project?
It’s not use as a uart, I use it for a timer, because all the “real” timer are in use
[...] Inductor & Capacitor Meter (LCMeter) « MicroSyl | MCU Electronics projects. Related Posts:Bench Power Supply 0-25v @ 0-5ampMagnificent RGB LED VU meter controlled via USB [...]
Code and Schematic is not compatible !!
Could you give more detail???
The box seems an old Keitley DMM box
Right on !!!
Thank you for your wonderful tutorial about the LC tester. I am a little bit confused about some of the parts on the schematic. Could you please email me the part lists? And if you don't mind, I'll ask more question in the private email.
Thank you
Hi
I don’t have part list but you can email me at :b i b i at microsyl.com (remove the space and replace at fo @
Sylvain
Hi Silvian
I have programmed LCMERTER.HEX without compiling and the display workt as 20 x 2 ! Have you HEX file for LCD 16 x 2? My email is evgenyknoll@live.de
Thanks for sharing this great project.
No