Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

frequency meter pic led display

Status
Not open for further replies.
pic16f870 lc-meter

the source code posted is compatible with Hi-Tech C compiler.
 

lc meter 16f84

Hello,
Can someone send me the hex file thank you.
Best regards
 

Hi Yus,

I tried build hex but, end up with failure. could you provide the full projects? thanks in advance...
 

hi every body
pl help me. any body .i have req..pic based LCR meter or VOLT METER or AMP. METER or AH METER or WATT METER.
 

LC meter pic16f876A

Hello,
I can compile the source code with Hi-Tech compiler. Anyone who has an EXE File?

Greeting

antonx91
 

I cannot compile the LC meter code for some reason
any suggestions ?

Build E:\Documents\nokia lc meter\nokia lc meter for device 16F876A
Using driver C:\Program Files\HI-TECH Software\PICC\9.70\bin\picc.exe

Make: The target "E:\Documents\nokia lc meter\display.p1" is up to date.
Make: The target "E:\Documents\nokia lc meter\lcd3310.p1" is up to date.
Make: The target "E:\Documents\nokia lc meter\main.p1" is up to date.
Executing: "C:\Program Files\HI-TECH Software\PICC\9.70\bin\picc.exe" "-onokia lc meter.cof" "-mnokia lc meter.map" --summary=default --output=default display.p1 lcd3310.p1 main.p1 --chip=16F876A -P --runtime=default --opt=default -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Licensed for evaluation purposes only.
This licence will expire on Wed, 17 Feb 2010.
HI-TECH C Compiler for PIC10/12/16 MCUs (PRO Mode) V9.70
Copyright (C) 2009 Microchip Technology Inc.
Error [1098] E:\nokia LCD meter\1\lcd3310.h; 27. conflicting declarations for variable "_lcd_gotoxy" (E:\nokia LCD meter\1\display.c:46)
Error [1098] E:\nokia LCD meter\1\lcd3310.c; 143. conflicting declarations for variable "_lcd_send" (E:\nokia LCD meter\1\display.c:47)
Error [1098] E:\nokia LCD meter\1\lcd3310.c; 249. conflicting declarations for variable "_lcd_gotoxy" (E:\nokia LCD meter\1\display.c:46)
Error [1098] E:\nokia LCD meter\1\lcd3310.c; 271. conflicting declarations for variable "_lcd_puts" (E:\nokia LCD meter\1\display.c:64)
Error [1098] E:\nokia LCD meter\1\lcd3310.h; 27. conflicting declarations for variable "_lcd_gotoxy" (E:\nokia LCD meter\1\lcd3310.c:249)
Error [237] E:\nokia LCD meter\1\lcd3310.c; 117. function "_lcd_str_width" redefined
Error [1098] E:\nokia LCD meter\1\lcd3310.c; 143. conflicting declarations for variable "_lcd_send" (E:\nokia LCD meter\1\lcd3310.c:143)
Error [237] E:\nokia LCD meter\1\lcd3310.c; 143. function "_lcd_send" redefined
Error [237] E:\nokia LCD meter\1\lcd3310.c; 170. function "_lcd_init" redefined
Error [237] E:\nokia LCD meter\1\lcd3310.c; 227. function "_lcd_test" redefined
Error [237] E:\nokia LCD meter\1\lcd3310.c; 238. function "_lcd_clear" redefined
Advisory[1] too many errors (11)
 

You are the best ,Yus
(smart guy)
Thanks for the HEX and the MPLAB data ,
I am getting the parts from Ebay ...
:)

Added after 4 minutes:

As expected from Yus
Code compile perfectly :

Build C:\Users\Tekno\Desktop\Nokia\LC meter for device 16F876A
Using driver C:\Program Files\HI-TECH Software\PICC\9.70\bin\picc.exe

Make: The target "C:\Users\Tekno\Desktop\Nokia\main.p1" is out of date.
Executing: "C:\Program Files\HI-TECH Software\PICC\9.70\bin\picc.exe" --pass1 C:\Users\Tekno\Desktop\Nokia\main.c -q --chip=16F876A -P --runtime=default --opt=default -D__DEBUG=1 -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Make: The target "C:\Users\Tekno\Desktop\Nokia\lcd3310.p1" is out of date.
Executing: "C:\Program Files\HI-TECH Software\PICC\9.70\bin\picc.exe" --pass1 C:\Users\Tekno\Desktop\Nokia\lcd3310.c -q --chip=16F876A -P --runtime=default --opt=default -D__DEBUG=1 -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Make: The target "C:\Users\Tekno\Desktop\Nokia\display.p1" is out of date.
Executing: "C:\Program Files\HI-TECH Software\PICC\9.70\bin\picc.exe" --pass1 C:\Users\Tekno\Desktop\Nokia\display.c -q --chip=16F876A -P --runtime=default --opt=default -D__DEBUG=1 -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Executing: "C:\Program Files\HI-TECH Software\PICC\9.70\bin\picc.exe" "-oLC meter.cof" "-mLC meter.map" --summary=default --output=default main.p1 lcd3310.p1 display.p1 --chip=16F876A -P --runtime=default --opt=default -D__DEBUG=1 -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Licensed for evaluation purposes only.
This licence will expire on Wed, 17 Feb 2010.
HI-TECH C Compiler for PIC10/12/16 MCUs (PRO Mode) V9.70
Copyright (C) 2009 Microchip Technology Inc.
Warning [1352] C:\Users\Tekno\Desktop\Nokia\display.c; 1167. truncation of operand value (0x100) to 8 bits

Memory Summary:
Program space used 1146h ( 4422) of 2000h words ( 54.0%)
Data space used 63h ( 99) of 170h bytes ( 26.9%)
EEPROM space used 0h ( 0) of 100h bytes ( 0.0%)
Configuration bits used 1h ( 1) of 1h word (100.0%)
ID Location space used 0h ( 0) of 4h bytes ( 0.0%)

Loaded C:\Users\Tekno\Desktop\Nokia\LC meter.cof.

********** Build successful! **********

Added after 9 minutes:

I also can recommend using any 2 diodes in series like the 1N4148 from the 5.5v rail forward biased into pin 1 of the 3310 display 5.5V-0.7V-0.7V= 3.6V

Added after 1 hours 58 minutes:

For the hobbyist who has money (rare) Silver mica capacitors are the best for CCAL
Part number CD15FA102EO3 - Silver Mica Capacitor
* Silver Mica Capacitor
* Capacitance:1000pF
* Capacitance Tolerance:± 0.5pF (that is accurate to 125 degrees!)
* Voltage Rating:100V
* Series:CD15
* Capacitor Dielectric Type:Mica
* Lead Spacing:5.9mm
* Leaded Process Compatible:No
* Operating Temp. Max:125°C
* RoHS Compliant: No
sold in newark:
Price for 1: $7.14
 


Ruslan_Windrivers said:
The project is being discussed in Russian, but you can ask your questions in English and you'll receive reply in English. From me, for example. :D
vsmGuy guy knows about that project already ;-)

I can attest to Ruslan being a *very* good resource. He's extremely helpful and has contributed a lot of work into that design.

I admire his experience and knowledge as well!

Unfortunately, the source code is not available for the project - only the .hex files.

This makes the project useful only for people who blindly want to make clones :-(
 

Re: LC meter pic led display

decided I need one,but will make my own,so...
in those LC meter kits can anyone say what type of capacitor is used for the
oscillator calibrated value, the 1000pf usually.

would this be suitable:CAP POLYPROPYLENE .0016UF 50V 1%
Digi-Key Part Number P3829-ND

or
CAP CERM 1000PF 1% 50V NP0 0805
Digi-Key Part Number 478-3759-1-ND

this reads good for the npo type
C0G (NP0) ceramics offer one of the most stable capacitor
dielectrics available. Capacitance change with temperature
is 0 ±30ppm/°C which is less than ±0.3% C from -55°C
to +125°C. Capacitance drift or hysteresis for C0G (NP0)
ceramics is negligible at less than ±0.05% versus up to
±2% for films. Typical capacitance change with life is less
than ±0.1% for C0G (NP0), one-fifth that shown by most
other dielectrics. C0G (NP0) formulations show no aging
characteristics.


they are the only 1% can find at digikey.
Anyone know of a better selection ?

Also, an inductor of 1%

INDUCTOR THIN FILM 68.0NH 0603
Digi-Key Part Number 535-10421-1-ND

very small inductance for 1%.

However, I think can choose any inductor close to 68-80uH, and calibrate it against
the more exact capacitor, and then use that value in the calculation. So maybe inductor
accuracy not so important here?

But still want an inductor with low thermal drift I should think?.....so choose minimum dc resistance ?
so ?
8F680J-RC CHOKE CONFORMAL COATED 68UH 78F JW Miller A Bourns Company 68µH 185mA - - Ferrite Core ±5% - 3.300 Ohm Max 60 @ 2.5MHz 6.5MHz Axial Through Hole
$0.30

good choice ?
 
Last edited:

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top