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

0 Members and 27 Guests are viewing this topic.

Offline Feliciano

  • Frequent Contributor
  • **
  • Posts: 273
  • Country: ve
Re: $20 LCR ESR Transistor checker project
« Reply #7975 on: December 05, 2022, 09:04:01 pm »
The Transistortester uses DC for measuring inductance (standard measurement method, SamplingADC is a different story) while a proper LCR meter applies an AC signal.
Currently I have one WEI with K-fimware and one of the new T7 (not a 324) with Chinese firmware. IIRC, the SamplingADC is enabled for the first one, but I don't have both equipment in front of me to take some snapshots now.

When I measure some chokes or transformers, the first(s) measurement(s) gives me one value, and further measurements tend to give me different, but reasonable stable, values. That's why I think the measurement method perhaps uses more pulses in one direction than the other, therefore having some sort DC offset which in some cases is more noticeable than others. But you guys know the code better.
 

Offline Spongey

  • Contributor
  • Posts: 16
  • Country: gb
Re: $20 LCR ESR Transistor checker project
« Reply #7976 on: December 06, 2022, 12:53:51 am »
I finally took the plunge and got a random version from eBay. From the outside this looks identical to the LCR-TC1 version but inside it has the same PCB as LCR-T7(FNIRSI) AFAICS complete with a (presumably fake) chip marked as MEGA328P.

When you power it up in test mode it says FNIRSI-TC1, pauses at 38% but it does not report the firmware version at the end.

I was hoping to reflash it, never mind.
 
The following users thanked this post: elecdonia

Offline Yuriy_K

  • Regular Contributor
  • *
  • Posts: 196
  • Country: ru
Re: $20 LCR ESR Transistor checker project
« Reply #7977 on: December 06, 2022, 07:30:00 am »
I propose a new version of the addition of the TTester circuit for measuring quartz and ceramic resonators in the range of 100 kHz - 20 MHz. The Chinese version HCF4060BE with a supply voltage of 6V and the use of an internal divider, allows you to measure quartz up to 20 MHz. Malaysian variant up to 16 MHz. I did not manage to lower the frequency for sentries (32768 Hz).

P.S. I apologize for some texts in Cyrillic, while debugging...
 
The following users thanked this post: Feliciano

Offline madires

  • Super Contributor
  • ***
  • Posts: 8849
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #7978 on: December 06, 2022, 11:24:28 am »
Firmware-wise it would be the extended frequency counter without the input selection. I could add it as a new counter variation.
 
The following users thanked this post: Hernexto

Offline jemp

  • Contributor
  • Posts: 35
  • Country: be
Re: $20 LCR ESR Transistor checker project
« Reply #7979 on: December 06, 2022, 04:37:59 pm »
Hello
Got 2 LCR Testers today from AliXpress..  New LCR-T4 and LCR-T7 Color  
Both have new firmware version 3.12K  
Does anybody know where to find this firmware.. or is it a hoax..  mean Chinese Variants.. ?

tnx for info

JP
 
The following users thanked this post: elecdonia

Offline madires

  • Super Contributor
  • ***
  • Posts: 8849
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #7980 on: December 06, 2022, 05:15:19 pm »
That's a modified k-firmware with fancy graphics and less features.
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1378
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #7981 on: December 06, 2022, 05:23:12 pm »
New LCR-T4 and LCR-T7 Color 
Both have new firmware version 3.12K 
I'm not 100% sure, but these new firmware are protected for reading and are also designed for clones with Chinese-made microcontrollers. This is mentioned in my clone comparison table.;)
 
The following users thanked this post: elecdonia

Offline Yuriy_K

  • Regular Contributor
  • *
  • Posts: 196
  • Country: ru
Re: $20 LCR ESR Transistor checker project
« Reply #7982 on: December 07, 2022, 08:12:35 am »
Firmware-wise it would be the extended frequency counter without the input selection. I could add it as a new counter variation.
To use the 4060 as a driver pre-amplifier, the following circuit must be applied. A multi-turn variable resistor will allow you to accurately set the maximum conversion frequency.
 

Offline jemp

  • Contributor
  • Posts: 35
  • Country: be
Re: $20 LCR ESR Transistor checker project
« Reply #7983 on: December 08, 2022, 05:19:18 pm »
Hello, like in  #7908 I have also a MK-328 , with PCB 1.0 Date 2014/07/14
I programmed it with 1.13k..
Seems to be 2-3 versions.. with light fonts, or thicker fonts..
So programming no problem at all..
I works OK, starts up etc.. will do calibrate etc..  BUT....
I wont shut off ! when no component in it.. it goes blank and restart always again, automatically

Any thoughts ?

Does anybody has the ORIGINAL Firmware 1.11 ?

Tnx Jemp
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8849
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #7984 on: December 09, 2022, 11:56:42 am »
The k-firmwmare has a setting for power management called POWER_OFF (in the Makefile). What have you set for POWER_OFF? Or have you disabled it?
 

Offline jemp

  • Contributor
  • Posts: 35
  • Country: be
Re: $20 LCR ESR Transistor checker project
« Reply #7985 on: December 09, 2022, 02:38:13 pm »
Hi Markus
I did not compile the soft myself for the moment
I just flashed firm 1.13k, like attachment in msg #7910-11 and following
No firmware whatsoever closes the Tester Down... it resets itself constantly..
Could be a hardware failure..?
But I measures OK and perfectly.. just wont power off , after certain time
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8849
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #7986 on: December 09, 2022, 03:07:57 pm »
A common setting for POWER_OFF is 5, i.e. the tester will shut down after 5 consecutive "no part found" messages. You could also try to press the test button for a few seconds after the last result.
 

Offline jemp

  • Contributor
  • Posts: 35
  • Country: be
Re: $20 LCR ESR Transistor checker project
« Reply #7987 on: December 09, 2022, 08:33:46 pm »
Tnx, Marcus for input
Found problem..  due to soldering new chip ATMEGA328P, i made short circuit, between pin 10-11  so turn-on and turn-off were connected..
My mistake;.
Firm 1.13K works TOP !! tnx Guys and Designers..

JP
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1378
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #7988 on: December 13, 2022, 03:13:59 pm »
New modification English k-firmware for clones LCR-TC1(LCR-TC2,T7) based on the current 899th revision 1.13K.Quartz 8,16 or 20MHz.Font 8x15.With 8MHz quartz there will be no option to test different resonators.

The firmware will work only on clones with installed ATMega644 MCU and ST7735 display!

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.
5. Measure the zener diodes at the terminals of the voltmeter "A" - "K". 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 "Switch off" item is highlighted in a separate color.

I will answer questions about receiving this modified firmware in my personal message!
« Last Edit: December 13, 2022, 03:16:08 pm by indman »
 
The following users thanked this post: all_repair, madires, edavid, elecdonia, wandows

Offline madires

  • Super Contributor
  • ***
  • Posts: 8849
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #7989 on: December 13, 2022, 07:36:43 pm »
And another one:

v1.48m
- Added remote command V_F_clamp for V_f of clamping diode for Schottky transistors.
- Pin assignment for the 3 test pins/probes can be changed now (suggested by dreieck@mikrocontroller.net).
- Optional confirmation beep for valid frame/packet in IR receiver/decoder (SW_IR_RX_BEEP) or after probing is done (UI_PROBING_DONE_BEEP).
- Updated license to EUPL v. 1.2.
- Option to center-align infos and some other texts (UI_CENTER_ALIGN).
- Option to show self-discharge voltage loss of a capacitor > 50nF (SW_C_VLOSS, suggested by indman@EEVblog). Also added as remote command.
- Option to show additional info for a possible potentiometer/trimpot (SW_R_TRIMMER)
- Workaround option for clones with SCT15L104W management MCU, in case the tester turns off suddenly after the first probing cycle (PASSIVE_POWER_CTRL, based on idea from lhlad@EEVblog).
- Added option to switch boost converter for Zener check by a dedicated I/O pin (ZENER_SWITCHED, suggested by Per Hansson@EEVblog).
- New option to display values in a different color (UI_COLORED_VALUES, suggested by indman@EEVblog).
- Added precompiler check for detecting if multiple displays are configured (suggested by Per Hansson@EEVblog).
- Moved supporting configuration management from config.h and config_<MCU>.h to a new header file (config_support.h). Also added a few additional configuration checks. Fixed issue with missing text for SW_DHTXX (reported by BroMarduk@EEVblog).
- Moved UJT symbol bitmap to standard symbols.

Please download at:
- https://github.com/madires/Transistortester-Warehouse/tree/master/Firmware/m-firmware
- https://github.com/kubi48/TransistorTester-source/tree/master/Markus
« Last Edit: December 22, 2022, 12:53:27 pm by madires »
 
The following users thanked this post: all_repair, edavid, indman, Per Hansson, pepe10000, Obelix2007, Fuzzy Star, Dumidan, edgard22, wandows, Polf

Offline Adrian_Arg.

  • Frequent Contributor
  • **
  • Posts: 456
  • Country: ar
Re: $20 LCR ESR Transistor checker project
« Reply #7990 on: December 14, 2022, 03:03:21 pm »
very silly question, has anyone made a video of the complete process to make the hex and epp files, using the files downloaded from here
very silly question, has anyone made a video of the complete process to make the hex and epp files, using the files downloaded from here
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8849
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #7991 on: December 14, 2022, 03:12:53 pm »
For example:
 
The following users thanked this post: Tech_JA, pierreraymondrondelle

Offline dazz

  • Frequent Contributor
  • **
  • Posts: 315
  • Country: es
Re: $20 LCR ESR Transistor checker project
« Reply #7992 on: December 16, 2022, 03:05:33 am »
Quick question, please. I have an LCR-T4 I bought years ago. Will I get the extra functionality present in other versions of the tester if I flash this firmware, please?
https://github.com/Mikrocontroller-net/transistortester/tree/master/Software/trunk/mega328_T4_v2_st7565
I mean stuff like leakage currents for transistors, and all the extra goodies the GM328 has. Or those things are device specific?
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1378
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #7993 on: December 16, 2022, 10:00:28 am »
I have updated the comparison table of the most popular clones, taking into account the release of the new 1.48m
https://yadi.sk/d/yW8xa5NJgUo5z  ;)
I have also updated the Russian-language pdf format instruction for 1.48m as well as the change log file CHANGES.ru ;)
 
The following users thanked this post: madires, Tech_JA, elecdonia, Polf

Offline dazz

  • Frequent Contributor
  • **
  • Posts: 315
  • Country: es
Re: $20 LCR ESR Transistor checker project
« Reply #7994 on: December 16, 2022, 10:56:20 am »
OK, I managed to brick my T4. I flashed the firmware using:

avrdude -p m328p -P usb -c usbasp -U flash:w:mega328_T4_v2_st7565.hex

Now I have a black screen at all times. Any ideas, please? Do I need to also flash the eep file or something?
Thanks

EDIT: Here's the avrdude command output:

Code: [Select]
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.04s

avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
         To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: reading input file "mega328_T4_v2_st7565.hex"
avrdude: input file mega328_T4_v2_st7565.hex auto detected as Intel Hex
avrdude: writing flash (29334 bytes):

Writing | ################################################## | 100% 18.99s

avrdude: 29334 bytes of flash written
avrdude: verifying flash memory against mega328_T4_v2_st7565.hex:
avrdude: load data flash data from input file mega328_T4_v2_st7565.hex:
avrdude: input file mega328_T4_v2_st7565.hex auto detected as Intel Hex
avrdude: input file mega328_T4_v2_st7565.hex contains 29334 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 16.90s

avrdude: verifying ...
avrdude: 29334 bytes of flash verified

avrdude: safemode: Fuses OK (E:FD, H:D9, L:F7)

avrdude done.  Thank you.

EDIT2: Oh, I erased the entire flash memory and now I need to burn the bootloader again, right?
« Last Edit: December 16, 2022, 11:24:24 am by dazz »
 

Offline dazz

  • Frequent Contributor
  • **
  • Posts: 315
  • Country: es
Re: $20 LCR ESR Transistor checker project
« Reply #7995 on: December 16, 2022, 11:45:48 am »
Oh! I needed to flash the eeprom file as well, of course! In case someone finds this and it helps, this is the command that worked for me:

avrdude -p m328p -P usb -c usbasp -U flash:w:mega328_T4_v2_st7565.hex -U eeprom:w:mega328_T4_v2_st7565.eep
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8849
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #7996 on: December 16, 2022, 02:54:44 pm »
Quick question, please. I have an LCR-T4 I bought years ago. Will I get the extra functionality present in other versions of the tester if I flash this firmware, please?
https://github.com/Mikrocontroller-net/transistortester/tree/master/Software/trunk/mega328_T4_v2_st7565
I mean stuff like leakage currents for transistors, and all the extra goodies the GM328 has. Or those things are device specific?

Yes! Please see https://github.com/kubi48/TransistorTester-source/tree/master/trunk for the latest version. No, only hardware specific options. However, the flash size might limit the features available.
 
The following users thanked this post: dazz

Offline dazz

  • Frequent Contributor
  • **
  • Posts: 315
  • Country: es
Re: $20 LCR ESR Transistor checker project
« Reply #7997 on: December 16, 2022, 04:06:40 pm »
Quick question, please. I have an LCR-T4 I bought years ago. Will I get the extra functionality present in other versions of the tester if I flash this firmware, please?
https://github.com/Mikrocontroller-net/transistortester/tree/master/Software/trunk/mega328_T4_v2_st7565
I mean stuff like leakage currents for transistors, and all the extra goodies the GM328 has. Or those things are device specific?

Yes! Please see https://github.com/kubi48/TransistorTester-source/tree/master/trunk for the latest version. No, only hardware specific options. However, the flash size might limit the features available.

Thanks, madires. I'll try those as well... In a while, after I replace the LCD screen, cause I managed to rip the connector off. Oh well  |O
 

Offline elecdonia

  • Frequent Contributor
  • **
  • Posts: 418
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #7998 on: December 17, 2022, 06:05:58 pm »
That is approximately what it measure in circuit.  I can pull it an measure it accurately tonight.
Does anyone know what IC U7 is?  It is not the SDB628 mentioned above; the pin wiring does not match.
U7 is very similar to SY7208CABC in the location of the contacts, but this cannot be said with 100% certainty, because the HYDSI or HYDWE marking does not appear anywhere yet.

P.S Here is an even more likely interpretation of U7 - this is AN_SY7200A (marking HY6VE). If you believe the documentation for this chip, then the output current is calculated by the formula I=0.2/R1. If R1 = 40 ohms, then the test current I=0.2/40=0.005A, that is, 5mA.

Now it remains to solve the riddle from Chinese friends -why does this circuit not withstand a given R1 current and allows it to conduct a much higher current?

I recently purchased one of these so-called "improved" LCR-TC1 transistor tester units. U1 (MCU) is mislabeled as a Mega328. The display shows "FNIRSI" when performing the self-calibration. This tester contains the U7 circuit (as discussed in this thread) to generate 30V DC for testing zeners.

For me the zener test feature worked properly a couple of times without excessive zener current, but then it failed in the mode where the zener test current isn't limited.
After it failed I measured up to 500mA into a short circuit placed on the K and A terminals. I did this test very briefly. Fortunately conducting this short-circuit current test one time did not cause any additional failures. The U7 circuit continues to generate 30V (but without any current limiting). All other functions of the tester still work OK.

I believe the failure occurred when I connected an 11V zener across the K and A test terminals while the tester was already powered up.

Here is what I suspect causes U7 to fail:

1) When powered up with an open circuit on the K and A terminals, U7 continuously generates the full 30V DC output. The filter capacitor on the 30V rail, although small, still holds a substantial amount of energy when charged up to 30V.
2) Connecting a component across K and A can immediately dump the entire 30V directly into the current sensing pin of U7, causing this pin to permanently short circuit.
3) According to the U7 datasheet the current sensing pin is only capable of handling 4V

To prevent the failure of U7 I intend to experiment with placing a resistor of perhaps 4K7 or 10K between the high end of the 40 ohm sensing resistor and the current sensing terminal of U7. Hopefully this will prevent failures of U7. The worst case test will be to have the tester powered up and then apply a short circuit between K and A.

U7 is intended for use as a current-limited LED driver. In this application the string of LEDs is permanently connected. Therefore the current limit will activate gradually as the output voltage rises soon after power up. In this case the feedback loop is always closed, preventing excessive voltage from reaching the current sensing pin of U7.

But in the transistor tester application, the output voltage rises to the full 30V when K and A are open circuit. The output voltage rises to 30V because the current-limiting feedback loop is open. Then, when a short-circuit or low resistance is applied across K and A, the entire 30V is instantly dumped into the current sensing pin of U7. This is what damages U7.

I will post my results after testing. First I must obtain a supply of replacement U7 chips. I will try to get several types that have the same pinout, including the SY7200A.

-EB
« Last Edit: December 17, 2022, 06:08:46 pm by elecdonia »
I’m learning to be a leading-edge designer of trailing-edge technology.
 
The following users thanked this post: madires

Offline Per Hansson

  • Supporter
  • ****
  • Posts: 472
  • Country: se
Re: $20 LCR ESR Transistor checker project
« Reply #7999 on: December 20, 2022, 12:50:00 pm »
And another one:

v1.48m
- Added option to switch boost converter for Zener check by a dedicated I/O pin (ZENER_SWITCHED, suggested by Per Hansson@EEVblog).
Here is a little picture to go together with this new option for the Hiland Elec M644 based on Indman's schematic, maybe someone can find it helpful :)
« Last Edit: December 20, 2022, 12:53:47 pm by Per Hansson »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf