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

0 Members and 14 Guests are viewing this topic.

Offline madires

  • Super Contributor
  • ***
  • Posts: 7756
  • 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: 1311
  • 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: 7756
  • 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: Today at 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: Today at 07:55:45 pm by Feliciano »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf