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

0 Members and 6 Guests are viewing this topic.

Offline edgard22

  • Contributor
  • Posts: 11
  • Country: uy
Re: $20 LCR ESR Transistor checker project
« Reply #9675 on: September 01, 2024, 08:49:22 pm »
Yes, okay, but I never thought it was that bad. It is very imprecise in voltage measurements, for example. Now that I saw several reviews I should have bought an OWON SDS1104 or the Hantek DSO2D10 for almost the same price.   :-+
 

Offline Feliciano

  • Frequent Contributor
  • **
  • Posts: 265
  • Country: ve
Re: $20 LCR ESR Transistor checker project
« Reply #9676 on: September 02, 2024, 12:33:14 am »
If we start to talk about FNIRSI, we could spend pages discussing its bad build quality, low-grade components, and poorly ported firmware. I think the point has been already made several times on this thread. For those interested, a quick search would retrieve many examples.
 

Offline Strateg58

  • Contributor
  • Posts: 19
  • Country: ru
    • https://www.eevblog.com/forum/register2/
Re: $20 LCR ESR Transistor checker project
« Reply #9677 on: September 04, 2024, 06:12:00 am »
Hi everybody. is it possible to increase the contrast of the ILI9341 display in firmware 1.53M?
« Last Edit: September 04, 2024, 06:17:29 am by Strateg58 »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8304
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #9678 on: September 04, 2024, 02:45:59 pm »
Color displays usually have some sort of auto-contrast. But you could play with the VCOM control 1 in file ILI9341.c, function LCD_Init():
Code: [Select]
  /* VCOM control 1 */
  LCD_Cmd(CMD_VCOM_CTRL_1);
  LCD_Data(FLAG_VMH_5000);         /* 5.000V, could be used to adjust contrast */
  LCD_Data(FLAG_VML_0600);         /* -0.600V */

For supported values please see file ILI9341.h (search for CMD_VCOM_CTRL_1).
 
The following users thanked this post: Strateg58

Offline Strateg58

  • Contributor
  • Posts: 19
  • Country: ru
    • https://www.eevblog.com/forum/register2/
Re: $20 LCR ESR Transistor checker project
« Reply #9679 on: September 06, 2024, 09:16:54 am »
Dear Magirus. Help me figure out my problem. I added the frequency meter function to my transistor tester LCR TC-1 v2.0. It measures the frequency, but the line with the frequency value on the screen does not stand steadily but blinks constantly. The higher the measured frequency, the more frequent the blinking. Firmware 1.53. On another tester with firmware 1.13, the line with the frequency value does not blink during measurements. I used two different schemes (in the attachment). Nothing changes. I am sending a signal from another transistor tester. The frequency meter input is made on Pin.40 PBO Atmega644PA.
« Last Edit: September 06, 2024, 09:24:51 am by Strateg58 »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8304
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #9680 on: September 06, 2024, 11:56:21 am »
Which display does the LCR TC-1 tester have? ST7735? ILI9341/9342? And which display does the other tester have?
 

Offline Strateg58

  • Contributor
  • Posts: 19
  • Country: ru
    • https://www.eevblog.com/forum/register2/
Re: $20 LCR ESR Transistor checker project
« Reply #9681 on: September 07, 2024, 02:32:12 am »
Both testers have ILI9341 displays. With firmware 1.51 2.8 inches. With 1.13K 2.4inch firmware.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8304
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #9682 on: September 07, 2024, 07:48:39 am »
And you're using bit-bang SPI based on the schematics a few posts earlier? Bit-bang SPI with high resolution color displays is a bit slow as it takes more time to write the color data. If you would use PB5 for SDA and PB3 for D/C you could run hardware SPI.
 

Offline Strateg58

  • Contributor
  • Posts: 19
  • Country: ru
    • https://www.eevblog.com/forum/register2/
Re: $20 LCR ESR Transistor checker project
« Reply #9683 on: September 07, 2024, 11:51:30 am »
Here are my settings in Config. 644H and Config.H PB3 is connected to the pin DC ILI9341. PB5 is connected to the pin SPI MOSI ILI9341.
« Last Edit: September 07, 2024, 12:10:13 pm by Strateg58 »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8304
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #9684 on: September 07, 2024, 12:42:47 pm »
SPI_HARDWARE is already enabled in config_644.h. So you don't have to enable it also in config.h.

Regarding the frequency output, after each measurement the frequency is displayed as "f <frequency>Hz". Or in case of a bad measurement it's going to be "f -". For higher frequencies the gate time decreases and therefore also the measurement time, i.e. the frequency display is updated faster.
« Last Edit: September 07, 2024, 03:01:28 pm by madires »
 

Offline Strateg58

  • Contributor
  • Posts: 19
  • Country: ru
    • https://www.eevblog.com/forum/register2/
Re: $20 LCR ESR Transistor checker project
« Reply #9685 on: September 07, 2024, 04:05:06 pm »
Madires thank you for giving me your time. If I understood you correctly, is the line with the frequency value supposed to flash like this? Then I don't understand why it doesn't flash on 1.13K firmware.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8304
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #9686 on: September 07, 2024, 04:45:28 pm »
I'm not sure about what you mean by blinking or flashing. The frequency measurement should just update the displayed frequency.
 

Offline Strateg58

  • Contributor
  • Posts: 19
  • Country: ru
    • https://www.eevblog.com/forum/register2/
Re: $20 LCR ESR Transistor checker project
« Reply #9687 on: September 07, 2024, 07:52:24 pm »
I apologize for the importunity. Can you tell me where I can send a short video of the tester's work? Dear Madires, here are the links to the video. https://disk.yandex.com/i/FZ2ESWuMs8H_0Q  https://disk.yandex.com/i/7Rvlps-JaUG8Lg https://disk.yandex.com/i/sZvqB-BdgxDiWA  On the left is a tester with firmware 1.53,on the right with firmware 1.13K
« Last Edit: September 08, 2024, 03:01:37 am by Strateg58 »
 

Offline Yuriy_K

  • Regular Contributor
  • *
  • Posts: 188
  • Country: ru
Re: $20 LCR ESR Transistor checker project
« Reply #9688 on: September 08, 2024, 04:24:42 am »
Your importunity is already annoying. Open source code allows you to make the necessary changes. And there is no need to distract the author with such questions. Here is an example of how your problem is solved in two minutes.

Why use a colored background for TFT displays? And reduce its resource. See an example of my design...
https://www.eevblog.com/forum/testgear/...043/#msg4882043

And also, judging by your videos, the LED backlight resistors are incorrectly selected on the displays. It's not about contrast, but about excessive brightness; for such displays, the resistance in the backlight circuit should be 75-100 kOhm. This is all described in the link below in the messages.
« Last Edit: September 08, 2024, 09:02:25 am by Yuriy_K »
 

Offline Strateg58

  • Contributor
  • Posts: 19
  • Country: ru
    • https://www.eevblog.com/forum/register2/
Re: $20 LCR ESR Transistor checker project
« Reply #9689 on: September 08, 2024, 07:01:56 am »
Yuri, thank you for your help. If you had responded earlier, I would not have bothered the author. I just had to figure out what the problem was. I'm not a professional, just an ordinary amateur radio operator. I flashed the tester with your file.. Now everything is fine. Thanks again.
« Last Edit: September 08, 2024, 03:50:44 pm by Strateg58 »
 

Offline Strateg58

  • Contributor
  • Posts: 19
  • Country: ru
    • https://www.eevblog.com/forum/register2/
Re: $20 LCR ESR Transistor checker project
« Reply #9690 on: September 08, 2024, 03:58:29 pm »
Why use a colored background for TFT displays? And reduce its resource. See an example of my design...
https://www.eevblog.com/forum/testgear/...043/#msg4882043

And also, judging by your videos, the LED backlight resistors are incorrectly selected on the displays. It's not about contrast, but about excessive brightness; for such displays, the resistance in the backlight circuit should be 75-100 kOhm. This is all described in the link below in the messages.
  Well, I don't like the black background. My display backlight is powered by 3.3 volts. The resistor was selected experimentally. If memory does not change somewhere 10k.
 

Offline Spenoza

  • Newbie
  • Posts: 9
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #9691 on: September 15, 2024, 03:29:15 pm »
I have several Atmega64 available, they are similar to the Atmega644 but in a 64-pin case. Is it difficult to modify the firmware for this microcontroller? Maybe someone tried it?. So far, the only thing that bothers me is the lack of a T0 input. In Atmega64, this timer is used to a quartz watch. But it seems that you can send a signal to one of the pin. Can anyone recommend something?
 

Offline iMo

  • Super Contributor
  • ***
  • Posts: 5621
  • Country: va
Re: $20 LCR ESR Transistor checker project
« Reply #9692 on: September 28, 2024, 06:23:51 am »
Hi, I assembled the "M328Kit+TFT(AY-AT)" years back and not upgraded the sw yet.
My question before reading the docs of this monumental project - is there a binary for the 1.53m I can flash into the 328, or I have to build the binary out of the sources from the github of madires? Thanks!
Readers discretion is advised..
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8304
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #9693 on: September 28, 2024, 08:17:11 am »
The latter. Please use the settings listed in the Clones file as starting point to customize the firmware for your needs.
 
The following users thanked this post: iMo

Offline Andbro

  • Regular Contributor
  • *
  • Posts: 121
Re: $20 LCR ESR Transistor checker project
« Reply #9694 on: October 14, 2024, 05:32:51 pm »
Hi,

In PROGRAMMER NOTEPAD, when i choice MAKE ALL, i have this error message.

 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8304
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #9695 on: October 14, 2024, 07:01:22 pm »
That's a known winavr problem. IIRC, msys-1.0.dll needs to be replaced with a different version.
 

Offline fafa80

  • Newbie
  • Posts: 2
  • Country: de
  • M328Kit+TFT(AY-AT) upgraded
Re: $20 LCR ESR Transistor checker project
« Reply #9696 on: October 20, 2024, 08:01:32 am »
Hi, I am pretty new in the forum but I use the AVR component tester ( different revisions ) since years. I just compiled and installed the 1.53m and I saw something strange measuring a Schottky diode 1N5817. The junktion capacity is huge, C 318μF. I compared the reading with another tester on firmware 1.13k, this one reads normal. And tested 2 more diodes as comparison, they get similar values on 1.13k and 1.53m, but the 1.53m does not read the reverse current.
Is this a known behaviour or is it an issue with the 1.53m ?
See below the readings, and details of the component testers.

1N5817

1.13k ( mega328_color (GM328A) 8MHz )
Uf=259mV
77pF-28pF @0-5V
Ir=.74μA

1.53m ( M328Kit+TFT(AY-AT) 16MHz )
Vf 284mV (88)
I_R 0,65μA
C 318.μF

1N4007

1.13k ( mega328_color (GM328A) 8MHz )
Uf=680mV
6.2pF-4.9pF @0-5V
Ir=2nA

1.53m ( M328Kit+TFT(AY-AT) 16MHz )
Vf 693mV
C 8pF

1N4148

1.13k ( mega328_color (GM328A) 8MHz )
Uf=707mV
.21pF-.05pF @0-5V
Ir=2nA

1.53m ( M328Kit+TFT(AY-AT) 16MHz )
Vf 710mV
C 1pF
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1214
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #9697 on: October 20, 2024, 09:42:36 am »
Madires, Now in m-firmware the reverse leakage current is only displayed if it is greater than or equal to 50nA.
Can it display this current if it is less than 50nA?

The junktion capacity is huge, C 318μF.
The typical capacitance of the 1N5817 is 110pF.
Your tester shows an unrealistic phantom capacitance, possibly signaling a contact problem in your clone.
« Last Edit: October 20, 2024, 09:56:48 am by indman »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8304
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #9698 on: October 20, 2024, 10:24:37 am »
I just compiled and installed the 1.53m and I saw something strange measuring a Schottky diode 1N5817. The junktion capacity is huge, C 318μF. I compared the reading with another tester on firmware 1.13k, this one reads normal. And tested 2 more diodes as comparison, they get similar values on 1.13k and 1.53m,

Could be a power supply issue, e.g SMPSU, or a bad contact, as indman already mentioned.

... but the 1.53m does not read the reverse current.
Is this a known behaviour or is it an issue with the 1.53m ?
See below the readings, and details of the component testers.

From the README:
Quote
* Displaying Results
...
The leakage current I_R for a single diode or I_CEO for a BJT will be displayed if it exeeds 50nA.

If you like to get the leakage/reverse current in any case you can edit function Show_SemiCurrent() in main.c:
Code: [Select]
void Show_SemiCurrent(const unsigned char *String)
{
  if (CmpValue(Semi.I_value, Semi.I_scale, 50, -9) >= 0)  /* show if >=50nA */
  {
    Display_NL_EEString_Space(String);               /* display: <string> */
    Display_Value(Semi.I_value, Semi.I_scale, 'A');  /* display current */
  }
}
and remove the condition:
Code: [Select]
void Show_SemiCurrent(const unsigned char *String)
{
  Display_NL_EEString_Space(String);               /* display: <string> */
  Display_Value(Semi.I_value, Semi.I_scale, 'A');  /* display current */
}
« Last Edit: October 20, 2024, 10:26:24 am by madires »
 
The following users thanked this post: indman

Offline indman

  • Super Contributor
  • ***
  • Posts: 1214
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #9699 on: October 20, 2024, 10:32:08 am »
If you like to get the leakage/reverse current in any case you can edit function Show_SemiCurrent() in main.c:
Madires, thanks for the reply! Could you please explain in more detail the reason why you limited the reverse current display to 50nA?

I tested the reverse current display according to your advice if I disable the line
"if (CmpValue(Semi.I_value, Semi.I_scale, 50, -9) >= 0)  /* show if >=50nA */"
But then we need to increase the resolution of the displayed current a little bit, because now it won't show nA units?
« Last Edit: October 20, 2024, 11:26:21 am by indman »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf