| Author |
Message |
Fragrance
Joined: 26 Jul 2002 Posts: 1309 Helped: 23
|
18 Jan 2008 6:18 Is there is big diffrence between 16f628 and 16f628a |
|
|
|
Hi
I was doing a project from epe called lcf meter I faced a strange problem when I used 16f628a the code does not work as it should but when the same code program in 16f628 it’s work fine with out any problem.
Is there is major change should made with code to work on 16f628 what I did just change the processor during compiling from 16f628 to 16f628a during compile there is no error in any way but code not work looking forward for some good info as microchip no more make 16f628 they are marketing 16f628a
regards
Fragrance
|
|
| Back to top |
|
 |
blueroomelectronics
Joined: 17 Sep 2006 Posts: 1190 Helped: 58 Location: Toronto, Canada
|
18 Jan 2008 6:40 Is there is big diffrence between 16f628 and 16f628a |
|
|
|
Almost always a PIC with an A revision may have minor changes, check the errata sheet on Microchips site. Most likely a new programming method so make sure you programmer supports the 16F628A
http://ww1.microchip.com/downloads/en/DeviceDoc/80074c.pdf
|
|
| Back to top |
|
 |
manish12
Joined: 21 Nov 2006 Posts: 932 Helped: 26
|
18 Jan 2008 7:52 Re: Is there is big diffrence between 16f628 and 16f628a |
|
|
|
| Quote: |
| I was doing a project from epe called lcf meter I faced a strange problem when I used 16f628a the code does not work as it should but when the same code program in 16f628 it’s work fine with out any problem. |
i was made it but , using "a" version , but i am not check it complete, but it showes lcf .... epe etc on lcd .
but i notice it was hang , after some time , malfunction .
it means it wasn't work properly ?
|
|
| Back to top |
|
 |
blueroomelectronics
Joined: 17 Sep 2006 Posts: 1190 Helped: 58 Location: Toronto, Canada
|
18 Jan 2008 8:01 Re: Is there is big diffrence between 16f628 and 16f628a |
|
|
|
| manish12 wrote: |
i was made it but , using "a" version , but i am not check it complete, but it showes lcf .... epe etc on lcd .
but i notice it was hang , after some time , malfunction .
it means it wasn't work properly ? |
I've made an LC meter using the 16F628A and it works fine.
|
|
| Back to top |
|
 |
manish12
Joined: 21 Nov 2006 Posts: 932 Helped: 26
|
18 Jan 2008 8:11 Re: Is there is big diffrence between 16f628 and 16f628a |
|
|
|
i will reopen it and check it compelety then , report it here.
ok
thank you .
|
|
| Back to top |
|
 |
Fragrance
Joined: 26 Jul 2002 Posts: 1309 Helped: 23
|
18 Jan 2008 11:49 Re: Is there is big diffrence between 16f628 and 16f628a |
|
|
|
| blueroomelectronics wrote: |
| manish12 wrote: |
i was made it but , using "a" version , but i am not check it complete, but it showes lcf .... epe etc on lcd .
but i notice it was hang , after some time , malfunction .
it means it wasn't work properly ? |
I've made an LC meter using the 16F628A and it works fine. |
DID YOU MADE EPE LCF METER ON 16F628A
|
|
| Back to top |
|
 |
manish12
Joined: 21 Nov 2006 Posts: 932 Helped: 26
|
18 Jan 2008 13:24 Re: Is there is big diffrence between 16f628 and 16f628a |
|
|
|
| yes , i was made it . and it is kept in my store area(not happy with the performs ).
|
|
| Back to top |
|
 |
blueroomelectronics
Joined: 17 Sep 2006 Posts: 1190 Helped: 58 Location: Toronto, Canada
|
18 Jan 2008 18:04 Is there is big diffrence between 16f628 and 16f628a |
|
|
|
| Mine works great, if you build it right it's a very accurate LC meter.
|
|
| Back to top |
|
 |
pasicr
Joined: 13 Aug 2005 Posts: 259 Helped: 7
|
19 Jan 2008 2:54 Re: Is there is big diffrence between 16f628 and 16f628a |
|
|
|
Please upload sch and hex files for this LC meter,
regards
|
|
| Back to top |
|
 |
blueroomelectronics
Joined: 17 Sep 2006 Posts: 1190 Helped: 58 Location: Toronto, Canada
|
|
| Back to top |
|
 |
manish12
Joined: 21 Nov 2006 Posts: 932 Helped: 26
|
19 Jan 2008 8:30 Re: Is there is big diffrence between 16f628 and 16f628a |
|
|
|
it is not that what i was made (epe LCF).
but this ckt not showing freq in = ?
|
|
| Back to top |
|
 |
blueroomelectronics
Joined: 17 Sep 2006 Posts: 1190 Helped: 58 Location: Toronto, Canada
|
19 Jan 2008 8:50 Is there is big diffrence between 16f628 and 16f628a |
|
|
|
| Guess that's why mine works, it's not the EPE version and would have different firmware.
|
|
| Back to top |
|
 |
manish12
Joined: 21 Nov 2006 Posts: 932 Helped: 26
|
19 Jan 2008 9:23 Re: Is there is big diffrence between 16f628 and 16f628a |
|
|
|
| Quote: |
Hi
I was doing a project from epe called lcf meter I faced a strange problem when I used 16f628a the code does not work as it should but when the same code program in 16f628 it’s work fine with out any problem. |
what is this ?
ok .
and that force me to make another lc meter(working) for my lab.
thanks blueroomelectronics
|
|
| Back to top |
|
 |
manu
Joined: 14 Mar 2004 Posts: 177 Helped: 9 Location: France
|
20 Jan 2008 12:59 Re: Is there is big diffrence between 16f628 and 16f628a |
|
|
|
Hi flagrance,
Look at this document from micochip website :
http://ww1.microchip.com/downloads/en/DeviceDoc/40048a.pdf
'hope it will work...
|
|
| Back to top |
|
 |
Fragrance
Joined: 26 Jul 2002 Posts: 1309 Helped: 23
|
23 Jan 2008 9:02 Re: Is there is big diffrence between 16f628 and 16f628a |
|
|
|
Here is the working asm file what i going to do writing new code with these specifications 1uH to 10H and 1pF to 6000uF
regards
Fragrance
|
|
| Back to top |
|
 |
manish12
Joined: 21 Nov 2006 Posts: 932 Helped: 26
|
23 Jan 2008 9:22 Re: Is there is big diffrence between 16f628 and 16f628a |
|
|
|
at which h/w this code will be run ?
epe lcf
or else
|
|
| Back to top |
|
 |
Fragrance
Joined: 26 Jul 2002 Posts: 1309 Helped: 23
|
23 Jan 2008 11:44 Re: Is there is big diffrence between 16f628 and 16f628a |
|
|
|
| manish12 wrote: |
at which h/w this code will be run ?
epe lcf
or else |
The code will work on schematic post by blueroomelectronics
regards
Fragrance
|
|
| Back to top |
|
 |
blueroomelectronics
Joined: 17 Sep 2006 Posts: 1190 Helped: 58 Location: Toronto, Canada
|
24 Jan 2008 6:17 Is there is big diffrence between 16f628 and 16f628a |
|
|
|
| Thanks Fragrance, nice work. Where did you find the floating point .inc?
|
|
| Back to top |
|
 |
Fragrance
Joined: 26 Jul 2002 Posts: 1309 Helped: 23
|
24 Jan 2008 6:47 Re: Is there is big diffrence between 16f628 and 16f628a |
|
|
|
| blueroomelectronics wrote: |
| Thanks Fragrance, nice work. Where did you find the floating point .inc? |
this will found on calibration page also on microchip webpage
regards
Fragrance
|
|
| Back to top |
|
 |
manish12
Joined: 21 Nov 2006 Posts: 932 Helped: 26
|
24 Jan 2008 7:18 Re: Is there is big diffrence between 16f628 and 16f628a |
|
|
|
| Quote: |
what i going to do writing new code with these specifications 1uH to 10H and 1pF to 6000uF
|
is it complete ?
i am waiting for it .
|
|
| Back to top |
|
 |
JDvorak
Joined: 06 Feb 2008 Posts: 1
|
06 Feb 2008 23:53 Re: Is there is big diffrence between 16f628 and 16f628a |
|
|
|
| I made several LRC meters with PICs, but I was not able to measure inductance in low units < mH. There is many parasite features which make this measure difficult.
|
|
| Back to top |
|
 |
blueroomelectronics
Joined: 17 Sep 2006 Posts: 1190 Helped: 58 Location: Toronto, Canada
|
07 Feb 2008 1:15 Is there is big diffrence between 16f628 and 16f628a |
|
|
|
| Keeping your leads short and good part layout will help.
|
|
| Back to top |
|
 |
Computerman29
Joined: 23 Jul 2006 Posts: 119 Helped: 4 Location: Valparaiso, IN USA
|
22 Feb 2008 6:54 Re: Is there is big diffrence between 16f628 and 16f628a |
|
|
|
| The biggest difference between the 628 and 628A is the speed. 628A can run up to 20MHz. 628 can only run 4MHz. There are probably minor changes in the timing (due to increased speed), but almost anything that will run on a 628 will also run fine on a 628A.
|
|
| Back to top |
|
 |
omary
Joined: 06 Apr 2008 Posts: 1
|
06 Apr 2008 23:32 Is there is big diffrence between 16f628 and 16f628a |
|
|
|
i had similar problem long time ago it was in the configuration
notice : in the data sheet of both (628 & 628a) there is a diffrent in the configuration
|
|
| Back to top |
|
 |
sohail_akram
Joined: 26 Feb 2006 Posts: 50
|
07 Apr 2008 13:12 Re: Is there is big diffrence between 16f628 and 16f628a |
|
|
|
| i heared diffrence is in programming metthod..
|
|
| Back to top |
|
 |
subyraj
Joined: 06 Apr 2006 Posts: 10
|
09 Apr 2008 23:37 Is there is big diffrence between 16f628 and 16f628a |
|
|
|
no not much
Added after 22 seconds:
nops
|
|
| Back to top |
|
 |
Ruslan_Windrivers
Joined: 20 Apr 2008 Posts: 2
|
20 Apr 2008 18:28 Re: Is there is big diffrence between 16f628 and 16f628a |
|
|
|
| Fragrance wrote: |
Hi
I was doing a project from epe called lcf meter I faced a strange problem when I used 16f628a the code does not work as it should but when the same code program in 16f628 it’s work fine with out any problem.
....
regards
Fragrance |
I have the same problem with the same project. The chips in question (16F628A) was programmed by Junebug/Firefly combo programmer (from Blueroomelectronics, BTW), so programming shouldn't be a problem (at least, it went well).
While LCF meter is booting, it shows "capacitor time out", and only after 3rd or 4th power on/off attempt it booting as it should be. But displayed frequency is bit higher ("310000hz") than an author's. Used exactly the same HEF4011BP chip as author's. Tweaks with 68pf cap didn't help.
From time to time then I'm measuring Caps over 0.1 mkf it can freeze and doesn't respond anymore.
I saw on EPE magazine forums site the author recommended someone with similar problem to use 16F628 chip, not 16F628A.
Any solutions/suggestions?
I'm relatively new to PICs (while I do have experience with other electronics).
|
|
| Back to top |
|
 |
blueroomelectronics
Joined: 17 Sep 2006 Posts: 1190 Helped: 58 Location: Toronto, Canada
|
20 Apr 2008 22:40 Is there is big diffrence between 16f628 and 16f628a |
|
|
|
| Which version of the LC meter did you build? (what site)?
|
|
| Back to top |
|
 |
atferrari
Joined: 30 Jun 2004 Posts: 184 Helped: 3 Location: Buenos Aires - Argentina
|
21 Apr 2008 11:15 Is there is big diffrence between 16f628 and 16f628a |
|
|
|
Sometimes, "A" types imply:
changes in the hardware
changes in the programming algorithms
I consider them a different micro, just in case. I don't try to force the idea if similarity in my mind. It makes life easier.
|
|
| Back to top |
|
 |
Ruslan_Windrivers
Joined: 20 Apr 2008 Posts: 2
|
22 Apr 2008 2:55 Re: Is there is big diffrence between 16f628 and 16f628a |
|
|
|
| blueroomelectronics wrote: |
| Which version of the LC meter did you build? (what site)? |
The one from EPE magazine Feb 2004. Although it is possible to find that article on Internet - I cannot provide the link here to download it. It is reqiured to pay the subscription fee to download that magazine or article alone in PDF format, so posting any link here would be illegal, I guess.
Also, couple days ago I made another board with modifications from http://calatron.me.uk/Electronics%20Hobby/pe_lcf_meter_modifications.htm . I used the same chips as before (pulled them out from sockets) plus extra 74HC132D according to link above(SOIC case).
All I'm getting right now is "Capacitor time out" which even worse than I had before, as it doesn't go anywhere from this point.
To compare which LC meter is better, I even made at the same time that LC meter you mentioned above. Updated schematics and software I got from site http://www.marc.org.au/index.html
But I was having problems with this project, too! It was measuring caps and showing only about half of nominal value after calibrating (565-600pf instead of 1000pf with different caps of the same value). Frequency was about right, and ajustments by "+" jumper could not fix almost 100% discrepancy. Any attempts to measure caps over 0.1Mf resulted showing the same result ... about 1000pf... (???)
I used the same chip (bought at same place and time as another one mentioned above) 16F628A , same Firefly programmer, no positive result... so far...
According to author, this "updated meter" has the same limits as his previous project: http://ironbark.bendigo.latrobe.edu.au/~rice/lc/
Project from EPE supposed to be better (max caps range-wise)... But looks like something is not right about those 628A as both authors used 628, not 628a...
I'm not giving up fight, though... Asking for help, open for suggestions...
|
|
| Back to top |
|
 |