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

Feliciano, carrascoso and 9 Guests are viewing this topic.

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #3550 on: May 12, 2017, 10:45:47 am »
I have a question - whether it is possible to add an inductance icon on the display on the right how it is made for transistors or thyristors?  :D

Yes, it's possible. It could be done by using LCD_FancySemiPinout(), but the the symbol would waste flash memory (just a rectangular region inside a square, 50% wasted). Another approach would be to add rectangular symbols for 2-pin components (more efficient) and a display function for that.
 
The following users thanked this post: indman

Offline indman

  • Super Contributor
  • ***
  • Posts: 1012
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #3551 on: May 12, 2017, 11:10:19 am »
Madires, thanks for the response! It would be excellent if you added a feature for show of icons with 2 pin components in the following revision of a firmware!  :)
 

Offline technogeeky

  • Frequent Contributor
  • **
  • Posts: 555
  • Country: us
  • Older New "New Player" Player Playa'
Re: $20 LCR ESR Transistor checker project
« Reply #3552 on: May 12, 2017, 06:44:08 pm »
I am getting consistently incorrect results with my GMA328 unit. All capacitor results seem to be systematically low. For instance, my known > 100 nF test capacitor was about 202 nF. The GMA328 always reports about 160 nF. Other capacitors seem to have the same systematic error. In addition, inductors seem to be systematically low. I measured a bunch of inductors of unknown value, and nearly all of them read 0.1uH or whatever the minimum value is, or just read as a resistor. Resistors seem to measure correctly.

Self-test and the more complete self-test do not seem to change this behavior.

Is there any way to investigate this further? The main difference between the schematic and my unit are that the transistors are all cheap versions of the original (e.g. they use 9014, 9012, etc). The voltage reference is a TL431. I don't have any ZIF socket or anything; I am going straight into three 22AWG silicone test leads. They are somewhat long (10 inches or so), but I calibrated that into the self-test.

The fuse configuration seems correct.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #3553 on: May 12, 2017, 07:38:09 pm »
8 or 16 MHz? Which 5V regulator?
 

Offline technogeeky

  • Frequent Contributor
  • **
  • Posts: 555
  • Country: us
  • Older New "New Player" Player Playa'
Re: $20 LCR ESR Transistor checker project
« Reply #3554 on: May 12, 2017, 07:50:44 pm »
8 or 16 MHz? Which 5V regulator?


8 MHz. 1550. The fuses appear correct.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #3555 on: May 12, 2017, 08:10:38 pm »
Could be something like a clock or comparator issue.
 

Offline casinada

  • Frequent Contributor
  • **
  • Posts: 599
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #3556 on: May 13, 2017, 08:41:05 am »
Question:
I compiled Version 1.28m AY-AT Color and enabled the External reference. The Selftest or Show Values show Vref=1088 and not my entered Value of 2498.
Am I missing something?
*
 *  2.5V voltage reference for Vcc check
 *  - default pin: PC4 (ATmega 328)
 *  - should be at least 10 times more precise than the voltage regulator
 *  - see TP_REF for port pin (config-<MCU>.h)
 *  - uncomment to enable and also adjust UREF_25 below for your voltage
 *    reference
 */
#define HW_REF25
/*
 *  Typical voltage of 2.5V voltage reference (in mV)
 *  - see datasheet of the voltage reference
 *  - or use >= 5.5 digit DMM to measure the voltage
 */
#define UREF_25           2498

Also when I place a short between Pins 1 and 2 it measures 0 ohms  :-+ , when I place a short between Pins 2 and 3 it measures 0 ohms  :-+ but when I place a short between pins 1 and 3 it measures 20pf between pins 2 and 3.

I changed the Crystal to 20MHz   :-+
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1012
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #3557 on: May 13, 2017, 09:33:59 am »
Is there any way to investigate this further?

Show results of the T1-T7 tests
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #3558 on: May 13, 2017, 10:36:07 am »
Question:
I compiled Version 1.28m AY-AT Color and enabled the External reference. The Selftest or Show Values show Vref=1088 and not my entered Value of 2498.
Am I missing something?

Vref is the MCU's internal bandgap reference (around 1.1V).

Also when I place a short between Pins 1 and 2 it measures 0 ohms  :-+ , when I place a short between Pins 2 and 3 it measures 0 ohms  :-+ but when I place a short between pins 1 and 3 it measures 20pf between pins 2 and 3.

The resistor check looks for a resistor in both directions. If the measurements of both directions differ too much the firmware assumes that there's something wrong. The capacitor check is run afterwards. In most cases a missed low value resistor is caused by a bad connection. Wiggle the leads a little bit and try again.

BTW, how do you power the tester?
 

Offline casinada

  • Frequent Contributor
  • **
  • Posts: 599
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #3559 on: May 13, 2017, 08:52:26 pm »
I tried with both a 9V battery and a battery eliminator (power supply with a 9V battery connector).
I assumed that when the external reference is enabled, vref would be the external reference shown.
Is it possible to enable and disable the reference by software to be able to compare them instead of having to recompile the firmware?  :)
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #3560 on: May 14, 2017, 10:01:55 am »
Ok! I've asked because sometimes a SMPSU might cause some issue. The external reference is used to get the offset of Vcc (5V). That's the reason why the reference should be more accurate (an order of magnitude) than the voltage regulator, and why its "fixed" voltage isn't displayed. The external reference is used when  HW_REF25 is set and the firmware detects a voltage around 2.5V. So you could also program using solder :) Adding a menu function and some control logic for a software switch should be straight forward. Be my guest ;)
 

Offline perieanuo

  • Frequent Contributor
  • **
  • Posts: 838
  • Country: fr
Re: $20 LCR ESR Transistor checker project
« Reply #3561 on: May 14, 2017, 01:25:51 pm »
I tried with both a 9V battery and a battery eliminator (power supply with a 9V battery connector).
I assumed that when the external reference is enabled, vref would be the external reference shown.
Is it possible to enable and disable the reference by software to be able to compare them instead of having to recompile the firmware?  :)
Off course no,you have to recompile


Envoyé de mon iPad en utilisant Tapatalk
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #3562 on: May 14, 2017, 05:40:39 pm »
Just soldered a display adapter board for an ILI9342 based display with touch screen :) Let's see if I'm able to add touch screen support to the firmware.
 
The following users thanked this post: mauroh, pepe10000

Offline casinada

  • Frequent Contributor
  • **
  • Posts: 599
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #3563 on: May 14, 2017, 11:54:05 pm »
I haven't programmed seriously for 20 years but I'm becoming dangerous again daily  :)
Is it possible that with the 20MHz crystal the tester has hard time measuring resistance lower than 0.1 ohms? It has not problem detecting the shorts for calibration.  :-//
I will go to a 16MHz crystal so I can test the K versions of the firmware as well (I prefer the m version)   :-+
 

Offline johwaa

  • Newbie
  • Posts: 5
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #3564 on: May 15, 2017, 05:08:52 am »
I'm working on a version of the board that drives a couple of relays connected to PC3 and PD5 (which weren't used in the version of the board that I purchased). For some reason, PC3 wants to come on regardless of what I am doing with it. Is it being driven in the assembler code?

Thanks!
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #3565 on: May 15, 2017, 07:56:31 am »
I haven't programmed seriously for 20 years but I'm becoming dangerous again daily  :)

Duck and cover?  >:D

Is it possible that with the 20MHz crystal the tester has hard time measuring resistance lower than 0.1 ohms? It has not problem detecting the shorts for calibration.  :-//

I haven't noticed anything like that, but I'll check a few resistors.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #3566 on: May 15, 2017, 08:04:52 am »
I'm working on a version of the board that drives a couple of relays connected to PC3 and PD5 (which weren't used in the version of the board that I purchased). For some reason, PC3 wants to come on regardless of what I am doing with it. Is it being driven in the assembler code?

PC3 is the analog inut for the Zener or external voltage option for an ATmega328 based tester. If that option isn't enabled in the firmware, the pin should be in HiZ mode. Which firmware are you using?
 

Offline johwaa

  • Newbie
  • Posts: 5
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #3567 on: May 16, 2017, 02:38:06 am »
I'm working on a version of the board that drives a couple of relays connected to PC3 and PD5 (which weren't used in the version of the board that I purchased). For some reason, PC3 wants to come on regardless of what I am doing with it. Is it being driven in the assembler code?

PC3 is the analog inut for the Zener or external voltage option for an ATmega328 based tester. If that option isn't enabled in the firmware, the pin should be in HiZ mode. Which firmware are you using?

I'm using 1.27, and I noticed the Zener option and made sure that it was commented out. The version of the tester that I bought is this one:
http://www.ebay.com/itm/M328-LCD-12864-Transistor-Tester-Meter-DIY-Kit-Square-Signal-Generator-US-46CI/141767800169?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2060353.m2749.l2649

PD5 was also unused, so I'm using it for my "Fail" relay.

I've removed the tests for inductors, transistors, and resistors in the software. All that I am looking for is capacitance.

What this version of the tester does is to check the quality of the connection of a microphone where it connects to the wiring harness in the Headliner assembly (for a car). If the capacitor is between 100 micro-farads and 200 micro-farads I consider it a good connection. If the connection is bad, the result will be a higher capacitance, not higher resistance.

I re-created the board by hand and created a project in KiCad (with my relays) from it. From there, Hackvana made the boards for me (great resource!). I've built one board, and it works fine with the exception of the relays. It's just that the pesky relay off of PC3 keeps coming on.

I can post the code and the KiCad schematic now, the PCB layout will have to wait until I fix the footprints for most of the components (I got them wrong and the resistors and most of the capacitors don't fit correctly, once I fix it, I can post that too).

 

Offline pepe10000

  • Regular Contributor
  • *
  • Posts: 87
  • Country: es
Re: $20 LCR ESR Transistor checker project
« Reply #3568 on: May 16, 2017, 06:03:36 am »

Is it possible that with the 20MHz crystal the tester has hard time measuring resistance lower than 0.1 ohms? It has not problem detecting the shorts for calibration.  :-//

I haven't noticed anything like that, but I'll check a few resistors.

The same thing happens to me in the LCR-T4-H and in the AY-AT.

In resistors less than 1 Ohm indicates missing component or marks a few picofarads.

A greeting.

P.S. In both I have installed 16 Mhz quartz crystals.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #3569 on: May 16, 2017, 09:57:40 am »
I re-created the board by hand and created a project in KiCad (with my relays) from it. From there, Hackvana made the boards for me (great resource!). I've built one board, and it works fine with the exception of the relays. It's just that the pesky relay off of PC3 keeps coming on.

How do you drive the relays?
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #3570 on: May 16, 2017, 10:07:37 am »
The same thing happens to me in the LCR-T4-H and in the AY-AT.

In resistors less than 1 Ohm indicates missing component or marks a few picofarads.

A greeting.

P.S. In both I have installed 16 Mhz quartz crystals.

I've put it on my to-do list. A quick check with a 20 MHz tester and resistors < 0.1 Ohms confirms the issue.
 
The following users thanked this post: pepe10000

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #3571 on: May 16, 2017, 10:10:26 am »
For AY-AT(20MHz crystall) of a clone I changed settings of the inductor.c file. Also the enkoder works with the "define ENCODER_PULSES 2" setup better.

Could you please try "ENCODER_PULSES 4"?
 

Offline johwaa

  • Newbie
  • Posts: 5
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #3572 on: May 16, 2017, 10:24:00 am »
I re-created the board by hand and created a project in KiCad (with my relays) from it. From there, Hackvana made the boards for me (great resource!). I've built one board, and it works fine with the exception of the relays. It's just that the pesky relay off of PC3 keeps coming on.

How do you drive the relays?

The Atmega pins drive a transistor which in turn drives the relays.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #3573 on: May 16, 2017, 10:51:13 am »
The Atmega pins drive a transistor which in turn drives the relays.

NPN with base resistor?
 

Offline pepe10000

  • Regular Contributor
  • *
  • Posts: 87
  • Country: es
Re: $20 LCR ESR Transistor checker project
« Reply #3574 on: May 16, 2017, 10:55:48 am »
For AY-AT(20MHz crystall) of a clone I changed settings of the inductor.c file. Also the enkoder works with the "define ENCODER_PULSES 2" setup better.

Could you please try "ENCODER_PULSES 4"?

I tested on an AY-AT with quartz crystal of 16 Mhz with ENCODER_PULSES 4 and I noticed that it is better with ENCODER_PULSES 2.

A greeting.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf