April 29, 2008 : New software available ( Rev 2.0 ) ; Ii includes a procedure and 3 help-programs to assist you adapting the software for your build.
February 2, 2008 : How to control Elmcie with only three pushbuttons GO!
Elmcie is a stand-alone inductance and capacitance measurement device
Its name is a tribute to the original designs/designers
Elmcie is based on Elsie (or Elcie), as showed here:
but it can be found on several other webpages as well.
With thanks to the (unknown) original designer
The second part of Elmcie is based on the capacitance-meter as created by Elm-Chan:
All rights are reserved for the genuine designers
Both methods were merged by me, resulting in the Elmcie design:
Elsie's mechanism (resonance-circuit) is great for small capacitances and inductors,
where Elm-Chan's capacitance meter (based on RC-time-measurement) is more suitable for large capacitors,
especially electrolytes, upto 2200 uF.
Implementation of algorythms are all genuine Plonswerk :-)
This software is published under GNU General Public License (enclosed in the package)
Plons on AVRfreaks.net (Nard Awater), April 29, 2008
If you need to contact me on Elmcie, then do what spambots cannot:
Take the typenumber of the comparator
in the device that is discussed here, then take that
curly symbol as we find in all emailaddresses, and take then the
domain-name you find right now in the address-bar of your browser.
The nicer address elmcie@ etc is absorbed in spambot-universe, so
all that mail goes "linea recta" to the spambox.
Copyright (C) 2007 Nard Awater
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
A copy of the GNU General Public License is posted here and has to
stay with this program; if it cannot be found, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
The complete BascomAVR software package can be downloaded here
The schematics in .png-format:
Left-click to view in full size, Right-click to download in full size
Notes on Elmcie @ rev 5.1 schematics and rev 2.0 Software:
Schematic sheet 1 of 2:
The power for the relay is derived from the 9V supply. If you use a
5V-relais, R1 can be omitted and the 5V can be used instead.
2.Keep the lines between the LM311
inputs and the connector where you connect the DUT to, as short as
possible. The same applies for the Large_C-line.
Schematic sheet 2 of 2:
Use a good capacitor for C1, f.i. a polystyrene like this one
If you can find a silver-mica .... that would be even better
For the inductor L1 the same applies.
A small one like this one
was tested and found to be okay by other users.
My experience with it was not that good, so I used this one in the final build:
3. You may use a 78L05 (the small version) instead of the 7805, but
bear in mind that it will get warm. You can reduce that by powering the
relay form the 9V (as I did), and powering the backlight of the LCD
from the 9V. Be carefull though .... 9V is deadly for the LCD and the
4. Read the notes in the schematic please :-)
you write your own software, or adapt mine, consider to skip the
backlight-boost (PortB.1). Elmcie is a battery powered device, and I
found that one standard setting is sufficient. Doing so frees portB.1 .
You can use it to control the LM311_power from a separate pin. (note
that LM311_power-control and the 3k3 pull-up for Elm are now controlled by one pin )
Software rev 2.0:
6. The ISP-pins are used for the
LCD-data, and omitting the 4k7 resistors R36-38 will cause problem
during ISP. Also note that R9 pulls the E-signal for the LCD low to
7. The quasi RS232 interface in the
upper left corner can be omitted or replaced with a Max232 or alike. In
case your LCD requires a negative bias-voltage, it's recommendable to
8. If you write your own software, read the ELMCIE2_0.rtf . There is quite some information in the comments which you will (or should I say: may ?) find to be usefull.
9. With the release of revision 2.0 I added a procedure that contains
an instruction in .rtf-format, and in total 4 programs. No need to be
alarmed ... it's not that bad :-)
Just unzip it, open 123_Elmcie_Pre-flight_instructions_R1.rtf
If you use ExpressSch as schematic editor, download the schematics in .sch-format
If you wish to change the schematics (allowed & encouraged !!), and do not have the editor yet, you may download it from http://www.expresspcb.com
Here a picture of the prototype of Elsie to test it's use. No relay, but a human operated switch ;-)
Initially it was the plan to expand this board with an LCD and AVR. Until I found TEH HOUSING
And here of the uncased final built during development: note the large pushbuttons :-)
I modelled the vero-board to the shape of the board that was in the housing before I laid my hands on it.
[ I am the Collector of the Family ---- and my relatives know that :-) ]
Using the same pushbuttons from the original housing was the best way to make use of that housing.
Left of the LCD-display: the ISP-cable for the AVR (Atmel ATmega8) that is under the LCD.
Unfortunately I didn't make a picture when the display was not mounted yet ..... sorry .......
The croc's proved to be very convenient in test-phase, so now they are promoted to Elmcie-accessory.
And here the finished product:
I tested Elmcie with the calibrated capacitors & inductor that I received from Ossi .
Quite impressive result for a homebrewed instrument. Download Elmcie accuracy.ods
You need either OpenOffice to read that file, or a recent Excel.
Older Excels do not have importcapabilities for the .ods-format.
I tried to export to a pdf, but the result made me cry :-(
snif snif .....
All data-links one more time, but now bundled:
- BascomAVR software package incl GPL-licence
- Complete schematic in .sch-format
- schematic sht 1 of 2 in .png-format (200dpi)
- schematic sht 2 of 2 in .png-format (200dpi)
- Tips and Notes
- Okay, okay, as a service: Elmcie accuracy in xls-format < not tested for proper output >
Credits & Acknowledgements:
- Elm-Chan: a visit to his website is like a toy-shop for a kid http://elm-chan.org/
- The (unknown) designer of Elsie/Elcie
- Leon_Heller for giving the tip&link to Elsie
- Ossi for his generousity and help by sending me components for calibration
- And my fellow-freaks @ AVRfreaks.net
- Klaus for finding a glitch
- Taras for testing rev 2 and the
procedure; he also sent me a bunch of accurate capacitors to help
Elmcie-builders to get a set of CalCaps
Update February 2, 2008:
I didn't write an operators-manual for Elmcie, so here some guidance:
On schematic sht 2 of 2 is a function-description of the buttons. But not complete indeed.
Refer to this picture:
Elmcie holds two instruments: a capacitance-meter based on ElmChan's design, and an LC-meter based in Elcie (or Elsie)
Since there were only three buttons available, it was necessary to do some tricks to get all necessary functions in.
When Elmcie is Off, Button3 is the ON-button. Once in on-state, it acts as Null-button.
Default it starts up in Elm-mode (reason for that is the lowest power-consumption)
To null it, press button3 again. Instructions are given in the display.
To calibrate Elm, press button2 and button3 simultaneously. Further instructions in the display
Elm-mode is auto-ranging; connect the DUT (Device Under Test) to the Elm-terminals.
To switch to Elcie-mode, press
button1 for inductances, or button2 for capacitance. To Null or Cal:
same as above, and again, instructions in the display.
No need to worry about making
mistakes: the software checks if the validity of your actions. If out
of expected range, it burps and displays the error-message.
Once in Elcie-mode you can switch back to Elm-mode by pressing button1 or button2, depending on where you are in Elcie.
The display informs you (as user) always where you are.
To turn Elmcie OFF, press and hold button1 and 2
All commands are provided with audio-feedback. You'll get used to it as the tones are self-explanatory.
Cheers guys !