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

pierreraymondrondelle and 6 Guests are viewing this topic.

Offline rfdes

  • Regular Contributor
  • *
  • Posts: 187
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #8850 on: September 18, 2023, 07:34:40 pm »

Curious -
I have my unit apart for some upgrades and was wondering if there is any real motivation to move from 8MHz to 16MHz?  My unit is a simple unit using only the 16x2 display and don't know if there is any real benefit to increasing the frequency.

Does anyone have a valid reason to upgrade to 16MHz?
thanks
Jim


 

Offline JohnC

  • Contributor
  • Posts: 17
  • Country: au
Re: $20 LCR ESR Transistor checker project
« Reply #8851 on: September 19, 2023, 02:35:14 am »
Most likely fubar. You could search AliExpress for ST7565 and look for one with a matching flat-flex. Another way is to get an ST7565 display meant for Arduino (5V) and wire it up. Or go for the OSHW firmwares (k or m) and use any supported display.

Yeah, however it's probably not worth much $$ spent on it. If I cannot repair the screen, I'll just buy another AY-AT which has a more flexible PCB layout for the add-ons I wanted to install.

Looks like it may be fixable with what this guy is doing...

youtube.com > v=laYbjwxz_Ag

[snip]

Thanks heaps! That is EXACTLY the info that I hoped for!  :D

The replacement polarizer sheets are cheap on AliExpress. That video showed a reflective B&W LCD, yet mine is backlit (blue). Do you know if all the polarizers are the same basic thing?
« Last Edit: September 19, 2023, 02:37:55 am by JohnC »
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1012
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #8852 on: September 19, 2023, 06:06:33 am »
Does anyone have a valid reason to upgrade to 16MHz?
This question is asked very often by people who do not read the global author’s manual from Karl-Heinz at all, or who simply skim through it without delving into the technical nuances and thoughts that the author, with his enormous work and effort, wanted to convey to you.
If you open the manual dated November 15, 2021 on page 50, you will find this:
"WITH SamplingADC With this option set, the tester make use of the sampling method of ADC
in special cases. By shifting the sampling time of the ADC with increments of 1, 4 or 16
processor clock intervals for repeatable signals fast changes of voltages can be monitored. The
load time of little capacitors below 100pF can be monitored with a resulting resolution of
0.01pF with a 16MHz processor clock."
The increased clock frequency also makes it possible to test various resonators (ceramic and quartz) in k-firmware, and in m-firmware it also allows you to expand the frequency ranges in the generator and frequency meter functions.
You can set the quartz to a frequency of 20MHz, but not all AVR controllers (especially Chinese ones) work stably at this clock frequency.
« Last Edit: September 19, 2023, 06:13:03 am by indman »
 

Offline rfdes

  • Regular Contributor
  • *
  • Posts: 187
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #8853 on: September 19, 2023, 11:18:39 am »
Quote
This question is asked very often by people who do not read the global author’s manual from Karl-Heinz at all,


I'm guilty of this.  I'll go back and read his write-up.  I appreciate the response.  I purchased this board years ago when the clones just started hitting the market.  I now see that this project has turned into a massive thread and  need to spend more time sifting through all of the information.
Take care -
« Last Edit: September 19, 2023, 11:20:55 am by rfdes »
 
The following users thanked this post: ayubando

Offline Maniaxx

  • Contributor
  • Posts: 30
  • Country: de
  • sys2064
Re: $20 LCR ESR Transistor checker project
« Reply #8854 on: September 20, 2023, 10:31:36 pm »
@madires:
Can you add a 'hold' function (button press) for 'continuous mode' so we have time to write down values? On problematic PCBs (covered in collophonium) the continuous mode is better/faster. Generally, i prefer auto-hold mode though.

@all:
What 'test equipment' do you guys use with the tester? I currently use 3x 40cm cables with clamps and some additional solid wires for manually picking/clamping in-circuit. I'm wondering if i should create an interface for my banana-plug DMM equipment, especially the full-size tip pickers might come in handy at times.
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1012
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #8855 on: September 21, 2023, 06:41:18 am »
I currently use 3x 40cm cables with clamps and some additional solid wires for manually picking/clamping in-circuit.
I already told you earlier that it is undesirable to use such long conductors with this device!
Despite the apparent simplicity of the circuit design, this tester is a very sensitive device that responds to any change in inductance and capacitance at its test contacts. Even if you save the parameters of your long conductors in profile, you cannot hope that if you change their position in your hands, these values ​​​​will not change much. And these values will vary greatly, I assure you. This will lead to distorted measurement results. External testing probes should not be longer than 10-15cm and have very good contact as well as minimal inductance and internal resistance. As an example, I can give this photo from the Karl-Heinz manual. Did I make it clear for you?
« Last Edit: September 21, 2023, 07:37:33 am by indman »
 

Offline Maniaxx

  • Contributor
  • Posts: 30
  • Country: de
  • sys2064
Re: $20 LCR ESR Transistor checker project
« Reply #8856 on: September 21, 2023, 10:50:03 am »
I cannot confirm that. I do in-curcuit testing (under worst conditions, touching contacts etc) and it works without problems. Even capacitors are not fluctuating in relevant ranges or differ significantly compared to in-socket testing. Tbh, i couldn't even notice any difference at all and results are astonishingly good but i haven't checked all circumstances. The only things that didn't work (expectingly) so far were DB3 DIACS (with 30V breakover).

It works for me and I'm curious what works for you.
« Last Edit: September 21, 2023, 10:52:22 am by Maniaxx »
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1012
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #8857 on: September 21, 2023, 11:16:43 am »
Maniaxx, you can make conductors of at least 1 meter in length, no one will forbid you to do this. Use it for your health if it suits you.
But the physical principles of operation of the device and its features have not been canceled. My advice mostly applies to k-firmware users with the SamplingADC option enabled
and for other people who want to learn more. :)
 

Offline Maniaxx

  • Contributor
  • Posts: 30
  • Country: de
  • sys2064
Re: $20 LCR ESR Transistor checker project
« Reply #8858 on: September 21, 2023, 01:42:50 pm »
It depends on your use case. Its neglectable e.g. for high capacitance or most semi-conductor function testing. I've had good experiences in uF and even nF ranges. pF is probably unreliable indeed. Be aware what you're doing and you should be good to go.
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1012
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #8859 on: September 21, 2023, 02:29:30 pm »
I've had good experiences in uF and even nF ranges.
Do you have the same experience in measuring small amounts of microHenry range inductance with such long probes?
I do not use this tester for in-circuit measurements for several reasons and have written about this before. I still think that it is intended for testing only demounted parts and does not have sufficient protection for the test ports in order to examine in-circuit without fear! The protection in the form of the SRV05 assembly and the 6V8 suppressor looks very unreliable and in 99% of cases does not protect the controller’s measuring ports in any way. For in-circuit measurements, I have more specialized devices and instruments with good protection.
 

Offline Maniaxx

  • Contributor
  • Posts: 30
  • Country: de
  • sys2064
Re: $20 LCR ESR Transistor checker project
« Reply #8860 on: September 21, 2023, 10:39:50 pm »
Do you have the same experience in measuring small amounts of microHenry range inductance with such long probes?
I've measured two stator coils (180W motor). The results were 20R, 40.62mH for both. I'm not sure if these are sane values at all but the fact that these values were nearly identical for both was sufficient for me to believe they were not blown up. The cables were surely repositioned/curled/pushed/stretched/etc between testings.

does not have sufficient protection for the test ports in order to examine in-circuit without fear!
You measure unpowered of course (especially on AC circuits). And yes, i agree, in-circuit testing is unreliable in many ways. But for NPN/PNPs, Triacs and even many resistors and caps (that reflect target values) its simply a huge time saver. If in doubt you can still pry them out. I like this way of working. You have to be aware of course that the circuit might be playing tricks on you indeed.

I'm not an expert. I just expose my personal experiences and will thankfully stand corrected if i'm doing something wrong. So far the cables were not a show-stopper here though.
 

Online madires

  • Super Contributor
  • ***
  • Posts: 7770
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #8861 on: September 23, 2023, 01:38:11 pm »
@madires:
Can you add a 'hold' function (button press) for 'continuous mode' so we have time to write down values? On problematic PCBs (covered in collophonium) the continuous mode is better/faster. Generally, i prefer auto-hold mode though.

In continuous mode a short button press will skip any delay. Two short button presses trigger the main menu, and a long button press will power off the tester. So we would need something else. Any suggestion?
 

Offline hotnuma

  • Newbie
  • Posts: 2
  • Country: fr
    • My Github
Re: $20 LCR ESR Transistor checker project
« Reply #8862 on: September 24, 2023, 03:22:37 pm »
Hi there,

I try to build the 1.50m source code under Linux on an Arduino Uno, I've installed gcc-avr avr-libc and avrdude.
Building the code works fine but when I try to "make upload" I have the following error :

Code: [Select]
avrdude warning: verification mismatch
        device 0x32 != input 0x00 at addr 0x0000 (error)
avrdude error: verification mismatch

The command was :

Code: [Select]
avrdude -c arduino -P /dev/ttyACM0 -p m328p -D -b 115200 -U flash:w:./ComponentTester.hex:a -U eeprom:w:./ComponentTester.eep:a
It seems that uploading the hex file works but uploading the eep file fails.

Also I'm not sure which pins I should use with a SSD1306 I2C :

Code: [Select]
#define I2C_SDA          PD0            /* port pin used for SDA */
#define I2C_SCL          PD1            /* port pin used for SCL */

If I understand correctly, PD0, PD1 are used for the UART interface on an Arduino Uno.

Any help would be greatly appreciated. Thanks in advance.

*** Edit : Apparently it's not possible to upload an eep file to an Arduino Uno without an external programmer :

https://forum.arduino.cc/t/avrdude-pretents-to-be-able-to-upload-into-eeprom-but-it-cant/461846

I'll have to try with an Arduino Pro Mini then :P
« Last Edit: September 24, 2023, 11:24:53 pm by hotnuma »
 

Online madires

  • Super Contributor
  • ***
  • Posts: 7770
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #8863 on: September 25, 2023, 10:27:55 am »
Also I'm not sure which pins I should use with a SSD1306 I2C :

Code: [Select]
#define I2C_SDA          PD0            /* port pin used for SDA */
#define I2C_SCL          PD1            /* port pin used for SCL */

If I understand correctly, PD0, PD1 are used for the UART interface on an Arduino Uno.

Yep, they go to the USB2serial converter. Try two unused pins and change the pin/port configuration accordingly. And don't forget the external pull-up resistors for I2C.
« Last Edit: September 26, 2023, 04:33:55 pm by madires »
 
The following users thanked this post: hotnuma

Offline Maniaxx

  • Contributor
  • Posts: 30
  • Country: de
  • sys2064
Re: $20 LCR ESR Transistor checker project
« Reply #8864 on: September 26, 2023, 09:35:31 am »
In continuous mode a short button press will skip any delay. Two short button presses trigger the main menu, and a long button press will power off the tester. So we would need something else. Any suggestion?
What about this:
- Add an option in 'config.h' to enable 'short press' for pause/freeze so rotary controller users can have both functions (short press=pause and rotate right=skip).
One-button device users can also use this (but obviously lack 'rotate right'). They could decide to pick a short auto-continue time or keep the old behavior.
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1012
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #8865 on: September 26, 2023, 09:44:42 am »
@madires:
Can you add a 'hold' function (button press) for 'continuous mode' so we have time to write down values? On problematic PCBs (covered in collophonium) the continuous mode is better/faster. Generally, i prefer auto-hold mode though.

I don't understand, what is the point of adding such an option?
If you need to examine the measurement data in detail, use the AUTO-HOLD mode.
If there is not enough time to review the results in continuous mode, simply increase the pause in the setting config.h
#define CYCLE_DELAY   
Why reinvent the wheel and the bicycle?  :)
« Last Edit: September 26, 2023, 09:47:22 am by indman »
 

Online madires

  • Super Contributor
  • ***
  • Posts: 7770
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #8866 on: September 26, 2023, 04:44:10 pm »
What about this:
- Add an option in 'config.h' to enable 'short press' for pause/freeze so rotary controller users can have both functions (short press=pause and rotate right=skip).
One-button device users can also use this (but obviously lack 'rotate right'). They could decide to pick a short auto-continue time or keep the old behavior.

Implementing that would require to change/check all TestKey() calls which is a ton of work. And it would also increase the firmware to some extend. Not very motivating.
 

Offline Maniaxx

  • Contributor
  • Posts: 30
  • Country: de
  • sys2064
Re: $20 LCR ESR Transistor checker project
« Reply #8867 on: September 26, 2023, 05:14:53 pm »
Another option would be an 'auto-hold on success' where 'success' is true by either a found semiconductor or predefined threshold (lowcut) for caps (>30pF) and R (>30 Ohm). That would cover the idle range (impact) when holding cables.
 

Offline hotnuma

  • Newbie
  • Posts: 2
  • Country: fr
    • My Github
Re: $20 LCR ESR Transistor checker project
« Reply #8868 on: September 27, 2023, 01:54:11 pm »
And don't forget the external pull-up resistors for I2C.

Thanks a lot @madires, I managed to upload the hex and eep to an Arduino Pro Mini 5V 16 MHz.

Now I have a weird behavior, when I try to test a 1µF cap between 2-3, the device finds most of the time non existing caps with large values such as 89 µF 144 ohms between 1-3 or 949 µF 144 ohms between 1-2 etc... and sometimes it finds the right value among wrong ones, for example 1090 nF 0.87 ohms which is the correct reading.

I enabled ADC_LARGE_BUFFER_CAP for resistors but other than that I don't know what I can do.

Thanks in advance.  :P
 

Online madires

  • Super Contributor
  • ***
  • Posts: 7770
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #8869 on: September 27, 2023, 02:26:35 pm »
That's a common issue when powering the tester with an SMPSU. Please try a linear PSU. The essential settings for Arduino based testers are listed in the Clones File.
 
The following users thanked this post: hotnuma

Online madires

  • Super Contributor
  • ***
  • Posts: 7770
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #8870 on: September 27, 2023, 02:28:26 pm »
Another option would be an 'auto-hold on success' where 'success' is true by either a found semiconductor or predefined threshold (lowcut) for caps (>30pF) and R (>30 Ohm). That would cover the idle range (impact) when holding cables.

That could be feasible.
 

Offline fpisi

  • Newbie
  • Posts: 1
  • Country: gb
Re: $20 LCR ESR Transistor checker project
« Reply #8871 on: September 27, 2023, 06:03:42 pm »
I bought a GM328A tester from AliExpress with Russian language by mistake. I wanted to change its language, so bought another English one and tried to read its flash but was locked. I also bought developer boards with same microchips, so I have spare ones.

I also downloaded Markus Frejek and  Karl-Heinz projects from GitHub and built my own hex, but unfortunately it didn't work.

Tried the hex file from here: https://github.com/robsoncouto/gm328a_rev_eng, but couldn't get it work.

Anyone has a working English flash, hex file for this latest version tester?
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1012
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #8872 on: September 27, 2023, 07:10:42 pm »
fpisi,try this firmware
 

Offline lezginka_kabardinka

  • Regular Contributor
  • *
  • !
  • Posts: 84
  • Country: ru
Re: $20 LCR ESR Transistor checker project
« Reply #8873 on: September 27, 2023, 11:45:04 pm »
Hi friends.

Like to change 'fake' Chinese IC part for genuine "Mega328P U-TH" on device "LCR-T4" (Unit with USB-C port, as seen since silicon downfall)...  = possible?

Thank. u

/update/: Image of downfalled item attach.
« Last Edit: September 27, 2023, 11:52:17 pm by lezginka_kabardinka »
 

Offline lezginka_kabardinka

  • Regular Contributor
  • *
  • !
  • Posts: 84
  • Country: ru
Re: $20 LCR ESR Transistor checker project
« Reply #8874 on: September 28, 2023, 06:51:31 am »
CIyf pstèuri š″h′èfitèu, âl″ytènyg″èrè âfèš″uašèhèmrèkIè zèfèdèu k″al″fy. Ak″ylrè zèhèšIykI g″uazèrè âIèš″y, zyr zym zèk″oš zèhašІè azfagu dèl″èu zèfyŝytynhè fae?

Problem to understand? I speak from Adyghe, sorry have bad English, Circassia! :
« Last Edit: September 28, 2023, 06:55:35 am by lezginka_kabardinka »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf