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

carrascoso and 14 Guests are viewing this topic.

Offline madires

  • Super Contributor
  • ***
  • Posts: 7764
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #1275 on: September 21, 2015, 04:59:21 pm »
644/1284 because of the 20MHz clock? - well done, it improves the felt speed with higher resolution displays on old-school-8bit-mcu's  8)

The ATmega168/328 also runs up to 20MHz. And the k & m firmwares support 16MHz for quite a while.
 

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 #1276 on: September 21, 2015, 05:07:12 pm »
and the firmware posted by tom666 on page 84 works great on this  :-+

The attached file contains firmware that I recommend use. This version (v1.12k r554) is without a new features (WITH_SamplingADC = 1), because this new method of measurement is currently in constant and intensive development.

Offline papabol_24

  • Contributor
  • Posts: 44
Re: $20 LCR ESR Transistor checker project
« Reply #1277 on: September 21, 2015, 05:44:29 pm »
 :)Ok, gonna flash this one tomorow thanks  :)
 

Online giovannirat

  • Regular Contributor
  • *
  • Posts: 107
  • Country: at
Re: $20 LCR ESR Transistor checker project
« Reply #1278 on: September 21, 2015, 06:01:46 pm »
@tom666   it would be great if you could provide the software  M328_ST7565_KIT_v1.12k_r523  in this actual version r554 ........ :clap:

Thank you....
 


Offline papabol_24

  • Contributor
  • Posts: 44
Re: $20 LCR ESR Transistor checker project
« Reply #1280 on: September 21, 2015, 06:41:36 pm »
Yes elctro fan, theyre basicaly the same, the tester with case has no smd test pads though.
 

Offline papabol_24

  • Contributor
  • Posts: 44
Re: $20 LCR ESR Transistor checker project
« Reply #1281 on: September 21, 2015, 06:46:52 pm »
Oh, il gonna post PCB photos of tester with case tomorow. :) "Dont turn it On...Tear it appart" hehehe
« Last Edit: September 21, 2015, 06:49:33 pm by papabol_24 »
 

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 #1282 on: September 21, 2015, 07:10:10 pm »
@tom666   it would be great if you could provide the software  M328_ST7565_KIT_v1.12k_r523  in this actual version r554.

Here you are firmware v1.12k revision 555 for this great kit.

Offline Electro Fan

  • Super Contributor
  • ***
  • Posts: 3199
Re: $20 LCR ESR Transistor checker project
« Reply #1283 on: September 21, 2015, 07:15:46 pm »
Yes elctro fan, theyre basicaly the same, the tester with case has no smd test pads though.

Thanks - are you pretty sure the display is the same?  Are there any eBay sellers you have seen with the case and the same display and parts inside?  Thanks again, EF
 

Offline papabol_24

  • Contributor
  • Posts: 44
Re: $20 LCR ESR Transistor checker project
« Reply #1284 on: September 21, 2015, 07:53:07 pm »
Is this:

http://www.ebay.com/itm/New-Small-12864-LCD-Transistor-Capacitance-ESR-Meter-Diode-Triode-MOS-LCR-NPN/171815404897?_trksid=p2046732.c100040.m2060&_trkparms=aid%3D111001%26algo%3DREC.SEED%26ao%3D1%26asc%3D20140107095009%26meid%3D4bf4a0d9d5fe4256add580abc3381565%26pid%3D100040%26rk%3D1%26rkt%3D4%26sd%3D171815404897

The same as the item below in terms of functionally?  Just repackaged inside the case?

http://www.aliexpress.com/item/Multi-functional-LCD-Backlight-Transistor-Tester-Diode-Thyristor-Capacitance-ESR-Meter-Tester-LCR-with-Grey-Plastic/32322667293.html

Thanks

@EF, both of these testers use 12864 LCDs, they're both from fish8840, both are on firmware 2.1 mod by wieweitm, i dont know about the dimensions of the lcd of the tester without case but for the tester with case it needs to be 46mmx29mm LxW to fit on the viewing window of the tester, the lcd has no header connectors so the flex cable is directly soldered to the MCU pcb and the display is white chars on black background, both testers have 2 tac switches, the MCU section of both testers basically same, the power section of my tester has unpopulated area and it looks like a dc in jack and lithium battery charging ckt. both runs on 9v batt, il post photos tomorow  :)
 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 133
  • Country: mx
Re: $20 LCR ESR Transistor checker project
« Reply #1285 on: September 21, 2015, 09:09:02 pm »
i am trying learn to use avrdude, unless you can please point me with the right instrucctions (commands) for backup the exiting firmware and flash the new one you kindly provide to me, by the way already have an usbasp and installed already avrdude in linux and windows.

Commands for Windows

Writing Flash + EEPROM + Fuses:
avrdude -c usbasp -p m328p -B 0.5 -e -U flash:w:"TransistorTester.hex":a -U eeprom:w:"TransistorTester.eep":a -U lfuse:w:0xF7:m -U hfuse:w:0xD9:m -U efuse:w:0x04:m

Reading Flash + EEPROM:
avrdude -c usbasp -p m328p -B 0.5 -U flash:r:"TransistorTester_Backup.hex":i -U eeprom:r:"TransistorTester_Backup.eep":i

Another option is to use a GUI for AVRDUDE. I recommend AVRDUDESS.

I did the backup command as you said (copy paste), but the resulted files seems too small: eeprom 2477 bytes and flash 13 bytes!, wont go any further till you give me some advice please, by the way the fuses as reported by avrdudess are: L 0xF7, H 0xDC, E 0x07, LB 0x3C

thank you in advance.

best regards

Pio
« Last Edit: September 22, 2015, 02:32:36 am by yo0 »
 

Offline Electro Fan

  • Super Contributor
  • ***
  • Posts: 3199
Re: $20 LCR ESR Transistor checker project
« Reply #1286 on: September 21, 2015, 09:24:10 pm »
Is this:

http://www.ebay.com/itm/New-Small-12864-LCD-Transistor-Capacitance-ESR-Meter-Diode-Triode-MOS-LCR-NPN/171815404897?_trksid=p2046732.c100040.m2060&_trkparms=aid%3D111001%26algo%3DREC.SEED%26ao%3D1%26asc%3D20140107095009%26meid%3D4bf4a0d9d5fe4256add580abc3381565%26pid%3D100040%26rk%3D1%26rkt%3D4%26sd%3D171815404897

The same as the item below in terms of functionally?  Just repackaged inside the case?

http://www.aliexpress.com/item/Multi-functional-LCD-Backlight-Transistor-Tester-Diode-Thyristor-Capacitance-ESR-Meter-Tester-LCR-with-Grey-Plastic/32322667293.html

Thanks

@EF, both of these testers use 12864 LCDs, they're both from fish8840, both are on firmware 2.1 mod by wieweitm, i dont know about the dimensions of the lcd of the tester without case but for the tester with case it needs to be 46mmx29mm LxW to fit on the viewing window of the tester, the lcd has no header connectors so the flex cable is directly soldered to the MCU pcb and the display is white chars on black background, both testers have 2 tac switches, the MCU section of both testers basically same, the power section of my tester has unpopulated area and it looks like a dc in jack and lithium battery charging ckt. both runs on 9v batt, il post photos tomorow  :)

papabol_24, Thanks

a few more questions...

Perhaps the LCD is the same size but the case covers part of it?  No problem, but are the graphical displays (for example that show the transistor layouts) the same on the non-case and the cased units?  (Seems like they should be but I haven't seen any detailed photos of the display in a cased unit.)

Also, if they are both running on firmware 2.1 mod by wieweitm why is there so much interest in upgrading the firmware?  (Just to keep current with future changes, or something else?)

Thanks again, EF
 

Offline Macbeth

  • Super Contributor
  • ***
  • Posts: 2571
  • Country: gb
Re: $20 LCR ESR Transistor checker project
« Reply #1287 on: September 21, 2015, 10:13:37 pm »
Hi, I have a couple of these MK-168 devices I bought a long time back...



They both have ATmega168's in sockets. I have 328's I can swap them with.

Without going through 80 pages what would the experts in this device recommend as firmware upgrades for this 2x16 LCD version? for 168 and 328? Also any particular hardware mods for this recommended?  :-+
 

Offline papabol_24

  • Contributor
  • Posts: 44
Re: $20 LCR ESR Transistor checker project
« Reply #1288 on: September 22, 2015, 06:28:06 am »
Hello EF, as long as its a 12864lcd same ST7565 driver it will render the graphics properly regardless of the lcd size, :) weiweitms 2.1 version for me is very basic compared to the latest firmwares found on this thread for the fish8840, the v1.12k r554 firmware has added features like freq gen, freq counter, contrast adjustment, PWM gen that i didnt find on wieweitms.
 

Offline papabol_24

  • Contributor
  • Posts: 44
Re: $20 LCR ESR Transistor checker project
« Reply #1289 on: September 22, 2015, 09:10:01 am »
Hello, Photos of both of my testers  :) sorry for late post, im at work  :)






white tester pcb



black tester pcb



black tester pcb top view



as you can see both of my testers has unpopulated areas for other ckts compared to this tester by 91make



lcd module dimensions and connector photo





 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7764
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #1290 on: September 22, 2015, 01:53:53 pm »
Without going through 80 pages what would the experts in this device recommend as firmware upgrades for this 2x16 LCD version? for 168 and 328? Also any particular hardware mods for this recommended?  :-+

Replacing the 168 with a 328 is a good idea. For the firmware you can choose between the current k and m firmwares. Both are available at http://www.mikrocontroller.net/svnbrowser/transistortester/Software/ ("trunk" for the k-firmware, "Markus" for the m-firmware). There's also a docs directory with Karl-Heinz' great documentation including some hints about Chinese clones and recommended hardware changes.
 

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 #1291 on: September 22, 2015, 02:45:57 pm »
I did the backup command as you said (copy paste), but the resulted files seems too small: eeprom 2477 bytes and flash 13 bytes!, wont go any further till you give me some advice please, by the way the fuses as reported by avrdudess are: L 0xF7, H 0xDC, E 0x07, LB 0x3C

Content of the MCU is locked.

Offline yo0

  • Regular Contributor
  • *
  • Posts: 133
  • Country: mx
Re: $20 LCR ESR Transistor checker project
« Reply #1292 on: September 22, 2015, 05:15:32 pm »
I did the backup command as you said (copy paste), but the resulted files seems too small: eeprom 2477 bytes and flash 13 bytes!, wont go any further till you give me some advice please, by the way the fuses as reported by avrdudess are: L 0xF7, H 0xDC, E 0x07, LB 0x3C

Content of the MCU is locked.

thank you, there is something i can do?  as i understand backup is not possible, but i can still flash new firmware?


best regards

Pio
« Last Edit: September 22, 2015, 06:06:10 pm by yo0 »
 

Offline Macbeth

  • Super Contributor
  • ***
  • Posts: 2571
  • Country: gb
Re: $20 LCR ESR Transistor checker project
« Reply #1293 on: September 22, 2015, 07:33:03 pm »
I did the backup command as you said (copy paste), but the resulted files seems too small: eeprom 2477 bytes and flash 13 bytes!, wont go any further till you give me some advice please, by the way the fuses as reported by avrdudess are: L 0xF7, H 0xDC, E 0x07, LB 0x3C

Content of the MCU is locked.

thank you, there is something i can do?  as i understand backup is not possible, but i can still flash new firmware?


best regards

Pio
My '168 was locked. I couldn't make a backup, but I could erase it and flash the new firmware no problem.
 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 133
  • Country: mx
Re: $20 LCR ESR Transistor checker project
« Reply #1294 on: September 22, 2015, 07:53:57 pm »
I did the backup command as you said (copy paste), but the resulted files seems too small: eeprom 2477 bytes and flash 13 bytes!, wont go any further till you give me some advice please, by the way the fuses as reported by avrdudess are: L 0xF7, H 0xDC, E 0x07, LB 0x3C

Content of the MCU is locked.

thank you, there is something i can do?  as i understand backup is not possible, but i can still flash new firmware?


best regards

Pio
My '168 was locked. I couldn't make a backup, but I could erase it and flash the new firmware no problem.



thank you, you recomend first erase then flash, or the invoved erase in flash procedure is sufficent?


best regards

Pio
 

Offline Macbeth

  • Super Contributor
  • ***
  • Posts: 2571
  • Country: gb
Re: $20 LCR ESR Transistor checker project
« Reply #1295 on: September 22, 2015, 08:05:55 pm »
thank you, you recomend first erase then flash, or the invoved erase in flash procedure is sufficent?


best regards

Pio
In order to flash you have to erase the chip, so really that bit is normally done automatically by the programmer. Technically you can flash without erasing the chip but that just results in nonsense merged bits, so just forget that ;)
 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 133
  • Country: mx
Re: $20 LCR ESR Transistor checker project
« Reply #1296 on: September 22, 2015, 08:29:20 pm »
thank you, you recomend first erase then flash, or the invoved erase in flash procedure is sufficent?


best regards

Pio
In order to flash you have to erase the chip, so really that bit is normally done automatically by the programmer. Technically you can flash without erasing the chip but that just results in nonsense merged bits, so just forget that ;)

thank you,  i will try the firmware Tom666 post for me, hope it works as Tom666 request i will report if it works correctly.

thank you again

Pio
« Last Edit: September 22, 2015, 10:51:03 pm by yo0 »
 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 133
  • Country: mx
Re: $20 LCR ESR Transistor checker project
« Reply #1297 on: September 22, 2015, 09:17:09 pm »
just a question, the frequency counter function in firmware 1.12k supports analog signals or just digital?

I think that what is important is the sufficient level of the test signal. For best input sensitivity it is necessary to set the supplement as described in the manual (2.2.4 Frequency measurement).

Works firmware that I uploaded for you in the previous post?

i already flashed the firmware you kindly post for me (erase the chip and then flash, the mcu was locked as you said), i wish to report the results: the display is upside down, and a bit displaced to one side, the characters looks incomplete  (maybe because is upside down). the contrast is dim (dont know if the defaults are defined in the makefile ) everything else works as should be.

the attached photo is with the contrast adjusted via the menu.


thank you again.

best regards

Pio
« Last Edit: September 22, 2015, 11:28:26 pm by yo0 »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7764
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #1298 on: September 23, 2015, 08:47:07 am »
i already flashed the firmware you kindly post for me (erase the chip and then flash, the mcu was locked as you said), i wish to report the results: the display is upside down, and a bit displaced to one side, the characters looks incomplete  (maybe because is upside down). the contrast is dim (dont know if the defaults are defined in the makefile ) everything else works as should be.

You need to flip x and y in the Makefile and recompile the firmware. The offset you see is 4 pixels. That's caused by the display's controller, which uses 132 columns internally while the LCD only got 128. After flipping x and y the offset should be gone. Otherwise there's also a setting for that offset.
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1012
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #1299 on: September 23, 2015, 04:48:58 pm »
yo0,try this firmware for the tester. I hope everything will work!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf