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

0 Members and 55 Guests are viewing this topic.

Offline madires

  • Super Contributor
  • ***
  • Posts: 8830
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #8850 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: 31
  • Country: de
  • sys2064
Re: $20 LCR ESR Transistor checker project
« Reply #8851 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: 1370
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #8852 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 »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8830
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #8853 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: 31
  • Country: de
  • sys2064
Re: $20 LCR ESR Transistor checker project
« Reply #8854 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 #8855 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
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8830
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #8856 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

Offline madires

  • Super Contributor
  • ***
  • Posts: 8830
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #8857 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 #8858 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: 1370
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #8859 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 #8860 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 #8861 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 »
 


Offline Stinger

  • Regular Contributor
  • *
  • Posts: 53
  • Country: fr
Re: $20 LCR ESR Transistor checker project
« Reply #8863 on: October 01, 2023, 03:27:43 pm »
Hi,

Can i flash these LCR-T4 V2.68 clone with CH341a USB programmer ?

 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8830
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #8864 on: October 02, 2023, 09:46:06 am »
Yes, if your CH341a USB programmer supports ISP.
 

Offline morgan_flint

  • Regular Contributor
  • *
  • Posts: 99
  • Country: es
Re: $20 LCR ESR Transistor checker project
« Reply #8865 on: October 02, 2023, 12:00:25 pm »
I bought a GM328A tester from AliExpress ...
Anyone has a working English flash, hex file for this latest version tester?
I also bought one of these "new version" of GM328A to add to my collection (my TEA is severe...). If the FW posted by indiman doesn't fit, I can try to make a backup of mine, which is in English, if it's not protected.

Also, @indiman, I see this version is not in your table of clones; if you want to include it and need more details, I'd be happy to contribute. It seems genuine 328P for <14€, and I bought it also because, form the photos in the ad, it seemed to have a DC/DC converter that I thought was for zener measurement (but I think it's not) and something that seemed a prescaler for frequency (also think it's not, but up to now I haven't analised it too much).
 

Offline Circlotron

  • Super Contributor
  • ***
  • Posts: 3503
  • Country: au
Re: $20 LCR ESR Transistor checker project
« Reply #8866 on: October 02, 2023, 08:53:17 pm »
Haven’t read the whole thread, it’s a bit long. Got one of these things yesterday and every electrolytic cap I measure it shows ESR as zero ohms. Am I doing something wrong or are some of these testers a bit dodgy?
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8830
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #8867 on: October 03, 2023, 09:54:20 am »
Have you done the self-adjustment?
 

Offline Circlotron

  • Super Contributor
  • ***
  • Posts: 3503
  • Country: au
Re: $20 LCR ESR Transistor checker project
« Reply #8868 on: October 03, 2023, 11:24:14 am »
Have you done the self-adjustment?
No. It did not come with any instructions. Where could I find these?
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8830
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #8869 on: October 03, 2023, 12:46:48 pm »
Short-circuiting all three testpins should trigger the self-adjustment. I don't know if there's a manual for the T4 clone, but please see Karl-Heinz' documentation for the k-firmware (https://github.com/kubi48/TransistorTester-documentation).
 
The following users thanked this post: Circlotron


Offline madires

  • Super Contributor
  • ***
  • Posts: 8830
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #8871 on: October 03, 2023, 02:58:44 pm »
Make sure to choose a clone with a genuine ATmega. Currently many clones are sold with APT32F172K8T6 or LGT8F328.
 

Offline LeWidget

  • Regular Contributor
  • *
  • Posts: 122
  • Country: au
Re: $20 LCR ESR Transistor checker project
« Reply #8872 on: October 03, 2023, 05:40:55 pm »
Make sure to choose a clone with a genuine ATmega. Currently many clones are sold with APT32F172K8T6 or LGT8F328.

How do you find that out? Reading the description of the products does't mention anything about what chip they come with :/
 
The following users thanked this post: lezginka_kabardinka

Offline lezginka_kabardinka

  • Regular Contributor
  • *
  • !
  • Posts: 84
  • Country: ru
Re: $20 LCR ESR Transistor checker project
« Reply #8873 on: October 03, 2023, 06:19:44 pm »
Make sure to choose a clone with a genuine ATmega. Currently many clones are sold with APT32F172K8T6 or LGT8F328.

You make it sound like "a choice"  :-DD
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8830
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #8874 on: October 03, 2023, 06:36:31 pm »
How do you find that out? Reading the description of the products does't mention anything about what chip they come with :/

It's a lottery at the moment, but there are some hints:

Quote
We have seen popular clones sold in multiple variants with genuine ATmegas and
alternative MCUs, some even with fake ATmega markings. When buying a clone it
can be hard to identify the MCU. Some hints:
- MCU in DIP is usually an genuine ATmega.
- APT32F172K8T6 has different power pins:
  - 32-LQFP/QFN: 18=Vss, 19=Vdd (ATmega328 32-TQFP: 5=Gnd, 4=Vcc)
- APT32F172K8T6 uses SWD port for ISP:
  - 5 pins: Vdd, Vcc, F_SDAT, F_SCLK, F_RST
- Testers with APT32F172K8T6 often lack a quartz crystal.
- LGT8F328 has slightly different pins:
  - QFP32L: 21=PE2/SWD (ATmega328 32-TQFP: 21=Gnd)
- LGT8F328 uses SWD port for ISP:
  - 5 pins: Gnd, Vcc, SWD, SWC, Reset
- Clone variants with an genuine ATmega are usually about EUR/US$ 5 more
  expensive than the variant with a different MCU.

Your best bet is to look for an DIP ATmega or to build a tester yourself.
« Last Edit: October 03, 2023, 06:38:03 pm by madires »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf