Author Topic: $20 LCR ESR Transistor checker project  (Read 4824169 times)

0 Members and 10 Guests are viewing this topic.

Offline indman

  • Super Contributor
  • ***
  • Posts: 1378
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #8950 on: November 14, 2023, 02:18:21 pm »
That is not the point.
This is precisely the point. If you are going to build your own device, then you will have to master the compilation of firmware for it.
If you study the manual more deeply, you will understand that the firmware is compiled for any supported controller, only the set of available plug-in options and settings changes. ;)
 

Offline Pygmalion

  • Regular Contributor
  • *
  • Posts: 76
  • Country: 00
Re: $20 LCR ESR Transistor checker project
« Reply #8951 on: November 14, 2023, 03:17:33 pm »
That is not the point.
This is precisely the point. If you are going to build your own device, then you will have to master the compilation of firmware for it.
If you study the manual more deeply, you will understand that the firmware is compiled for any supported controller, only the set of available plug-in options and settings changes. ;)

So if I compile with all options then 32k will no longer be enough?
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8849
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #8952 on: November 14, 2023, 03:18:34 pm »
I would assume that all hardware projects can use both firmwares, right? On the other hand, the FAQ mentions using a different, more powerful chip than the ATmega328. I only have ATmega328s at home (both DIP and SMD), but I would be willing to buy another chip if it would improve functionality. I am a bit confused on this point.

The basic tester and most options are supported by both OSHW firmwares, a few options only by the m-firmware. Supported MCUs are ATmega328, 324, 644, 1284, 640, 1280 and 2560. The k-firmware supports also older types like the ATmega168.

The point is that using another controller with more than 32kB of memory makes sense only if there is firmware that utilises that extra memory. If there isn't any, even just in plan, it does not make sense to use anything more advanced than the ATmega328.

With multiple additional features enabled the firmware easily exceeds 32kB. So an ATmega644 is the best choice at the moment. Anyway, it depends on which features you need.
 

Offline Pygmalion

  • Regular Contributor
  • *
  • Posts: 76
  • Country: 00
Re: $20 LCR ESR Transistor checker project
« Reply #8953 on: November 14, 2023, 04:00:13 pm »
OMG. I really appreciate your work, but the learning curve is pretty steep. Someone should create a FAQ for potential builders...

If I understand it correctly, there is no single compile and no single PCB CAD file, because there are zillion different combinations. If they want to build their own device, they have to start from scratch, draw the entire schematic and create the PCB in CAD. And then they might see that their own compile and PCB are later used commercially for Chinese clones...

For me, it's quite doable, but I estimate it would take me (as someone who has neither a job nor formal training in electronics) at least three weeks if I were to focus on just this one project. For one (1) device. I am not sure I want to invest that much time, at least not until I finish my other hobby projects (like overhauling the ZX Spectrum or automating HO switches with DCC...), which will also take months if not years as they are just hobbies. In the meantime, I will just use my DMM and occasionally a signal generator/oscilloscope to measure the more complex things like ESR. Or, more likely, I will just buy a Chinese clone...

PS Can it at least be compiled in the Arduino IDE like the rest of Arduino stuff?
« Last Edit: November 14, 2023, 04:05:51 pm by Pygmalion »
 

Offline hapless

  • Regular Contributor
  • *
  • Posts: 208
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #8954 on: November 14, 2023, 04:57:42 pm »
Weeks?! Learning curve? All this simple project requires is a compatible ATMega, a screen and a few resistors to make it work. Great for someone who just learned to solder or for a child. You can throw your first one together on a piece of cardboard within a few minutes. The hardest part is figuring out how to program the MCU, but even that's easy for someone who's got an Arduino, which you clearly do. This is NOT an Arduino project, but it was ported for those who just don't care. Just go to YouTube and watch some videos. People put together these testers with an Arduino and without one within minutes in real time... you can try simply follow what they do. But if you choose to use a standalone MCU it's easier to use the precompiled firmware, which is what you'd probably want to do at first to test things out.

As for an FAQ, there's no need, this project has the best of manuals, find and read it, then RTFM, then consult the manual. It explains everything including how to improve the basic circuit and which displays to use.

And yes, after that you'd probably want to design a variant of your own with a unique PCB created in your choice of software. And take as much time doing it as you need.
 
The following users thanked this post: indman

Offline Pygmalion

  • Regular Contributor
  • *
  • Posts: 76
  • Country: 00
Re: $20 LCR ESR Transistor checker project
« Reply #8955 on: November 14, 2023, 06:02:21 pm »
I am sorry, I did not make myself clear enough. I could replicate one of those Veroboard projects on github without videos and tutorials in, let's be realistic, a couple of hours. But I just wanted to skip the testing phase and immediately create a "real" device on a "real" PCB and with a 64k IC. Just like these Chinese clones, apart from the 64k IC. And for that I would need the time I specified. So for a "real" device, it's not worth it for me to invest such huge effort to build a slightly better device than the one I can buy ready-made. I am talking about my personal cost-benefit estimate here, which you may not share.  [And since I am afraid the Chinese will send me some rubbish with fake controller, I will end up buying nothing and juggling with my oscilloscope and signal generator forever.  :-//]

As for the information available, I spent several hours reading documents on github to find out that this is not for me. Maybe I am just stupid or maybe this could all be explained in a few words in a document.  I wanted to make a useful suggestion, but you are absolutely free to ignore it.
« Last Edit: November 14, 2023, 07:02:54 pm by Pygmalion »
 

Offline steveharriss

  • Newbie
  • Posts: 2
  • Country: gb
Re: $20 LCR ESR Transistor checker project
« Reply #8956 on: November 18, 2023, 09:17:55 am »
I have only just come across this project having purchased one of the cheap Chinese clones some time ago. It's been a really useful bit of kit to have around. The fact that so many people have taken the time to share their expertise is brilliant.

I took a look at the DevKit-644 posted on GitHub and decided to have the PCB's made up in order that I can make my own AVR Transistor Tester. They are now on their way to me and I am pulling together the parts that I don't have to hand.

I've seen the advice about matching the resistors and I'll bear that in mind when it comes time to build it. I would like a visual reference though to keep me on track. Is there anyone who has previously built this DevKit-644 who would kindly share a picture of the completed PCB with components. TIA  :-+
« Last Edit: November 18, 2023, 09:20:27 am by steveharriss »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8849
  • Country: de
  • A qualified hobbyist ;)
 
The following users thanked this post: steveharriss

Offline Pygmalion

  • Regular Contributor
  • *
  • Posts: 76
  • Country: 00
Re: $20 LCR ESR Transistor checker project
« Reply #8958 on: November 18, 2023, 04:15:42 pm »
I took a look at the DevKit-644 posted on GitHub and decided to have the PCB's made up in order that I can make my own AVR Transistor Tester. They are now on their way to me and I am pulling together the parts that I don't have to hand.

After your post, I went looking for the DevKit-644 project and finally found it in the hardware folder :palm:. And after opening it, I found a complete project with KiCAD files. Looks great and may be exactly what I was looking for, especially if I succeed to get it to under 10cmx10cm and half the price of the PCB.

Since this project uses the ATmega644, does this mean that it is the most advanced version of the tester at the moment and that it supports all tester options?
« Last Edit: November 18, 2023, 04:27:10 pm by Pygmalion »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8849
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #8959 on: November 18, 2023, 05:55:02 pm »
Yes and no. ;) That circuit is a basic tester with a few hardware options meant to be used as base for developing and testing new options. If you want to use it as a normal tester please modify the circuit as needed (add a display and more options, remove the relay for the Sampling-ADC's adjustment cap). The main benefits of that ATmega644 tester are more flash, more I/O pins and hardware SPI for driving a display.
 

Offline Pygmalion

  • Regular Contributor
  • *
  • Posts: 76
  • Country: 00
Re: $20 LCR ESR Transistor checker project
« Reply #8960 on: November 18, 2023, 07:30:16 pm »
Yes and no. ;) That circuit is a basic tester with a few hardware options meant to be used as base for developing and testing new options. If you want to use it as a normal tester please modify the circuit as needed (add a display and more options, remove the relay for the Sampling-ADC's adjustment cap). The main benefits of that ATmega644 tester are more flash, more I/O pins and hardware SPI for driving a display.

​I actually love the fact that the PCB does not include a display :-+. This is a modular approach to the tester, everyone uses the same module PCB and then the display is connected to the module bus; different pins are used depending on the display type.  Also, I have half a dozen displays at home, which I used when researching for my display web page, and I may decide which one to use later 8).

I see that the PCB already contains a Zener test. Is there a list and circuits for other options? ???

Also, instead of the near-obsolete 9V batteries, I would prefer to use 5V power and/or Li-Ion batteries with boost-up to 5V, which would also simplify some of the circuitry. (Possibly even using a cheap Chinese boost-up for the Zener part) Is there a reason to use 9V?

That's what's scares me off, designing the optimal circuit... In comparison, PCB design is a piece of cake.
« Last Edit: November 18, 2023, 07:37:00 pm by Pygmalion »
 

Offline Obelix2007

  • Regular Contributor
  • *
  • Posts: 60
  • Country: de
Re: $20 LCR ESR Transistor checker project
« Reply #8961 on: November 18, 2023, 08:04:38 pm »
this Tester comes with AtMega324 and I removed it and mount the pincompatible AtMega644.

Sorry for my bad english.

Greeting Horst
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8849
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #8962 on: November 19, 2023, 11:34:31 am »
I see that the PCB already contains a Zener test. Is there a list and circuits for other options? ???

Please see the documentation of both OSHW firmwares (k and m) and also the hardware directory in the repo.

Also, instead of the near-obsolete 9V batteries, I would prefer to use 5V power and/or Li-Ion batteries with boost-up to 5V, which would also simplify some of the circuitry. (Possibly even using a cheap Chinese boost-up for the Zener part) Is there a reason to use 9V?

No, you just need a stable, clean and precise 5V supply. And don't forget to adapt the power management  to whatever you choose. The tester shown by Obelix2007 comes with a LiPo battery plus boost converter and linear post regulation, for example.
« Last Edit: November 20, 2023, 02:10:19 pm by madires »
 
The following users thanked this post: Pygmalion, steveharriss

Offline steveharriss

  • Newbie
  • Posts: 2
  • Country: gb
Re: $20 LCR ESR Transistor checker project
« Reply #8963 on: November 20, 2023, 11:31:43 am »
Really appreciate that. Here's the manufactured PCB's. I have a few spares I can send out for postage. I'm in the UK
 

Offline Aldo22

  • Super Contributor
  • ***
  • Posts: 1991
  • Country: ch
Re: $20 LCR ESR Transistor checker project
« Reply #8964 on: November 20, 2023, 12:56:57 pm »
I can confirm that these come with an ATMEGA328PU (Version "English Language" without "New").
Not particularly fast, but much more accurate than my TC1 with the APT32F172K8T6.
 
The following users thanked this post: Serg65536

Offline madires

  • Super Contributor
  • ***
  • Posts: 8849
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #8965 on: November 20, 2023, 02:17:07 pm »
That's an AY-AT (aka GM328A) which is still a nice basic tester. And it's supported by both OSHW firmwares (k & m).
 
The following users thanked this post: Aldo22

Offline morgan_flint

  • Regular Contributor
  • *
  • Posts: 99
  • Country: es
Re: $20 LCR ESR Transistor checker project
« Reply #8966 on: November 20, 2023, 05:57:58 pm »
I can confirm that these come with an ATMEGA328PU (Version "English Language" without "New").
Not particularly fast, but much more accurate than my TC1 with the APT32F172K8T6.
And the "New English Version" of that seller also comes with a genuine ATMEGA328PU, as I confirmed here , just in QFP package.
 
The following users thanked this post: Serg65536

Offline Aldo22

  • Super Contributor
  • ***
  • Posts: 1991
  • Country: ch
Re: $20 LCR ESR Transistor checker project
« Reply #8967 on: November 21, 2023, 09:42:31 am »
That's an AY-AT (aka GM328A) which is still a nice basic tester.
Yes, I've done a few simple tests.
It's pretty accurate for such a cheap device.
Attached:
200Ω (1%) SMD resistor.
1KHz
1.0111 V
 

Offline mentholflash

  • Contributor
  • Posts: 44
  • Country: au
Re: $20 LCR ESR Transistor checker project
« Reply #8968 on: November 21, 2023, 10:54:10 am »
Really appreciate that. Here's the manufactured PCB's. I have a few spares I can send out for postage. I'm in the UK
Hey mate whereabouts in the uk are you would you consider sending 1 to Australia
cheers
 

Offline mentholflash

  • Contributor
  • Posts: 44
  • Country: au
Re: $20 LCR ESR Transistor checker project
« Reply #8969 on: November 21, 2023, 10:58:34 am »
Hi all
Can anyone tell me if this is
A. OK
2. Going to work
for adding a rotary encoder to 2013 booster edition
Thanks
« Last Edit: November 21, 2023, 11:00:32 am by mentholflash »
 

Offline hojnikb

  • Contributor
  • Posts: 36
  • Country: si
Re: $20 LCR ESR Transistor checker project
« Reply #8970 on: November 21, 2023, 11:29:25 am »
Is anyone still porting LGT8F328P to m/k-firmware ?

Or is this it? https://github.com/DurandA/transistor-tester-lgt328p
 

Offline dirtmover

  • Contributor
  • Posts: 28
  • Country: ca
Re: $20 LCR ESR Transistor checker project
« Reply #8971 on: November 21, 2023, 03:22:28 pm »
I recently bought a TC2 HaoQi from AliExpress and the PCB was silkscreened with "T7-PLUS V2.0". The tester is utter crap as the measurements are very inconsistent, erroneous and all over the place  >:(

I fell for that POS as well and am having similar problems. There's some instructions a few months back for swapping out the LGT8F328P for an Atmega328 and switching to open source FW to get it working correctly.

https://www.eevblog.com/forum/testgear/$20-lcr-esr-transistor-checker-project/msg4804496/#msg4804496
https://www.eevblog.com/forum/testgear/$20-lcr-esr-transistor-checker-project/msg4899587/#msg4899587

I've got a couple of Atmega328p in my parts drawer so will give this a try when I get a chance.

Is anyone still porting LGT8F328P to m/k-firmware ?

Or is this it? https://github.com/DurandA/transistor-tester-lgt328p

That repo looks abandoned since Feb 2021. I think you can safely say that was a pie in the sky attempt that never got off the ground.
« Last Edit: November 21, 2023, 07:36:02 pm by dirtmover »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8849
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #8972 on: November 21, 2023, 04:33:41 pm »
Is anyone still porting LGT8F328P to m/k-firmware ?

Someone wanted to, but I don't know the current status.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8849
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #8973 on: November 21, 2023, 04:44:41 pm »
Can anyone tell me if this is
A. OK
2. Going to work
for adding a rotary encoder to 2013 booster edition

The resistors seem to be reversed. Please see Karl-Heinz' documentation (https://github.com/kubi48/TransistorTester-documentation) for the rotary encoder option.
 

Offline DELTA67

  • Regular Contributor
  • *
  • Posts: 138
  • Country: fr
Re: $20 LCR ESR Transistor checker project
« Reply #8974 on: November 28, 2023, 01:03:00 pm »
Hi all,
Thanks madires for maintaining this awesome project!!!
How about using an LGT8F328P instead of the ATMEGA328P?
Can the 12bit resolution of the ADC in the LGT improve accuracy?
Is the differential mode, of the said ADC, of any useful application in measurements?
How about the pseudo math coprocessor uDSC, Can it speed some calculations?

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf