Badcaps.net Forum
Go Back   Badcaps Forums > Troubleshooting Hardware & Devices and Electronics Theory > Equipment Usage, Soldering, Techniques, and Reviews
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
Thread Tools
Old 02-11-2016, 10:58 AM   #61
stj
Great Sage 齊天大聖
 
stj's Avatar
 
Join Date: Dec 2009
City & State: Europe
My Country: some shithole run by Israeli agents
I'm a: Professional Tech
Posts: 29,048
Default Re: ESR meter upgrades

another update.

took a while.
this one has a new makefile.
also a new testing mode - you want a 10-30pF cap for stage-2 calibration.
Attached Files
File Type: zip GM328A ESR tester (SVN635).zip (75.3 KB, 48 views)
stj is offline   Reply With Quote
Old 02-12-2016, 09:17 PM   #62
stj
Great Sage 齊天大聖
 
stj's Avatar
 
Join Date: Dec 2009
City & State: Europe
My Country: some shithole run by Israeli agents
I'm a: Professional Tech
Posts: 29,048
Default Re: ESR meter upgrades

fresh update
this one is a must,
Quote:
The programmer Pieter-Tjerk (radio amateur PA3FWM) has added some additional code
for testing of Unijunction transistors and Progammable Unijunction Transistors.


now some bad news.
there are so many features that you cant fit *everything* into the memory.
so for now there is no 16MHz builds wih the crystal tester.

once i get a good 16MHz crystal i'll start experimenting to get the best stuff to fit.
probably by removing the rotary-encoder tester as it seems pointless,
and maybe the serial port - as the pc side seems to be unforthcoming at the moment.
Attached Files
File Type: zip GM328A ESR tester (SVN636).zip (42.9 KB, 32 views)
stj is offline   Reply With Quote
Old 02-13-2016, 04:44 AM   #63
roko
New Member
 
Join Date: Feb 2016
City & State: Spain
My Country: Barcelona
I'm a: Knowledge Seeker
Posts: 3
Default Re: ESR meter upgrades

Hi.
Capacitors for calibration must be 10-30pf or 10-30nf?
roko is offline   Reply With Quote
Old 02-13-2016, 05:00 AM   #64
SteveNielsen
Retired Tech
 
Join Date: Jun 2012
City & State: Newport, OR
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hobbyist Tech
Posts: 2,305
Default Re: ESR meter upgrades

I'd like a bit of clarity on the serial port. Is that for adding a USB port or? I'm just curious. I recall some earlier versions of the TTester had USB possible. How was that used with a PC? Is it not useful at all in this one yet or just not moving ahead?

I'm not progressing past SVN630 for the time being, I'm in a wait and see mode.

What quality of 16MHz xtal is needed? I haven't seen anything below 30ppm accuracy available online.
SteveNielsen is offline   Reply With Quote
Old 02-13-2016, 09:10 AM   #65
stj
Great Sage 齊天大聖
 
stj's Avatar
 
Join Date: Dec 2009
City & State: Europe
My Country: some shithole run by Israeli agents
I'm a: Professional Tech
Posts: 29,048
Default Re: ESR meter upgrades

farnell/element14 has 10ppm crystals.

the serial port is on pin26 and forwards all the display data.
you can connect it through a max232 serial convertor or a usb2serial adaptor.
it was intended to be used with a lookup table of transistor specs to see if a part was good.

the usb port on some models was just for battery charging.
stj is offline   Reply With Quote
Old 02-13-2016, 09:12 AM   #66
stj
Great Sage 齊天大聖
 
stj's Avatar
 
Join Date: Dec 2009
City & State: Europe
My Country: some shithole run by Israeli agents
I'm a: Professional Tech
Posts: 29,048
Default Re: ESR meter upgrades

Quote:
Originally Posted by roko View Post
Hi.
Capacitors for calibration must be 10-30pf or 10-30nf?
i see the error.
it's nF
Quote:
SamplingADC is now enabled by default. The calibration procedure asks
for a capacitor for L-measurement with the message "Cap for L meas?".
You should use a capacitor value between 10nF and 20nF for future
measurement of little inductances. If your coil is only detected as
resistor, or with little inductance, you should connect this known
capacitor (10nF-20nF) parallel to the coil and repeat the measurement.
The measurement is now possible between any test ports.
You can only measure little capacitors between TP1 and TP3!
stj is offline   Reply With Quote
Old 02-13-2016, 09:29 AM   #67
SteveNielsen
Retired Tech
 
Join Date: Jun 2012
City & State: Newport, OR
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hobbyist Tech
Posts: 2,305
Default Re: ESR meter upgrades

Quote:
Originally Posted by stj View Post
farnell/element14 has 10ppm crystals.
There is a difference between freq stability and freq tolerance. 10ppm tolerance doesn't mean 10ppm stability. I've seen some say 10ppm tolerance with 30ppm stability. I presume stability relates to operating temperature?

I'm not sure how much it's gonna matter for the tester though. What are your thoughts? What are you looking for? Curious Steve here
SteveNielsen is offline   Reply With Quote
Old 02-13-2016, 09:44 AM   #68
stj
Great Sage 齊天大聖
 
stj's Avatar
 
Join Date: Dec 2009
City & State: Europe
My Country: some shithole run by Israeli agents
I'm a: Professional Tech
Posts: 29,048
Default Re: ESR meter upgrades

i suspect the original part is 30, but as there isnt much price difference - why not use 10
i think i'll try building some 16MHz code later so i can see how to save space without losing any of the part tests.
i know using a smaller font works - but it dont look so good.
stj is offline   Reply With Quote
Old 02-13-2016, 10:36 AM   #69
stj
Great Sage 齊天大聖
 
stj's Avatar
 
Join Date: Dec 2009
City & State: Europe
My Country: some shithole run by Israeli agents
I'm a: Professional Tech
Posts: 29,048
Default Re: ESR meter upgrades

managed it.
you can build a 16MHz version with all component functions including crystal testing by removing the rotary-encoder tester and the serial port and using a smaller font.
stj is offline   Reply With Quote
Old 02-13-2016, 07:49 PM   #70
ben7
Capaholic
 
ben7's Avatar
 
Join Date: Jan 2011
City & State: Trenton, NJ
My Country: USA
Line Voltage: 240/120V 60Hz
I'm a: Hardcore Geek
Posts: 3,989
Default Re: ESR meter upgrades

I'm thinking ... I have two different STM32 "nucleo" dev boards, I wonder if I can translate/port this code to one of those ... I'm becoming more and more interested in building one of these
(I've never ported code before, so that would get interesting. I haven't fiddled too much with microcontrollers beyond "arduino" crap XD)

I do have some ATMega328P chips, but as you said, there really isn't any more room for more features ... which the STM32 chips would help significantly with.
Also, I suppose that certain measurements (capacitance?) might be more accurate with a "blazing" 48Mhz clock speed

-Ben
__________________
Muh-soggy-knee
ben7 is offline   Reply With Quote
Old 02-13-2016, 10:16 PM   #71
stj
Great Sage 齊天大聖
 
stj's Avatar
 
Join Date: Dec 2009
City & State: Europe
My Country: some shithole run by Israeli agents
I'm a: Professional Tech
Posts: 29,048
Default Re: ESR meter upgrades

48MHz? that's baseline, i was looking at the NUCLEO-F746ZG the other day.
218MHz, hardware accelerated code and 144pins!
i have to have one of those!!! specially now they announced this:
http://www.st.com/web/en/press/p3781

i dont think you can convert this project though for 2 reasons.
1 - the STM is 3.3v and you need 5v i/o to drive stuff like fets.
2: the design is very reliant on the specifics of the atmel A/D and D/A convertors.

if your designing from scratch, you could use an atmega644 or atmega1284, unfortunatly they cant directly replace the atmega324 because they jhave more pins.

btw, i managed to build the 16MHz code without losing the serial port now.
stj is offline   Reply With Quote
Old 02-13-2016, 10:37 PM   #72
ben7
Capaholic
 
ben7's Avatar
 
Join Date: Jan 2011
City & State: Trenton, NJ
My Country: USA
Line Voltage: 240/120V 60Hz
I'm a: Hardcore Geek
Posts: 3,989
Default Re: ESR meter upgrades

Quote:
Originally Posted by stj View Post
48MHz? that's baseline, i was looking at the NUCLEO-F746ZG the other day.
218MHz, hardware accelerated code and 144pins!
i have to have one of those!!! specially now they announced this:
http://www.st.com/web/en/press/p3781

i dont think you can convert this project though for 2 reasons.
1 - the STM is 3.3v and you need 5v i/o to drive stuff like fets.
2: the design is very reliant on the specifics of the atmel A/D and D/A convertors.

if your designing from scratch, you could use an atmega644 or atmega1284, unfortunatly they cant directly replace the atmega324 because they jhave more pins.

btw, i managed to build the 16MHz code without losing the serial port now.
1. You can drive certain fets with 3.3V ... the FDV304P, a P-channel device, has a typical gate threshold voltage of 0.86V! Granted, it's not a power fet, but it can be used to switch other things on and off ... I'm quite sure N-channel devices are out there with similar gate thresholds.

2. True, I'll have to study the code to see how that all works. It'll likely require some modification, but I think it would be worth the effort... or it would at least be educational for me.

-Ben
ben7 is offline   Reply With Quote
Old 02-13-2016, 10:57 PM   #73
stj
Great Sage 齊天大聖
 
stj's Avatar
 
Join Date: Dec 2009
City & State: Europe
My Country: some shithole run by Israeli agents
I'm a: Professional Tech
Posts: 29,048
Default Re: ESR meter upgrades

we are not talking about driving "certain fets", we are talking about driving whatever fets you need to test!

and driving triacs is even harder!
stj is offline   Reply With Quote
Old 02-14-2016, 08:34 AM   #74
ben7
Capaholic
 
ben7's Avatar
 
Join Date: Jan 2011
City & State: Trenton, NJ
My Country: USA
Line Voltage: 240/120V 60Hz
I'm a: Hardcore Geek
Posts: 3,989
Default Re: ESR meter upgrades

Quote:
Originally Posted by stj View Post
we are not talking about driving "certain fets", we are talking about driving whatever fets you need to test!

and driving triacs is even harder!
Ohhhhhhhhh......
LOL XD

I see ... hmm ...
Welp, I could do without the fet and triac testing feature for the moment I guess.
I'll have to take a look at just how it measures those, to see if there is a way around that limitation. I'm quite sure I recall there being some pins that are 5V tolerant, but they'd have to be externally driven up to 5V...
Perhaps this could be integrated within the zener testing circuitry, which would have a high voltage supply (Though it could possibly damage FET gates if it's too high).

It's mainly the capacitor testing that I want to do... inductance measurement would come in handy as well, for all those unmarked inductors I have...



-Ben
ben7 is offline   Reply With Quote
Old 02-15-2016, 06:30 PM   #75
stj
Great Sage 齊天大聖
 
stj's Avatar
 
Join Date: Dec 2009
City & State: Europe
My Country: some shithole run by Israeli agents
I'm a: Professional Tech
Posts: 29,048
Default Re: ESR meter upgrades

and, 8 & 16MHz builds again.
Attached Files
File Type: zip GM328A ESR tester (SVN638).zip (76.9 KB, 36 views)
stj is offline   Reply With Quote
Old 02-16-2016, 08:00 AM   #76
SteveNielsen
Retired Tech
 
Join Date: Jun 2012
City & State: Newport, OR
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hobbyist Tech
Posts: 2,305
Default Re: ESR meter upgrades

The readme says:
-
you also need a good stable capacitor between 10 and 30nF to calibrate the new small inductor mode.
if you dont have one, just ignore the cal message till it times-out

to test small inductors you MUST connect the small cap used to calibrate the unit in parallel with the inductor.
----------------------
SamplingADC is now enabled by default. The calibration procedure asks
for a capacitor for L-measurement with the message "Cap for L meas?".
You should use a capacitor value between 10nF and 20nF for future
measurement of little inductances. If your coil is only detected as
resistor, or with little inductance, you should connect this known
capacitor (10nF-20nF) parallel to the coil and repeat the measurement.
The measurement is now possible between any test ports.
You can only measure little capacitors between TP1 and TP3!

Questions:
How does SamplingADC enabled effect testing operations?
It says use 10nF-30nF or 10nF-20nF for inductor cal and testing, which is it?
What value is considered a little capacitor that need to use TP1 and TP3?
Does calibration for and testing small inductors need to use TP1 and TP3 as well?
SteveNielsen is offline   Reply With Quote
Old 02-16-2016, 09:04 AM   #77
stj
Great Sage 齊天大聖
 
stj's Avatar
 
Join Date: Dec 2009
City & State: Europe
My Country: some shithole run by Israeli agents
I'm a: Professional Tech
Posts: 29,048
Default Re: ESR meter upgrades

no idea to the second question.
sampling adc makes readings more accurate for caps and maybe inductors, what it does is test the cap lots of times at different frequency's instead of using one fixed speed.
stj is offline   Reply With Quote
Old 02-16-2016, 09:31 AM   #78
SteveNielsen
Retired Tech
 
Join Date: Jun 2012
City & State: Newport, OR
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hobbyist Tech
Posts: 2,305
Default Re: ESR meter upgrades

Thanks man.

I suppose I'd use 10-20nF and just TP1 + TP3 just in case, not like it's a big deal, just my curiosity and wanting precise info. I do have some used inductors I've not been able to measure and maybe this new development will help.

Have you got a good source for a 10ppm 16MHz xtal yet? I might go for that soon. It's gotta be surface mount right?
SteveNielsen is offline   Reply With Quote
Old 02-18-2016, 07:38 PM   #79
stj
Great Sage 齊天大聖
 
stj's Avatar
 
Join Date: Dec 2009
City & State: Europe
My Country: some shithole run by Israeli agents
I'm a: Professional Tech
Posts: 29,048
Cool Re: ESR meter upgrades

i got my 16MHz xtal fitted - works great.
it even i.d.'d the original crystal i took off as 8000KHz

i also upgraded my voltage reference from a TL431 (1% drift) to an LM4040A (0.1% drift)
**one thing you cant see in the foto - i had to cut the top pin off the LM4040A to isolate it from the board.

where can you order from with free delivery?

btw, about the small cap thing.
i'v seen a guy on a different forum fit the cap under the socket through a reed-relay.
i'm looking into that.
he switches it with a switch though - i'd rather use a spare pin on the Atmel.

code.
Attached Images
File Type: jpg 8MHz.jpg (472.6 KB, 78 views)
File Type: jpg 16MHz.jpg (210.4 KB, 71 views)
File Type: jpg lm431.jpg (392.8 KB, 77 views)
File Type: jpg lm4040a.jpg (105.6 KB, 78 views)
Attached Files
File Type: zip GM328A ESR tester (SVN641).zip (84.1 KB, 44 views)
File Type: pdf tl431.pdf (2.41 MB, 52 views)
File Type: pdf lm4040aim3-2.5.pdf (1.45 MB, 59 views)

Last edited by stj; 02-18-2016 at 07:42 PM..
stj is offline   Reply With Quote
Old 02-20-2016, 08:10 PM   #80
stj
Great Sage 齊天大聖
 
stj's Avatar
 
Join Date: Dec 2009
City & State: Europe
My Country: some shithole run by Israeli agents
I'm a: Professional Tech
Posts: 29,048
Default Re: ESR meter upgrades

some more improvements to the autodetection.
Attached Files
File Type: zip GM328A ESR tester (SVN646).zip (84.1 KB, 34 views)
stj is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Badcaps.net Technical Forums © 2003 - 2023
Powered by vBulletin ®
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
All times are GMT -6. The time now is 06:53 PM.
Did you find this forum helpful?