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

NikolaSoft, jellytot and 14 Guests are viewing this topic.

Offline Monroe

  • Contributor
  • Posts: 14
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #2700 on: September 15, 2016, 01:31:33 am »
Battery good

No image

Here is the screenshot
 

Offline flywheelz

  • Regular Contributor
  • *
  • Posts: 148
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #2701 on: September 15, 2016, 01:48:55 am »
Fuses are wrong, you need to set, inverted on avrdude config file I believe.
« Last Edit: September 15, 2016, 05:19:24 am by flywheelz »
 
The following users thanked this post: Monroe

Offline roli_bark

  • Regular Contributor
  • *
  • Posts: 170
Re: $20 LCR ESR Transistor checker project
« Reply #2702 on: September 15, 2016, 04:36:57 am »
...On first power-on, the LED turned on, tester enters the menu , then showed Bat. 8.3V OK, flashing Vext=0mV.  |O  I tried disconnecting the battery few times with no help.  I decided to remove the LCD.  As I was lifting the top right corner of the LCD the tester went into Testing...  I pushed the LCD back down and the tester is still working fine.   :wtf:  I am not sure what really happened.  The good thing is its working now :popcorn:
Looks like some of your solder joints is cold.
 

Offline TheBay

  • Supporter
  • ****
  • Posts: 1016
  • Country: wales
Re: $20 LCR ESR Transistor checker project
« Reply #2703 on: September 15, 2016, 05:03:13 am »
Battery good

No image

Here is the screenshot

Why are there backslashes on some of the avrdude options, remove them and try again.
 

Offline flywheelz

  • Regular Contributor
  • *
  • Posts: 148
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #2704 on: September 15, 2016, 05:16:18 am »
roli_bark, good possibility. I've looked but could not find any.

Monroe, I don't  even see it programming the fuses.  And the ones its reporting are wrong.  Also, for atmega328p it the efuse should be "efuse:w:0x04:m", for atmega324p its efuse:w:0xfc:m.
 

Offline stj

  • Super Contributor
  • ***
  • Posts: 2155
  • Country: gb
Re: $20 LCR ESR Transistor checker project
« Reply #2705 on: September 15, 2016, 05:18:22 am »
ignore "TheBay",

your using win10 probably, it has a keyboard buffer bug.
you need seperate strings to work around it.

Quote
avrdude -c USBasp -p m328p -U flash:w:TransistorTester.hex
avrdude -c USBasp -p m328p -U eeprom:w:TransistorTester.eep
avrdude -c USBasp -p m328p -U lfuse:w:0xf7:m \-U hfuse:w:0xd9:m \-U efuse:w:0xfc:m

btw, get a real operating system!
« Last Edit: September 15, 2016, 05:28:46 am by stj »
 

Offline TheBay

  • Supporter
  • ****
  • Posts: 1016
  • Country: wales
Re: $20 LCR ESR Transistor checker project
« Reply #2706 on: September 15, 2016, 05:25:27 am »
ignore "TheBay",

your using win10 probably, it has a keyboard buffer bug.
you need seperate strings to work around it.

Quote
avrdude -c USBasp -p m328p -U flash:w:TransistorTester.hex
avrdude -c USBasp -p m328p --U eeprom:w:TransistorTester.eep
avrdude -c USBasp -p m328p -U lfuse:w:0xf7:m \-U hfuse:w:0xd9:m \-U efuse:w:0xfc:m


btw, get a real operating system!
Ignore me?

And line 2 you have --U should be -U.

Windows 10 is a real OS  :P

« Last Edit: September 15, 2016, 05:27:03 am by TheBay »
 
The following users thanked this post: stj, flywheelz

Offline stj

  • Super Contributor
  • ***
  • Posts: 2155
  • Country: gb
Re: $20 LCR ESR Transistor checker project
« Reply #2707 on: September 15, 2016, 05:30:11 am »
ignore "TheBay",

your using win10 probably, it has a keyboard buffer bug.
you need seperate strings to work around it.

Quote
avrdude -c USBasp -p m328p -U flash:w:TransistorTester.hex
avrdude -c USBasp -p m328p --U eeprom:w:TransistorTester.eep
avrdude -c USBasp -p m328p -U lfuse:w:0xf7:m \-U hfuse:w:0xd9:m \-U efuse:w:0xfc:m


btw, get a real operating system!
Ignore me?

And line 2 you have --U should be -U.

Windows 10 is a real OS  :P

well spotted on the double-,
but dont tell people to remove seperators, if they mess up the fusebits they can lock the chip.

as for 10 - yea right!  :-DD
 

Offline TheBay

  • Supporter
  • ****
  • Posts: 1016
  • Country: wales
Re: $20 LCR ESR Transistor checker project
« Reply #2708 on: September 15, 2016, 05:36:05 am »
ignore "TheBay",

your using win10 probably, it has a keyboard buffer bug.
you need seperate strings to work around it.

Quote
avrdude -c USBasp -p m328p -U flash:w:TransistorTester.hex
avrdude -c USBasp -p m328p --U eeprom:w:TransistorTester.eep
avrdude -c USBasp -p m328p -U lfuse:w:0xf7:m \-U hfuse:w:0xd9:m \-U efuse:w:0xfc:m


btw, get a real operating system!
Ignore me?

And line 2 you have --U should be -U.

Windows 10 is a real OS  :P

well spotted on the double-,
but dont tell people to remove seperators, if they mess up the fusebits they can lock the chip.

as for 10 - yea right!  :-DD

Depends where the separaters are, eprom and fuse's were not getting invoked.

Can't say I've had any issues with 10, it's given some things a new lease of life. Use 10 day to day but Linux for anything a bit more technical where it's a lot more flexible.
 

Offline roli_bark

  • Regular Contributor
  • *
  • Posts: 170
Re: $20 LCR ESR Transistor checker project
« Reply #2709 on: September 15, 2016, 05:51:17 am »
avrdude -c USBasp -p m328p -U flash:w:TransistorTester.hex
avrdude -c USBasp -p m328p -U eeprom:w:TransistorTester.eep
avrdude -c USBasp -p m328p -U lfuse:w:0xf7:m \-U hfuse:w:0xd9:m \-U efuse:w:0xfc:m

I guess the order of these 3 lines is important.
BTW - how do I do that (dealing with 3 phases of programming the MCU) with the TL866 programmer ?
 

Offline TheBay

  • Supporter
  • ****
  • Posts: 1016
  • Country: wales
Re: $20 LCR ESR Transistor checker project
« Reply #2710 on: September 15, 2016, 06:04:09 am »
avrdude -c USBasp -p m328p -U flash:w:TransistorTester.hex
avrdude -c USBasp -p m328p -U eeprom:w:TransistorTester.eep
avrdude -c USBasp -p m328p -U lfuse:w:0xf7:m \-U hfuse:w:0xd9:m \-U efuse:w:0xfc:m

I guess the order of these 3 lines is important.
BTW - how do I do that (dealing with 3 phases of programming the MCU) with the TL866 programmer ?

Easy, load the hex in to CODE and eep in to DATA, set fuse's correctly and flash  :-+
 

Offline roli_bark

  • Regular Contributor
  • *
  • Posts: 170
Re: $20 LCR ESR Transistor checker project
« Reply #2711 on: September 15, 2016, 06:34:58 am »
avrdude -c USBasp -p m328p -U flash:w:TransistorTester.hex
avrdude -c USBasp -p m328p -U eeprom:w:TransistorTester.eep
avrdude -c USBasp -p m328p -U lfuse:w:0xf7:m \-U hfuse:w:0xd9:m \-U efuse:w:0xfc:m

I guess the order of these 3 lines is important.
BTW - how do I do that (dealing with 3 phases of programming the MCU) with the TL866 programmer ?

Easy, load the hex in to CODE and eep in to DATA, set fuse's correctly and flash  :-+
I guess that the eep file must be first converted to hex ?
 

Offline flywheelz

  • Regular Contributor
  • *
  • Posts: 148
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #2712 on: September 15, 2016, 06:39:39 am »
avrdude -c USBasp -p m328p -U flash:w:TransistorTester.hex
avrdude -c USBasp -p m328p -U eeprom:w:TransistorTester.eep
avrdude -c USBasp -p m328p -U lfuse:w:0xf7:m \-U hfuse:w:0xd9:m \-U efuse:w:0xfc:m

I guess the order of these 3 lines is important.
BTW - how do I do that (dealing with 3 phases of programming the MCU) with the TL866 programmer ?

Easy, load the hex in to CODE and eep in to DATA, set fuse's correctly and flash  :-+
I guess that the eep file must be first converted to hex ?

I remember reading somewhere, load it as Intel format.
 

Offline TheBay

  • Supporter
  • ****
  • Posts: 1016
  • Country: wales
Re: $20 LCR ESR Transistor checker project
« Reply #2713 on: September 15, 2016, 07:04:51 am »
avrdude -c USBasp -p m328p -U flash:w:TransistorTester.hex
avrdude -c USBasp -p m328p -U eeprom:w:TransistorTester.eep
avrdude -c USBasp -p m328p -U lfuse:w:0xf7:m \-U hfuse:w:0xd9:m \-U efuse:w:0xfc:m

I guess the order of these 3 lines is important.
BTW - how do I do that (dealing with 3 phases of programming the MCU) with the TL866 programmer ?

Easy, load the hex in to CODE and eep in to DATA, set fuse's correctly and flash  :-+
I guess that the eep file must be first converted to hex ?

I remember reading somewhere, load it as Intel format.

Intel format for both files, just load the Hex in to CODE and EEP in to DATA. Check under the Code and Data tabs to see if they have both loaded.
Found this screen shot of the fuses on this forum, not sure whether you are doing ICSP or Using the Socket, but select what is appropriate for you.

 

Offline TheBay

  • Supporter
  • ****
  • Posts: 1016
  • Country: wales
Re: $20 LCR ESR Transistor checker project
« Reply #2714 on: September 15, 2016, 08:12:23 am »
Thought i'd open my MK-328 and put some pictures up.

Differences with mine are, Green PCB but seems decent quality, no EZM Studios logo on the casing or inside, but exactly the same PCB layout and components.
Ignore the hot snot on the terminals, I put that there.

About to fit a 16mhz Crystal and debating fitting a rotary encoder...






 

Offline roli_bark

  • Regular Contributor
  • *
  • Posts: 170
Re: $20 LCR ESR Transistor checker project
« Reply #2715 on: September 15, 2016, 08:20:29 am »
Thank you guys. Now I do remember the TL866 option already mentioned in this long thread.

That looks like a very nice kit. Especially its built-in ICSP connector.
And when you upgrade to a 16Mhz clock, don't forget to change relevant fuses.
 

Offline stj

  • Super Contributor
  • ***
  • Posts: 2155
  • Country: gb
Re: $20 LCR ESR Transistor checker project
« Reply #2716 on: September 15, 2016, 09:23:31 am »
16MHz clock uses the same fuses, just different hex.
 
The following users thanked this post: Monroe

Offline vinceroger

  • Regular Contributor
  • *
  • Posts: 90
  • Country: gb
Re: $20 LCR ESR Transistor checker project
« Reply #2717 on: September 15, 2016, 10:14:51 am »
Battery good

No image

Here is the screenshot

I also had issues on windows 10 but run the three seperate commands as stj has posted they worked fine for me
avrdude -c USBasp -p m328p -U flash:w:TransistorTester.hex
avrdude -c USBasp -p m328p -U eeprom:w:TransistorTester.eep
avrdude -c USBasp -p m328p -U lfuse:w:0xf7:m \-U hfuse:w:0xd9:m \-U efuse:w:0xfc:m
 
The following users thanked this post: Monroe

Offline Monroe

  • Contributor
  • Posts: 14
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #2718 on: September 15, 2016, 12:54:28 pm »
Just fyi I'm using XP as I posted earlier. My old shop machine runs XP because a lot of stuff I use runs on XP I've  got machines running 10 and 7 I can dual boot to Ubuntu. I have an old Audigy card in that XP system I sometimes use to output audio signals for testing.

Ok so I guess the string for avrdude that comes in the zip file I mentioned is not set to burn the fuses I guess supposing the fuses where already set on a pre programed chip.

Anyways I'll look into it today- This tester better be worth it lol!

It could be something not set because I'm using USBTinyISP rather than USBasp I donno yet. Headed to the shop here in a few.

Monroe
  Team Prometheus
 

Offline roli_bark

  • Regular Contributor
  • *
  • Posts: 170
Re: $20 LCR ESR Transistor checker project
« Reply #2719 on: September 15, 2016, 01:03:03 pm »
16MHz clock uses the same fuses, just different hex.
What is different in the hex for 16Mhz ?
You mean a "config.h" parameter somewhere ?

 

Offline stj

  • Super Contributor
  • ***
  • Posts: 2155
  • Country: gb
Re: $20 LCR ESR Transistor checker project
« Reply #2720 on: September 15, 2016, 01:18:51 pm »
yes, it's a flag in the makefile.
 

Offline Monroe

  • Contributor
  • Posts: 14
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #2721 on: September 15, 2016, 02:17:42 pm »
OK! Life

Now to find a 36pf cap to calibrate. I ran the 3 lines separate in order as suggested and that worked.

Thanks a bunch guys!

Monroe

Oh! What's the reasoning for going to 16 mhz? I happen to have some on hand.
 

Offline flywheelz

  • Regular Contributor
  • *
  • Posts: 148
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #2722 on: September 15, 2016, 02:43:37 pm »
OK! Life

Now to find a 36pf cap to calibrate. I ran the 3 lines separate in order as suggested and that worked.

Thanks a bunch guys!

Monroe

Oh! What's the reasoning for going to 16 mhz? I happen to have some on hand.

Awesome!

From what I read, 16Mhz will give you better resolution and accuracy when measuring capacity and inductance.  You will also notice the device more peppier.

Btw, what fuses did you set?
 

Offline flywheelz

  • Regular Contributor
  • *
  • Posts: 148
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #2723 on: September 15, 2016, 02:58:14 pm »
Thought i'd open my MK-328 and put some pictures up.

Thanks.

Quote
Differences with mine are, Green PCB but seems decent quality, no EZM Studios logo on the casing or inside, but exactly the same PCB layout and components.
Looks like a clone of a clone.  Regardless, I still find this unit the best looking and well thought out.  :P
Its easy to replace the ZIF board.  Build quality seem top notch and its design to be able to take some beating :box: 

Quote
About to fit a 16mhz Crystal and debating fitting a rotary encoder...
Upgrading the xtal is nice and easy.  As for the encoder, I think its useful if you plan spend a lot  of time in Freq/PWM Gen menus, for everything else a switch does a superb job. 
« Last Edit: September 15, 2016, 03:09:19 pm by flywheelz »
 

Offline Monroe

  • Contributor
  • Posts: 14
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #2724 on: September 15, 2016, 03:19:53 pm »
Fuses

avrdude -c USBasp -p m328p -U lfuse:w:0xf7:m \-U hfuse:w:0xd9:m \-U efuse:w:0xfc:m

They could have included a 36puff in the kit :(

Monroe
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf