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

szpila and 10 Guests are viewing this topic.

Offline madires

  • Super Contributor
  • ***
  • Posts: 7773
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #9400 on: April 14, 2024, 09:04:50 am »
You could try following:

In display.c, function Display_Value() change
Code: [Select]
    if (Offset > 0)                     /* dot required */
to
Code: [Select]
    /* dot required or 4-digit value */
    if ((Offset > 0) || (Value >= 1000))

Edit: Will be an option in the next firmware version.
« Last Edit: April 14, 2024, 11:42:38 am by madires »
 
The following users thanked this post: Jacon, edgard22

Offline Kim Christensen

  • Super Contributor
  • ***
  • Posts: 1327
  • Country: ca
Re: $20 LCR ESR Transistor checker project
« Reply #9401 on: April 14, 2024, 03:21:35 pm »
At first, I tried something similar to your solution madires. But found that some calls to Display_Value() returned unwanted results. One I remember was the self tests and corrections mV readouts being in volts.
So in the end, I wrote my code so it only changed the default behavior for certain calls to Display_Value(). I'm sure there's a more elegant way than my solution.
 
The following users thanked this post: edgard22

Offline madires

  • Super Contributor
  • ***
  • Posts: 7773
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #9402 on: April 14, 2024, 04:17:49 pm »
The only value looking a bit strange should be T6 (Rh+) in the self test. It's near Vcc, e.g. 4990. 4990 would become 4.980k (because it's just a plain number).

@all: Please tell me if you encounter other strange values when testing the modification for 4-digit values!
« Last Edit: April 14, 2024, 04:25:16 pm by madires »
 

Offline edgard22

  • Newbie
  • Posts: 6
  • Country: uy
Re: $20 LCR ESR Transistor checker project
« Reply #9403 on: April 15, 2024, 12:16:27 am »
Thanks, I haven't tested it thoroughly but everything seems to be ok.

Gracias, no he probado a fondo pero parece estar todo ok.
 

Offline Feliciano

  • Regular Contributor
  • *
  • Posts: 214
  • Country: ve
Re: $20 LCR ESR Transistor checker project
« Reply #9404 on: April 19, 2024, 07:47:22 pm »
The only value looking a bit strange should be T6 (Rh+) in the self test. It's near Vcc, e.g. 4990. 4990 would become 4.980k (because it's just a plain number).

@all: Please tell me if you encounter other strange values when testing the modification for 4-digit values!
For normal and ESR capacitor measurements, the new dot option works for me.
Indeed the more noticeable "strange" results are in the SelfTest: I don't mind T1 showing 1.1xxV, but T6 showing 4.9xxK(mV) can be confusing. I think that part would require a little adjustment too :-/O
« Last Edit: April 19, 2024, 07:55:45 pm by Feliciano »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7773
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #9405 on: April 20, 2024, 09:40:42 am »
Also, three times 4.9xxk plus two spaces exceeds a line length of 16 chars. The new firmware version will come with a simple workaround when 4-digit values are disabled.
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1013
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #9406 on: April 20, 2024, 09:49:56 am »
madires, there is a suggestion to implement the possibility to disable the "Selftest" option in the firmware? This will save some memory, as this procedure is usually done only a few times when hardware problems are detected. Now I disable this option myself if I compile the firmware for myself. If I am sure that my circuit is correct, I only need the "Self Adjustment"option. If any strange results appear, you can always enable self-test if necessary or use the standard firmware where this option is enabled.
« Last Edit: April 20, 2024, 10:00:18 am by indman »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7773
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #9407 on: April 20, 2024, 11:06:57 am »
Ok, I'll add that to the to-do list.
 
The following users thanked this post: indman

Offline madires

  • Super Contributor
  • ***
  • Posts: 7773
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #9408 on: April 20, 2024, 04:52:04 pm »
Disabling the self-test reduces the firmware size by about 86 bytes (and a few bytes in the EEPROM). I also replaced a few similar function calls of Display_Value() with a new convenience function, freeing up another 50 bytes.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7773
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #9409 on: April 23, 2024, 05:44:12 pm »
Bohu has updated the PDFs (for firmware 1.52m, Czech, English and German): https://github.com/madires/Transistortester-Warehouse/tree/master/Documentation
 

Online szpila

  • Newbie
  • Posts: 6
  • Country: pl
Re: $20 LCR ESR Transistor checker project
« Reply #9410 on: Yesterday at 09:14:43 am »
Hi @madires

Updated translation file for UI_POLISH up to v1.52
 
The following users thanked this post: madires

Offline dave356

  • Contributor
  • Posts: 37
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #9411 on: Yesterday at 02:21:45 pm »
Hi guys,

Need a replacement screen for this:

Looking around but I don't know what I need.
Any help will be appreciated.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7773
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #9412 on: Yesterday at 03:35:00 pm »
That should be an ST7565 based LCD.
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1013
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #9413 on: Yesterday at 04:26:39 pm »
dave356, type this on the Aliexpress website in the search field "12864B5 14PIN 12864 COG dot matrix LCD display COG LCD module COG12864 standard screen with backlight" or find this seller DUOWEISI Module Store. He has what you need. :)
https://www.aliexpress.com/item/4000405795974.html
« Last Edit: Yesterday at 05:36:04 pm by indman »
 

Offline jewelie

  • Regular Contributor
  • *
  • Posts: 100
  • Country: gb
  • Everyone's gotta start somewhere
    • Personal website, of sorts, sometimes with a Pi-driven bird-feeder webcam (currently down but will be putting it up again in the near future with IR capability.)
Re: $20 LCR ESR Transistor checker project
« Reply #9414 on: Today at 07:06:30 am »
Q:  Is there anyone out there that can help me make sense of what I'm seeing on the the Cap Leakage function on 1.52m? 

1. First there's the setup screen, I insert the properly oriented capacitor (e.g. with a 470uF 16V, but same with 100uF 35V, 100uF 16V etc) and trigger it.

2. Then I see "Charging Rl" with a progressively increasing current and voltage displayed until it hits about 5V (as measured with a DMM across the capacitor.)

3. Then it changes to "Charging Rh", displaying another progressively increasing current and voltage (which appears to a negative offset from 5V DC as the voltage across the capacitor goes down) but if it's "Charging Rh" then why is the capacitor discharging in this state?  Sometimes the displayed values go down on a different run with the same capacitor though.

I feel embarrassed as I'm so confused. :-//

(AY-AT/m328 color kit board that was pre-built but has high precision Rl Rh resistors, good 2.5V ref, I've put a 328 in from Farnell.)


EDIT:  Is it... 5V is applied via Rl, then when the current drop below a trigger point, 5V is then applied via Rh instead?  But then, why would the figures be displayed current capacitance voltage with refeference to GND as measured from Rl, but then during the Rh phase the figures are being show with reference to 5V instead.  So I'm still confused?
« Last Edit: Today at 07:12:51 am by jewelie »
Anxious newbie to EEVblog.  Resuming an interest in basic electronics after a close shave with a joint EE/Computing degree decades ago
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf