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

tszaboo, tedris, pierreraymondrondelle and 16 Guests are viewing this topic.

Offline Feliciano

  • Regular Contributor
  • *
  • Posts: 238
  • Country: ve
Re: $20 LCR ESR Transistor checker project
« Reply #9525 on: June 25, 2024, 03:53:43 pm »
An issue here is nobody sells SMD components, so sometimes I depend on scavenging things.

I tried the option of the 2x 1N4148 (apparently more power-efficient, and it could have worked considering the original Q was around 4V for everything). But the backlight is still washing away the black. I'll keep scratching my head about this. Perhaps reducing its bright with a resistor? or I don't know if I would have to insert series resistors on the data lines? As I read, Karl-Heinz implemented setting the LCD lines as open collector (OC) and tweaking the pull-up in order to aproximate to 3.3V. I don't know whether the m-firmware has a similar workaround.

Besides that, maybe I will have to look at the ST7735.c as well. Or even cut the frame as suggested.

Additional comments:
.-Regarding the reference to blank offset settings, please note there's the same suggestion for the BSide
.-I also think this one is a runner for the crown of the sloppy designs
« Last Edit: June 25, 2024, 04:02:44 pm by Feliciano »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8014
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #9526 on: June 25, 2024, 05:12:38 pm »
Yep, if the backlight is too bright try a larger resistor. The in-series resistors for the data lines (in conjunction with the ST7735's protection diodes) are a quick n' dirty level shifter. The m-firmware doesn't support an open-collector mode (would open a can of worms when driving multiple ICs or when switching to hardware SPI).
 

Offline Feliciano

  • Regular Contributor
  • *
  • Posts: 238
  • Country: ve
Re: $20 LCR ESR Transistor checker project
« Reply #9527 on: June 25, 2024, 11:04:51 pm »
And I'm curious about another fact: what the OSHW firmware LCD driver does different during the firmware flashing procedure, compared to normal operation? Because in those seconds the black part of the screen works as it should.
« Last Edit: June 25, 2024, 11:19:37 pm by Feliciano »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8014
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #9528 on: June 26, 2024, 09:10:00 am »
During flashing the firmware doesn't run. The display will show whatever is in its memory at that time. AFAIK, the Fish8840 drives the ST7735 with 5V directly instead of using in-series resistors. So the ST7735's Vcc would get 5V minus a diode drop via the built-in protection diodes when any signal is high. For example, the TC-1 uses 10k in-series resistors plus a 3.3V LDO. The resistors limit the current and allow the LDO to keep Vcc at 3.3V.
 
The following users thanked this post: Feliciano

Offline indman

  • Super Contributor
  • ***
  • Posts: 1058
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #9529 on: June 26, 2024, 09:21:42 am »
 It’s a little strange that most Fish8840TFT owners did not complain at all about the display and its brightness when using OSHW firmware? Experience has shown that many displays do not experience problems with the 5V level on the signal buses(VDD=3.3V), although it is still technically correct to coordinate these levels not using resistors, but using at least 4050  ;)
« Last Edit: June 26, 2024, 09:32:12 am by indman »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8014
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #9530 on: June 26, 2024, 12:28:29 pm »
There are different versions of the ST7735:
- ST7735
  - I/O Voltage (VDDI to DGND): 1.65V~VDD (VDDI ≤ VDD)
  - Analog Voltage (VDD to AGND): 2.6V~3.3V
- ST7735R
  - I/O Voltage (VDDI to DGND): 1.65V~3.7V (VDDI ≤ VDD)
  - Analog Voltage (VDD to AGND): 2.3V~4.8V
- ST7735S
  - I/O Voltage (VDDI to DGND): 1.65V~3.7V (VDDI ≤ VDD)
  - Analog Voltage (VDD to AGND): 2.5V~4.8V
And possibly some compatible controllers.
 

Offline Feliciano

  • Regular Contributor
  • *
  • Posts: 238
  • Country: ve
Re: $20 LCR ESR Transistor checker project
« Reply #9531 on: June 26, 2024, 01:53:18 pm »
Interesting, and thank you all for the feedback.

So for the unit in hand, i.e. m328p+GMT177-05 (ST7735S), if the driver is not refreshing the screen (I/O=0V, I suppose) the colors are OK, but all the colors are "overdriven" when running the out-of-range of Vdd=3.6-100*I and I/O up to 5V-Vsat. (I didn't pay much attention to the screen when running the original firmware with 5V//3.3V=4V, though).

Nevertheless, according to the quoted specs I set Vdd=5-100*I, and that apparently solve this part of the issues, thanks.

Now the unit worth a little more, and I will play around with the settings trying to avoid removing the ugly yellow glue, cutting the box, and putting all back toghether without damage.
« Last Edit: June 27, 2024, 02:32:03 pm by Feliciano »
 
The following users thanked this post: edgard22

Offline Feliciano

  • Regular Contributor
  • *
  • Posts: 238
  • Country: ve
Re: $20 LCR ESR Transistor checker project
« Reply #9532 on: June 26, 2024, 06:26:39 pm »
With the simplest hardware mod and some atypical settings, I think I'm getting there:
Code: [Select]
#define LCD_DOTS_X       128
#define LCD_DOTS_Y       158
#define LCD_OFFSET_X     1 
#define LCD_OFFSET_Y     6
#define LCD_FLIP_X
#define LCD_ROTATE
And one of my narrow fonts due this odd screen frame size.

My original intention was to run K-firmware (16M) on this one, but I'm not sure on whether I could replicate something similar on those config files, so maybe I'll leave it as is.

Cheers.
« Last Edit: June 26, 2024, 09:23:23 pm by Feliciano »
 
The following users thanked this post: madires, sarahMCML

Offline Yuriy_K

  • Regular Contributor
  • *
  • Posts: 158
  • Country: ru
Re: $20 LCR ESR Transistor checker project
« Reply #9533 on: July 01, 2024, 02:46:13 am »
A question for everyone who managed to make a k-firmware for FISH 8840.
What values ​​are in your config.h?

Changed display pin configuration.
Try new firmware at the end of the previous page...
« Last Edit: July 01, 2024, 06:38:41 am by Yuriy_K »
 
The following users thanked this post: Feliciano

Offline Feliciano

  • Regular Contributor
  • *
  • Posts: 238
  • Country: ve
Re: $20 LCR ESR Transistor checker project
« Reply #9534 on: July 01, 2024, 05:23:59 pm »
To put this in context, the Fish8840TFT seems to have a different LCD pinout than the k-firmware's default. Apparently this was properly considered for the older Rev804 shared on Yandex, but looking at the long and nested if-then-else of config.h pointed out by Yuriy_K, it's different on the current trunk. It could be related with the fact of blue or green variations of this board, I'm not sure, but if that's the case, it should be added a separate branch with the proper note. (I suppose it should be also different from the unboxed monochrome versions).

In any case, the PCB I have is the blue one, works with the binaries shared on Yandex, and/or Yuriy_K on the last page, and also with the one I make now.
Code: [Select]
CFLAGS += -DLCD_ST7565_H_OFFSET=7
CFLAGS += -DLCD_ST7565_V_OFFSET=2 /* garbage seen when looking from below */
CFLAGS += -DBAT_OUT=200
CFLAGS += -DBAT_NUMERATOR=66
CFLAGS += -DBAT_DENOMINATOR=33

I will now play with both firmwares to choose what I like best.

Thanks,
« Last Edit: July 01, 2024, 09:26:47 pm by Feliciano »
 

Offline Yuriy_K

  • Regular Contributor
  • *
  • Posts: 158
  • Country: ru
Re: $20 LCR ESR Transistor checker project
« Reply #9535 on: July 05, 2024, 06:55:49 am »
Measuring small inductances on k and m firmware raises questions. I specially ordered several sets of inductances with inscriptions and SMD 0805. Here are the measurement results. For SMD 0805, I measured at frequencies of 100 and 300 kHz.
The results may surprise...
Comparisons with NJ300A readings.

I found out why the readings of the measured inductances are decreasing. This happens when the quality factor Q decreases - below 10. At higher quality values, the measurements coincide. Look at the values ​​Q -> NJ300A.

Added a confirming example. Approximately equal inductances with different quality factors Q.
« Last Edit: July 07, 2024, 06:56:27 am by Yuriy_K »
 
The following users thanked this post: Obelix2007

Offline indman

  • Super Contributor
  • ***
  • Posts: 1058
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #9536 on: July 05, 2024, 07:23:15 am »
The results may surprise...
Comparisons with NJ300A readings.
To me, there's nothing surprising here. You keep trying to compare measurements on a simple TESTER with simplistic circuitry for 5-10$ with a serious bridge-type RLC for 400-500$! There are no miracles, the RLC measurement for this project is just a BONUS option.From your photos it is obvious that the tester cannot cope with measuring coils with high active internal resistance. Don't worry so much.  :)
« Last Edit: July 05, 2024, 07:29:11 am by indman »
 

Online Phil1977

  • Frequent Contributor
  • **
  • Posts: 357
  • Country: de
Re: $20 LCR ESR Transistor checker project
« Reply #9537 on: July 05, 2024, 08:13:23 am »
On the contrary, it´s good to see that the results -at least for inductivity- are not so different at all.

If you play with the parameters of the LCR-meter (especially frequency) you probably can provoke a similar deviation.

If you want precise results you really need to specify the test parameters and then you need a LCR-meter.

If you just want to identify an unknown part, the results of the transistor tester are a great start. And that´s -from my point of view- the main application of this great little gadget.
Every time you think you designed something foolproof, the universe catches up and designs a greater fool.
 
The following users thanked this post: Jacon, Obelix2007

Offline indman

  • Super Contributor
  • ***
  • Posts: 1058
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #9538 on: July 05, 2024, 08:26:41 am »
On the contrary, it´s good to see that the results -at least for inductivity- are not so different at all.
And if you look carefully at the photo below again, is a difference in inductance of 5-6 times normal? ;)
 

Online Phil1977

  • Frequent Contributor
  • **
  • Posts: 357
  • Country: de
Re: $20 LCR ESR Transistor checker project
« Reply #9539 on: July 05, 2024, 08:41:41 am »
On the contrary, it´s good to see that the results -at least for inductivity- are not so different at all.
And if you look carefully at the photo below again, is a difference in inductance of 5-6 times normal? ;)
Thanks, I didn't see the middle value at all.

No, a difference of 5-6 of course is noteworthy.

Just to get it right: Is this a combination of an inductor with an additional series resistor? It´s strange to have that low inductance with that high series resistance in one part.
« Last Edit: July 05, 2024, 08:49:16 am by Phil1977 »
Every time you think you designed something foolproof, the universe catches up and designs a greater fool.
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1058
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #9540 on: July 05, 2024, 09:00:14 am »
Just to get it right: Is this a combination of an inductor with an additional series resistor? It´s strange to have that low inductance with that high series resistance in one part.
No, the photo shows the resonant method of measuring inductance on k-firmware using a calibration capacitance connected in parallel to the coil.
On m-firmware, inductance is measured in a standard way through current pulses.
« Last Edit: July 05, 2024, 09:01:58 am by indman »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8014
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #9541 on: July 05, 2024, 09:58:10 am »
As already mentioned multiple times, the Transistortester isn't an LCR meter. It can measure capacitance and inductance within some limits. I'll add a note to the m-firmware's documentation.
 

Offline Feliciano

  • Regular Contributor
  • *
  • Posts: 238
  • Country: ve
Re: $20 LCR ESR Transistor checker project
« Reply #9542 on: July 10, 2024, 06:30:42 pm »
Just for fun, I threw a bilateral switch (2N4992) to my ctesters, and like the SUS I reported while back, this SBS is identified as BJT-PNP with high hFE by 1.13k, and as PUT by 1.52m.
« Last Edit: July 10, 2024, 06:34:01 pm by Feliciano »
 
The following users thanked this post: madires

Offline Sardarshams

  • Newbie
  • Posts: 1
  • Country: ir
Re: $20 LCR ESR Transistor checker project
« Reply #9543 on: July 18, 2024, 08:50:16 pm »
Hello, I need the hex file and eeprom  of this tester for version 1.52m
With 16 MHz crystal
Tester specifications
GM328A
Atmeg328p
Display
LCD TFT display XY18CG958-18B, 128 x 160 dots, ST7735S, SPI, 18 PIN, 1.8 inches for GM-328
Thank you

https://www.amazon.com/Transistor-Capacitor-Resistor-Capacitance-Automatic/dp/B09J48VN4V
 

Offline Davo013

  • Contributor
  • Posts: 37
  • Country: nl
Re: $20 LCR ESR Transistor checker project
« Reply #9544 on: July 21, 2024, 08:02:19 pm »
Hi!
i've been busy for day's trying to reanimate my BSide ESRPro02
It died a while ago when i accidentally zapped it with a capacitor hahaha
I've replaced the atmega328p
i'm not a programmer, so compiling etc. is a real headache for me...
After long searching & trying I managed it.
Luckily i found a compiled firmware and burned it with a usbasp cable with avrdudess
This was the only decent working firmware... At least i thought it was.
The are some issues, i shall add the pictures..
I compared the measurements with other tools and i got some weirds results

A cap from 2000uF 0.0 esr measures as 5967uF 0.0 esr
A cap from 4484uF 0.01 esr measures as 13.52mF 0.0 esr
Somehow the capacity triples at higher values
A cap from 35uF 1.48 esr measures as 36.98uF 0.0 esr
So that's kinda odd because it's not linear, and the esr isn't working also...
An resistor from 993r measures as 992.1r
An resistor from 10.01k measures as 12.2k
An resistor from 990k measures as 993.7k
Kinda weird though that 10k resistor is way off, while an 1k & 1m resistor are quite spot on
and sometimes the measurement switches between resistor & Coil?

Maybe i did something wrong? i really have no clue... hopefully someone can help me out
« Last Edit: July 21, 2024, 08:10:29 pm by Davo013 »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8014
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #9545 on: July 21, 2024, 08:14:03 pm »
Have you set the fuse bits (low: 0xf7, high 0xd9, ext: 0xfc)?
 

Offline Davo013

  • Contributor
  • Posts: 37
  • Country: nl
Re: $20 LCR ESR Transistor checker project
« Reply #9546 on: July 21, 2024, 08:19:03 pm »
See attachement

but i had them like this2318255-0
 


Offline madires

  • Super Contributor
  • ***
  • Posts: 8014
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #9548 on: July 21, 2024, 08:41:26 pm »
Please change the fuse bits to:
- low: 0xf7
- high: 0xd9
- ext: 0xfc
 
The following users thanked this post: Sardarshams

Offline Davo013

  • Contributor
  • Posts: 37
  • Country: nl
Re: $20 LCR ESR Transistor checker project
« Reply #9549 on: July 21, 2024, 08:46:45 pm »
I just did, but somehow no difference, i try to do some more tests
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf