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

Feliciano and 15 Guests are viewing this topic.

Offline madires

  • Super Contributor
  • ***
  • Posts: 7750
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #7875 on: September 13, 2022, 10:34:58 am »
The settings look fine. Please open ComponentTester.lss in a text editor and check if function ReadEncoder() is included.
 

Offline Andbro

  • Regular Contributor
  • *
  • Posts: 119
Re: $20 LCR ESR Transistor checker project
« Reply #7876 on: September 13, 2022, 11:33:44 am »
 
Hi,

This is the part where it talk about the rotary encoder in ComponentTester.iSS

 /*
       *  rotary encoder
       */

      #ifdef HW_ENCODER
      Test = ReadEncoder();        /* read rotary encoder */
    208c:   0e 94 31 0f    call   0x1e62   ; 0x1e62 <ReadEncoder>

      if (Test)                    /* got user input */
    2090:   88 23          and   r24, r24
    2092:   51 f1          breq   .+84        ; 0x20e8 <TestKey+0x14c>
      {
        if (Steps == 0)            /* first step */
    2094:   dd 20          and   r13, r13
    2096:   19 f0          breq   .+6         ; 0x209e <TestKey+0x102>
        {
          Key = Test;              /* save direction */
        }

        if (Test == Key)           /* step in same direction */
    2098:   8d 17          cp   r24, r29
    209a:   11 f0          breq   .+4         ; 0x20a0 <TestKey+0x104>
    209c:   69 c0          rjmp   .+210       ; 0x2170 <TestKey+0x1d4>
    209e:   d8 2f          mov   r29, r24
        {
          Steps++;                 /* increase counter */
    20a0:   d3 94          inc   r13


thank
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7750
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #7877 on: September 13, 2022, 01:46:52 pm »
That means that the firmware included the code for the rotary encoder. If the pin assingnment is correct then maybe it's a hardware problem? Does the encoder still work with the old firmware?
 

Offline bffargo

  • Contributor
  • Posts: 46
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #7878 on: September 17, 2022, 09:24:47 pm »
After the appearance of the rounded GM328A, it looks like another new clone has appeared based on a new chip or so they claim. It's called the LCR-T4-TINY and claims to "Using a new generation of chips, more powerful"  :blah:

Even smaller monochrome screen, but now only 4 socket pins doubled up through a .100 female header, and no ZIF for better tight connections.  :--  But it is small, I'll give it that.

« Last Edit: September 17, 2022, 09:31:20 pm by bffargo »
 
The following users thanked this post: elecdonia

Online Feliciano

  • Regular Contributor
  • *
  • Posts: 213
  • Country: ve
Re: $20 LCR ESR Transistor checker project
« Reply #7879 on: September 18, 2022, 12:39:52 am »
Interesting recent posts about this subject, because there are news stating the chips shortage/backlog is starting to slowly decrease.

But anyways we all know the Asian vendors will keep porsuing for cost savings and/or cutting corners. And some people think "the last version should be a better version", and the sellers know it. So we'll have to wait and see...

In the meantime, those among us looking for the ATmega-based units would have to search for older stocks and keep the fingers crossed.
« Last Edit: September 18, 2022, 12:43:48 am by Feliciano »
 
The following users thanked this post: elecdonia

Offline boneDragon

  • Contributor
  • Posts: 24
Re: $20 LCR ESR Transistor checker project
« Reply #7880 on: September 18, 2022, 06:36:49 am »
amazing why there are no tweezers form-factor for SMD parts in mass-production:
 
The following users thanked this post: TheBay

Offline madires

  • Super Contributor
  • ***
  • Posts: 7750
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #7881 on: September 18, 2022, 11:27:10 am »
 
The following users thanked this post: TheBay

Offline pizzigri

  • Regular Contributor
  • *
  • Posts: 205
  • Country: it
Re: $20 LCR ESR Transistor checker project
« Reply #7882 on: September 22, 2022, 09:26:46 am »

Thank you for this information. How did you find out that it has an APT32F172K8T6 microcontroller? I recently bought an LCR-T4 and, unfortunately, I received the "V4.1.3_2022/5/18" hardware version of this tester. I immediately saw something unusual about the microcontroller, and I checked how the (+5V) supply connects to the MCU: GND to pin 18 and VDD to pin 19!

No, this cannot be an Atmel ATmega328P, and the supply pins do match the APT32F172K8T6 pinout! Device marking: it does have an Atmel logo (that looks a bit weird), and "MEGA328P / U-TH / 35473D / 220642H" printed/etched on it. No 8 MHz crystal is mounted, and judging from the empty footprints there is a beginning of a serial-to-USB interface (for a CH340N) on the PCB. (I have seen pictures of this PCB version with the CH340N and USB connector mounted.)

Yes, be careful when ordering a new LCR-T4. If you are expecting to receive a component tester that has a genuine Atmel ATmega328P (which you could then reprogram... ) then a little chat with the seller is recommended. However, resellers may not be aware of this fake clone, or resellers may not be interested in customers demanding a product that has genuine components. My seller stated that the reason for this LCR-T4 having different components (with fake device marking on the MCU) is a "chip upgrade", and no comments on the microcontroller device markings.

So, if you have a chance to see the LCR-T4 before purchasing, it is advised to check the bottom side of the PCB to verify whether there is a crystal present. Also the top side of the "V4.1.3_2022/5/18" version PCB has a distinct pattern of traces running straight from ZIF socket to the 1, 2, & 3 test pads. Many customers have bought this product without knowing or complaining about the MCU. Some customers ask (themselves) what this USB connector is all about, but most customers just report that the device is working fine. I just wanted an LCR-T4 to experiment with and to reprogram it, but I now have to search for an original LCR-T4 clone.

Yeah, well, I got a T7 and it also has the SAME chip in it, with Atmel markings  identical to the last digit. Only silver lining, I paid 13 Euro for it, so it was not a huge loss; and maybe I can recycle some component (namely, LiIon battery, lcd screen, case)...

ETA: and I forgot to say that performance is worse - not hugely, but noticeably - to the other "antique" versions of the tester I already have, all based on the 328.
« Last Edit: September 22, 2022, 09:43:04 am by pizzigri »
 
The following users thanked this post: elecdonia

Offline boneDragon

  • Contributor
  • Posts: 24
Re: $20 LCR ESR Transistor checker project
« Reply #7883 on: September 22, 2022, 10:43:40 am »
Quote
performance is worse - not hugely, but noticeably
5% resistors, plus high parasitic capacitance in ground-flooded areas
« Last Edit: September 22, 2022, 01:20:30 pm by boneDragon »
 

Offline pizzigri

  • Regular Contributor
  • *
  • Posts: 205
  • Country: it
Re: $20 LCR ESR Transistor checker project
« Reply #7884 on: September 22, 2022, 02:32:12 pm »
Hi guys,
I've been looking for a Hiland M644 everywhere for some time - including here, with a post on the Buy/Sell/Wanted board.
On aliexpress the Hiland when available goes for almost 40 euro, with the risk that what is received is not at all what it's advertised. Having already lost 35 Euro, including the 13 Euro to the last T7 debacle, the whole point of "cheap" is moot - now it is actually preferable to spend 50-60 Euro in parts and a JLCPCB sourced board to be at least able to have a perfectly working higher end device, rather than throwing literally away money out the window... like i just did with the two dud testers I got chasing the white herring of a M644.
At this point, the option of actually drafting on diptrace a PCB becomes a sort of necessity if I want a real, certified Atmega644 inside.

.... Problem is I tried to search info on the Atmega644 based transistor tester and there is LOTS. In reality, even overwhelming.
Karl-Heinz's 1.13K manual covers a Atmega644 schematic, with many add-ons, including a relay based protection - But, no definite PCB design.
In the repository, the only PCB available is a discrete, thru hole developer kit design without LCD, built around the DIP version of the MCU - and I have a few M644 but in the smt TQFP 44 package.

The most approachable and sensible thing to do could be to use as a basis the Hiland TT-M644 schematic, and either try to loosely redraft (reverse engineer) the PCB following the pictures posted, or try to design a completely new layout...
I can do the grunt work - I can use Diptrace, but a few things are a bit out of my league. Can anyone help me, at least providing an updated schematic based on the Hiland M644 that includes all improvements and corrections discussed here since the introduction of the Hiland a few years back (including the apparently missing Measuring ports protection), and maybe once I manage to actually produce something, check on the drafted design I did not do noob errors?
Once I have a definite design, I will make both diptrace and gerber files available to everyone here! It could become sort of a "reference" design.
Please help...
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1010
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #7885 on: September 22, 2022, 02:53:00 pm »
Karl-Heinz's 1.13K manual covers a Atmega644 schematic, with many add-ons, including a relay based protection - But, no definite PCB design.
Please help...
In fact, this work has already been implemented for you by the author of the extended ATmega644-1284 tester scheme - dear Nick Lanchak. It is his great contribution to the development of this project that Karl-Heinz mentions in his manual.You can read the full documentation on his device here ;)
https://drive.google.com/folderview?id=0B4yqyYy2Daakfl9DeTBkMEJVTVNwajkzNGtjVi0wcjdMUG5ZODJXa216WFZEZG1ZZE1ud3M&usp=sharing&tid=0B4yqyYy2DaakZzBVU3JDSXB6S1E
Alternative link
http://vrtp.ru/screenshots/3588_Rev_A0.02C_m1284.zip
« Last Edit: September 22, 2022, 07:48:27 pm by indman »
 
The following users thanked this post: elecdonia

Offline pizzigri

  • Regular Contributor
  • *
  • Posts: 205
  • Country: it
Re: $20 LCR ESR Transistor checker project
« Reply #7886 on: September 22, 2022, 03:28:58 pm »
OK. So, that's FANTASTIC.
In a way, I was aware that someone called NickL. did something - I read the whole mikrocontroller.net/topic/transistortester-avr thread...  But, I could never get access - and as a matter of fact, cannot open the link even now. I login my Gmail but it says I need to request access...
ETA and now, I also tried to ask for access. using the Google form.
« Last Edit: September 22, 2022, 03:34:35 pm by pizzigri »
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1010
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #7887 on: September 22, 2022, 04:23:00 pm »
New modification English k-firmware for GM328A(AY-AT) based on the current 899th revision 1.13K.Quartz 8 or 16 MHz.Font 8x15.

The author's code has been supplemented and corrected in many places to speed up the work and best display the test results:
1. Improved font 8x15, added new symbols of inductance,zener diode,triac,thyristor, "eta" as well as large symbols UJT and PUT.
2. Test results (value data) are highlighted in a separate color.
3. A full pinout for 3 contact parts is always placed at the bottom of the display for convenience when sorting.
4. A new color icon has been added to assess the battery status. If an external power supply(>10V) is used, the display shows the inscription "DCPwr".
5. A small (simple) modification of the circuit allows you to measure the zener diodes at the terminals of the voltmeter "GND" - "V+" up to the voltage of the power supply (9-15V) by holding the Test button for a long time at start. The zener diode symbol will appear on the display if it is connected correctly, and on the 2nd line its breakdown voltage is Vz. If the zener diode is connected as a diode, only the forward voltage drop on it will be displayed on the display Vext.
6. Improved auto-detection of UJT and fixed the display of the transmission coefficient "eta".
7. The tester's algorithm has been changed for cyclic modes [RL] and [C] - now exit from these modes without turning off the tester. Long press of the Test button - exit the cyclic mode and restart the test.
8. Fixed calculation of the capacitance of diodes at a reverse voltage of 5V (negative capacitance values are no longer displayed for germanium diodes).
9. Added calculation and display of base-emitter capacitance (Cbe) for BJT.
10. Added auto-detection of silicon and Schottky/Germanium diodes with the display of the corresponding designations in the 1st line.
11. For a more accurate assessment of the quality of the potentiometers(trimmer), a display of its total resistance between contacts 1-3 has been added, as well as the percentage of resistances R1<=>R2.
12. There are now 8 full active lines in the menu without an unnecessary "Mode-Select" line. The page mode of the menu display is enabled, which increases the speed and convenience when moving through the items.The "Turn off" item is highlighted in a separate color.
13. To save memory space, the ESR in-circuit measurement mode has been removed.A similar mode can be obtained using the cyclic capacitance measurement point on terminals 1-3.
The screenshots below compare the standard firmware and the modified one
 I will answer questions about receiving this modified firmware in my personal message!
« Last Edit: September 22, 2022, 06:08:53 pm by indman »
 
The following users thanked this post: rsjsouza, elecdonia

Offline Yuriy_K

  • Regular Contributor
  • *
  • Posts: 140
  • Country: ru
Re: $20 LCR ESR Transistor checker project
« Reply #7888 on: September 25, 2022, 08:12:34 am »
A year has passed since the publication of the changes for ST7735 TTesters, posted on page 277. During this time, many changes have accumulated for the software from Karl-Heinz. The images of the elements and the program code for their display have been redesigned. Here are the new firmware, they were tested on my homemade products with ILI9341. I have no way to test on ST7735. There may be comments, write in a personal mail.
Here are pictures of some of the changes.

Added Mega64_T7 to ST7735 and similar changes for my version of Hiland M644
« Last Edit: September 25, 2022, 11:11:28 am by Yuriy_K »
 
The following users thanked this post: elecdonia, edgard22

Offline Pukker

  • Regular Contributor
  • *
  • Posts: 147
  • Country: nl
Re: $20 LCR ESR Transistor checker project
« Reply #7889 on: September 26, 2022, 06:03:55 pm »
New modification English k-firmware for GM328A(AY-AT) based on the current 899th revision 1.13K.Quartz 8 or 16 MHz.Font 8x15.


Thank you, but where to find it for download?
 

Offline boneDragon

  • Contributor
  • Posts: 24
Re: $20 LCR ESR Transistor checker project
« Reply #7890 on: September 27, 2022, 06:44:45 am »
what about 0.91" 128x32 OLED ?
 

Offline Yuriy_K

  • Regular Contributor
  • *
  • Posts: 140
  • Country: ru
Re: $20 LCR ESR Transistor checker project
« Reply #7891 on: September 28, 2022, 10:00:58 am »
I tried to add for BJT transistors measurement of junction capacitance be - Cbe. There are problems with darlington transistors with internal resistors and epitaxial transistors. With the latter, the problem was solved, but there may be other problems.
I offer the RGB version for testing. Comments and bugs are welcome...

P.S. there is not enough memory for the ATmega328, I had to refuse to show component icons on the screen. All other functions of the TTester are preserved.
 
The following users thanked this post: edgard22

Offline techie

  • Newbie
  • Posts: 5
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #7892 on: September 28, 2022, 07:55:09 pm »
Hi,

I was able to configure ComponentTester-1.47m firmware to work properly on a LCR-T5 meter, based on the STRIP_GRID_BOARD = 5 LCD port mapping found in Karl-Heinz firmware. In order for the LCD contrast to work properly within the LCD_CONTRAST range of 1-63, a minor edit to ST7565R.c was required:

The lines:
/* set contrast: resistor ratio 6.5 */
LCD_Cmd(CMD_V0_RATIO | FLAG_RATIO_65);

should be changed to:
/* set contrast: resistor ratio 4.5 */
LCD_Cmd(CMD_V0_RATIO | FLAG_RATIO_45);

I've attached Markus v1.47m firmware binaries for the LCR-T5 tester :-DMM, along with the modified source files (Makefile, config.h, config_328.h, and ST7565R.c) needed for re-compiling  :-/O:

Hope this helps!
 
The following users thanked this post: madires

Offline madires

  • Super Contributor
  • ***
  • Posts: 7750
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #7893 on: September 29, 2022, 09:54:19 am »
Has your LCR-T5 a case similar to the TC-1 and includes a LiIon battery? Or is it just a red PCB with two bush buttons at the bottom right?
 

Offline boneDragon

  • Contributor
  • Posts: 24
Re: $20 LCR ESR Transistor checker project
« Reply #7894 on: September 29, 2022, 01:46:45 pm »
OLED 128x32 works after modifying LCD_Init in SSD1306.c, line 751:

for normal display:
Code: [Select]
  // scan config
  LCD_Cmd(CMD_COM_CONFIG_SET);
  LCD_Cmd(0x20);

for rotated display:
Code: [Select]
  // scan config
  LCD_Cmd(CMD_SEGMENT_MAP);
  LCD_Cmd(CMD_COM_SCAN_DIR);
  LCD_Cmd(CMD_COM_CONFIG_SET);
  LCD_Cmd(0x02);

probably it would be useful to add condition flags OLED_32 and OLED_32F for normal and flipped display in Makefile or config.h ?
« Last Edit: September 29, 2022, 04:41:20 pm by boneDragon »
 

Offline Danyit

  • Newbie
  • Posts: 4
  • Country: it
Re: $20 LCR ESR Transistor checker project
« Reply #7895 on: September 30, 2022, 03:58:48 pm »
Hello I have the DIY Kit "‘AY-AT"’ or GM328A, with your help I Updated it with the wonderfoul M firmware (I also updated with the latest revision).
Now I am here looking for info about cap checking.
I use this 3 function for cap checking:
1) general function for component check (Capacity, ESR and Leakeage)
2) ESR (capacity and ESR NO leakeage information)
3) Cap Leakage (charge and discharge)

For Esr checking, I usually use Function 1 and 2 (they give same result). For reference I use Typical Esr values tables, founded online.
With function 1 I can aslo check for leakeage, comparing the result with the following table, founded in the manual.
10 - 220UF 1-3UA
330 - 470UF 4-5UA
470 - 820UF 4-7UA
>1000UF 5-7UA

But now for function 3 what can I do? What I have to check?

I think that if a Cap pass all the test, it should be ok, Am I wrong?
Thank you, for your support
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7750
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #7896 on: September 30, 2022, 05:13:24 pm »
There's no simple answer. Based on the capacitor type the leakage current can vary a lot. An idea would be to compare the leakage with a cap of the same type and known to be good. Some dataheets might give a hint. Also be aware that it's a low voltage test. For a proper leakage check you would need a tester able to provide the voltage the cap is rated for.
 
The following users thanked this post: Danyit

Offline techie

  • Newbie
  • Posts: 5
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #7897 on: September 30, 2022, 05:51:27 pm »
@madires   Yes, my LCR-T5 has a case similar to the TC1 and a Li-ion battery.
« Last Edit: September 30, 2022, 05:53:28 pm by techie »
 

Offline Yuriy_K

  • Regular Contributor
  • *
  • Posts: 140
  • Country: ru
Re: $20 LCR ESR Transistor checker project
« Reply #7898 on: October 02, 2022, 11:28:29 am »
Added measurement of Cbe for BJT and Cg for JFET transistors for Hyland M644. The display is clearly not suitable for such changes. I made two firmware for fonts 7x12 and 6x8. If anyone needs it please post your comments.
In the measurements, I highlighted the Darlington transistor in red and showed the measurements of this transistor on the "m" firmware and the datasheet of this transistor.
 

Offline boneDragon

  • Contributor
  • Posts: 24
Re: $20 LCR ESR Transistor checker project
« Reply #7899 on: October 03, 2022, 11:16:54 am »
is it possible to keep measured value indication between measurements,
show status (probing/not found/element type/battery status)
in upper line (or in upper right corner) ?

its not very convenient when it clears on every measurement...
« Last Edit: October 03, 2022, 12:55:54 pm by boneDragon »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf