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

jellytot, NikolaSoft and 11 Guests are viewing this topic.

Offline papabol_24

  • Contributor
  • Posts: 44
Re: $20 LCR ESR Transistor checker project
« Reply #1500 on: November 13, 2015, 01:41:59 pm »
Thanks tom it works now, one question pls? why is that when i compile fw using the make file that u give i always get a bigger hex file?
 

Offline tom666

  • Regular Contributor
  • *
  • Posts: 173
  • Country: sk
    • Slovak discussion forum - AVR Component Tester (RLC/ESR & Semiconductors Tester)
Re: $20 LCR ESR Transistor checker project
« Reply #1501 on: November 13, 2015, 01:55:55 pm »
This is a problem of the older version of the compiler.

It was discussed several times here:
https://www.eevblog.com/forum/testgear/$20-lcr-esr-transistor-checker-project/msg747575/#msg747575

Offline papabol_24

  • Contributor
  • Posts: 44
Re: $20 LCR ESR Transistor checker project
« Reply #1502 on: November 13, 2015, 01:57:35 pm »
Oh ok thanks again tom,  :)
 

Offline Radio Tech

  • Frequent Contributor
  • **
  • Posts: 942
  • Country: us
  • KC4UMO Buddy
    • Hobby Forum
Re: $20 LCR ESR Transistor checker project
« Reply #1503 on: November 14, 2015, 12:47:27 am »
So decided to get back on this one tonight. Got some software loaded on a win 7 machine and read the mcu. Got a read. Was doing a few things and picked the tester up. The MCU was very hot. Guess this confirms that it is bad.   :palm:  Now to order some, and do a swap.

Offline AlxDroidDev

  • Frequent Contributor
  • **
  • Posts: 471
  • Country: br
    • Arduino Web Brasil
Re: $20 LCR ESR Transistor checker project
« Reply #1504 on: November 14, 2015, 01:01:04 am »
So decided to get back on this one tonight. Got some software loaded on a win 7 machine and read the mcu. Got a read. Was doing a few things and picked the tester up. The MCU was very hot. Guess this confirms that it is bad.   :palm:  Now to order some, and do a swap.

If you wee able to read something from it (for example, its fuses, using avrdude) after it cooled down, it's probably not damaged (yet). These Atmegas can take a lot of beating.

Check for any short-circuit that might be causing its pins to source more than 40mA. If that's what's happening, any other MCU you replace that with, will also be damaged.
"The nice thing about standards is that you have so many to choose from." (Andrew S. Tanenbaum)
 

Offline Radio Tech

  • Frequent Contributor
  • **
  • Posts: 942
  • Country: us
  • KC4UMO Buddy
    • Hobby Forum
Re: $20 LCR ESR Transistor checker project
« Reply #1505 on: November 14, 2015, 01:50:27 am »

If you wee able to read something from it (for example, its fuses, using avrdude) after it cooled down, it's probably not damaged (yet). These Atmegas can take a lot of beating.

Check for any short-circuit that might be causing its pins to source more than 40mA. If that's what's happening, any other MCU you replace that with, will also be damaged.

I had it under the scope earlier, no short circuit found. Not to say that there may not be  a component elsewhere that is shorted. Like I have said in a previous post I think a high voltage cap I tested may had been the culprit that caused the unit to fail.

Now as far as the read I got. Using Extreme burner.
This is my  second attempt ever with a programmer to read/write to a atmel chip. So I have know idea what I am seeing.
I did verify that it was actually doing something by clicking read with and without the header plugged in. Without being plugged in I got fails. With plugged in I got success.

Offline Gyro

  • Super Contributor
  • ***
  • Posts: 9507
  • Country: gb
Re: $20 LCR ESR Transistor checker project
« Reply #1506 on: November 14, 2015, 11:00:26 am »
These things are REALLY easy to blow up when testing a capacitor, particularly a HV one that you think is discharged but has recovered some charge - go on, ask me how I know  ::)

The symptoms when I did it were MCU getting hot and a tendency to identify everything as a mosfet! It still drove the display fine, presumably one or more MCU input protection diodes had fused.

When I replaced it, the first thing I did was to implement input protection - I used the relay option that shorts all the inputs together while not actively testing (as documented in the ttester.pdf for the 'k' version software). In my view this is a 'must have' modification.
Best Regards, Chris
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7768
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #1507 on: November 14, 2015, 11:06:09 am »
This is my  second attempt ever with a programmer to read/write to a atmel chip. So I have know idea what I am seeing.
I did verify that it was actually doing something by clicking read with and without the header plugged in. Without being plugged in I got fails. With plugged in I got success.

If the read was successful you should be able to find a lot of known strings.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7768
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #1508 on: November 14, 2015, 11:10:12 am »
When I replaced it, the first thing I did was to implement input protection - I used the relay option that shorts all the inputs together while not actively testing (as documented in the ttester.pdf for the 'k' version software). In my view this is a 'must have' modification.

Another solution is to add a SRV05?4. The m-firmware supports the protection relay also (HW_RELAY in config,h).
 

Offline Gyro

  • Super Contributor
  • ***
  • Posts: 9507
  • Country: gb
Re: $20 LCR ESR Transistor checker project
« Reply #1509 on: November 14, 2015, 11:18:47 am »
Quote
The m-firmware supports the protection relay also (HW_RELAY in config,h)

My apologies madires, I am only familiar with the other version.
Best Regards, Chris
 

Offline timofonic

  • Frequent Contributor
  • **
  • Posts: 904
  • Country: es
  • Eternal Wannabe Geek
Re: $20 LCR ESR Transistor checker project
« Reply #1510 on: November 14, 2015, 11:23:09 am »
These things are REALLY easy to blow up when testing a capacitor, particularly a HV one that you think is discharged but has recovered some charge - go on, ask me how I know  ::)

The symptoms when I did it were MCU getting hot and a tendency to identify everything as a mosfet! It still drove the display fine, presumably one or more MCU input protection diodes had fused.

When I replaced it, the first thing I did was to implement input protection - I used the relay option that shorts all the inputs together while not actively testing (as documented in the ttester.pdf for the 'k' version software). In my view this is a 'must have' modification.

I would love to have the best design done in KiCad, with the latest hardware and all kind of recommendations+additions. It could be the "trendy" hardware branch ;)

I'll look about it if nobody does it earlier and I that happens quite common, I'm slow like a turtle. This will be my first "complex" project in my vocational school.

It ca  be an interesting way to convince my teacher to be the rebel guy that uses KiCad instead OrCAD 9.2. Yes, THAT old and only ONE fscking UNDO LEVEL! Even old KiCad from 2013 is less messy than this.
 

Offline Macbeth

  • Super Contributor
  • ***
  • Posts: 2571
  • Country: gb
Re: $20 LCR ESR Transistor checker project
« Reply #1511 on: November 14, 2015, 12:00:59 pm »
OrCAD 9.2? There's a blast from the past. It can do one thing I've not seen other software do - auto routing single sided boards with jumper links.
 

Offline timofonic

  • Frequent Contributor
  • **
  • Posts: 904
  • Country: es
  • Eternal Wannabe Geek
Re: $20 LCR ESR Transistor checker project
« Reply #1512 on: November 14, 2015, 09:49:40 pm »
OrCAD 9.2? There's a blast from the past. It can do one thing I've not seen other software do - auto routing single sided boards with jumper links.

OFFTOPIC WARNING
It's slightly less cumbersome to use than KiCad in the behavior of the wires, the rest is worse. It's full of windows too.

It has built-in simulation. I don't care about that so much, I hope to not get mad with SPICE model assignation when using KiCad.

Anyway, my computer isn't fast enough to run the EDA apps fluidly.
I need to be the classroom rebel and fight alone, there's no escape: No money for a faster computer, mine's an old workstation that was fast when bought but not anymore. Bloatware and lack of money sucks. I tried to "sin" by installing Windows, but there were severe issues that made impossible to finish the process.

Today I tried to run Circuit Wizard 1.5 on a local Internet cafe with Windows 10 and it worked worse than in Wine. I'm amazed!
END OF OFFTOPIC

I plan to try to replicate the best design under KiCad and publish it in GitHub, of course!
« Last Edit: November 15, 2015, 11:28:29 am by timofonic »
 

Offline gojimmypi

  • Regular Contributor
  • *
  • Posts: 54
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #1513 on: November 15, 2015, 11:34:00 pm »
This is one great thread.

I am reading through everything (from page 1) and deciding if I order one ($23 on DX, but will end up costing $55 due to taxes) or build my own. I haven't read everything yet, but has anyone here had success with a homemade tester?

yes! complete success! :)

fwiw - I ordered mine here:

http://www.ebay.com/itm/381351024208

and it was only 4.99 shipping to USA (and apparently also to Brazil?)

(thanks again to whoever it was that recommend that link to me on this forum!)

In addition to all the nice detailed photos there, don't miss the "installation instructions" link:

https://www.dropbox.com/sh/uo7nr7xet09esbu/AAAMAjU0sE2hFqCXe0VAsGM_a?dl=0

but in case the link stops working, I've attached the file. There's definitely useful information there. (oops, the file is 3.5MB, and we can only upload 1MB here)

It was cool that the M328 also came pre-programmed. Assembly was really rather easy, and the device seems to work quite well. It is very cool.  :) Bravo!

I'm looking forward to digging into the source code.

http://www.mikrocontroller.net/svnbrowser/transistortester/

https://github.com/svn2github/transistortester

Enjoy!



 

Offline Datman

  • Regular Contributor
  • *
  • Posts: 108
  • Country: it
Re: $20 LCR ESR Transistor checker project
« Reply #1514 on: November 19, 2015, 03:55:44 pm »
Hi all
I've received yesterday my GM328A V1.20 2015.05 EZM Electronics studio
http://www.ebay.com/itm/New-All-in-1-Component-Tester-Transistor-Diode-Capacitance-ESR-Meter-Inductance-/321511426333?

Do you think I have any chance of mounting a indented rotary encoder instead of the pushbutton?
Does anyone know where can I find the original source code and, if needed for the encoder, an appropriate code?

Thanks!
Gianluca
 

Offline con-f-use

  • Supporter
  • ****
  • Posts: 807
  • Country: at
Re: $20 LCR ESR Transistor checker project
« Reply #1515 on: November 19, 2015, 05:25:18 pm »
Bottom-line, yes you can, but you will need to adjust the firmware. You will find documentation, links to the different firmwares and a schematic of the base unit linked in this thread.
« Last Edit: November 19, 2015, 05:26:50 pm by con-f-use »
 

Offline tom666

  • Regular Contributor
  • *
  • Posts: 173
  • Country: sk
    • Slovak discussion forum - AVR Component Tester (RLC/ESR & Semiconductors Tester)
Re: $20 LCR ESR Transistor checker project
« Reply #1516 on: November 19, 2015, 06:00:29 pm »
I've received yesterday my GM328A V1.20 2015.05 EZM Electronics studio

Do you think I have any chance of mounting a indented rotary encoder instead of the pushbutton?
Does anyone know where can I find the original source code and, if needed for the encoder, an appropriate code?

Here you will find the answer (read also the following posts):
https://www.eevblog.com/forum/testgear/$20-lcr-esr-transistor-checker-project/msg690137/#msg690137

Offline Datman

  • Regular Contributor
  • *
  • Posts: 108
  • Country: it
Re: $20 LCR ESR Transistor checker project
« Reply #1517 on: November 20, 2015, 11:03:21 am »
Uhmm... After a few posts, discussion has gone to batteries... :-(
 

Offline tom666

  • Regular Contributor
  • *
  • Posts: 173
  • Country: sk
    • Slovak discussion forum - AVR Component Tester (RLC/ESR & Semiconductors Tester)
Re: $20 LCR ESR Transistor checker project
« Reply #1518 on: November 20, 2015, 11:54:15 am »
OK, so once again :) :
1. Is necessary to connect the encoder to MCU ports PD1 and PD3 as recommended.
2. Edit the file "Makefile" (CFLAGS += -DWITH_ROTARY_SWITCH=2 - enable encoder) and make compilation. This refers to the folder mega328_GM328.
3. Then this modified firmware flash to the MCU

That is all

Offline con-f-use

  • Supporter
  • ****
  • Posts: 807
  • Country: at
Re: $20 LCR ESR Transistor checker project
« Reply #1519 on: November 20, 2015, 04:10:42 pm »
That is all

You forgot:

[4] Pray, you got the other Makefile options right for your specific tester (graphic display, resistor-devider-ratio, etc.).
 

Offline MLXXXp

  • Frequent Contributor
  • **
  • Posts: 327
  • Country: ca
Re: $20 LCR ESR Transistor checker project
« Reply #1520 on: November 20, 2015, 05:10:13 pm »
Do you think I have any chance of mounting a indented rotary encoder instead of the pushbutton?
I have one with a 16 x 2 display but the way I added a rotary encoder may be of some use to you.
https://www.eevblog.com/forum/testgear/$20-lcr-esr-transistor-checker-project/msg777509/#msg777509
 

Offline tom666

  • Regular Contributor
  • *
  • Posts: 173
  • Country: sk
    • Slovak discussion forum - AVR Component Tester (RLC/ESR & Semiconductors Tester)
Re: $20 LCR ESR Transistor checker project
« Reply #1521 on: November 20, 2015, 05:59:51 pm »
You forgot:

[4] Pray, you got the other Makefile options right for your specific tester (graphic display, resistor-devider-ratio, etc.).

I did not forget ;)

Folder mega328_GM328 contains the firmware designed directly for his GM328 tester. It need only set control with the rotary encoder.

Offline gojimmypi

  • Regular Contributor
  • *
  • Posts: 54
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #1522 on: November 22, 2015, 08:23:07 pm »
my transistor checker project kit arrived from China a couple of weeks ago. assembly went very smoothly and it works!  now my extra ATMEGA328P chips have arrived, so I was about to download the source code to start playing, when ta-da! I realized there's no JTAG, ISP, or any other pins available on the board for doing any sort of in-place, on-chip debugging.  :palm:

does anyone have a suggestion of how I might be able to compile & step through code with the '328 in place? I have both a bus pirate and AVR programmer on hand & hoping not to have to order an expensive emulator. can GDB / OpenOCD be used for this? I've not been able to find any information on how how this might be wired up.

thanks
 

Offline Messtechniker

  • Frequent Contributor
  • **
  • Posts: 782
  • Country: de
  • Old analog audio hand - No voodoo.
Re: $20 LCR ESR Transistor checker project
« Reply #1523 on: November 22, 2015, 09:43:54 pm »
https://www.mikrocontroller.net/svnbrowser/transistortester/Doku/trunk/pdftex/english/

Download the complete tarball. Look for the PDF file it contains (ttester.pdf).
Find the solution in the circuit diagram on page 10.

Yours - Messtechniker
Agilent 34465A, Siglent SDG 2042X, Hameg HMO1022, R&S HMC 8043, Peaktech 2025A, Voltcraft VC 940, M-Audio Audiophile 192, R&S Psophometer UPGR, 3 Transistor Testers, DL4JAL Transistor Curve Tracer, UT622E LCR meter
 

Offline gojimmypi

  • Regular Contributor
  • *
  • Posts: 54
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #1524 on: November 22, 2015, 10:17:13 pm »
https://www.mikrocontroller.net/svnbrowser/transistortester/Doku/trunk/pdftex/english/

Download the complete tarball. Look for the PDF file it contains (ttester.pdf).
Find the solution in the circuit diagram on page 10.

Yours - Messtechniker

aha! an ISP header in next version! most excellent. :) thanks for the tip. I was just poking though the '328 data sheet to see if those pins were directly exposed. now to solder one onto my board. I appreciate your response!  :)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf