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

Per Hansson, NikolaSoft and 20 Guests are viewing this topic.

Offline madires

  • Super Contributor
  • ***
  • Posts: 7798
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #6125 on: February 16, 2020, 05:25:08 pm »
That question was answered already several times in the last few pages.
 

Offline Andbro

  • Regular Contributor
  • *
  • Posts: 119
Re: $20 LCR ESR Transistor checker project
« Reply #6126 on: February 20, 2020, 07:21:43 pm »
Hi,

What is the best solution for T1 or T7?

Reprogram the U4 or modify the hardware ?

Thanks
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7798
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #6127 on: February 20, 2020, 09:19:47 pm »
Reprogramming U4 is less work, but the hardware mod has a lower quiescent current than U4.
 

Offline junandaaa

  • Newbie
  • Posts: 3
  • Country: id
Re: $20 LCR ESR Transistor checker project
« Reply #6128 on: February 24, 2020, 10:35:30 pm »
If anybody want 1.34m russian and 1.38m english firmware for chinese LCR-TC: https://yadi.sk/d/Ebxj49EvD5zmEg

sir, i have flashed the .hex and .eep file, but why does it not work properly? I only get a white screen when the pot is pressed, and when I release it off again. where is wrong? I use gm328
Btw sry for my english  ;D
« Last Edit: February 24, 2020, 10:39:48 pm by junandaaa »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7798
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #6129 on: February 25, 2020, 10:20:03 am »
A firmware compiled for the TC-1 won't run on the GM328 (AY-AT clone) because the hardware differs. The settings for the AY-AT are listed in the Clones file. Apply those and compile the firmware. You could also try the precompiled firmwares from https://yadi.sk/d/yW8xa5NJgUo5z/GM328A.
 

Offline junandaaa

  • Newbie
  • Posts: 3
  • Country: id
Re: $20 LCR ESR Transistor checker project
« Reply #6130 on: February 25, 2020, 04:32:45 pm »
ohhh I think the file can also be used for gm328. is there a special way to compile the file? a few days ago I tried to compile it but only got the .hex file, and didn't get the .eep file
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7798
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #6131 on: February 25, 2020, 06:00:27 pm »
If you're using 'make' then the .eep file should be created also. If not, please check your IDE on how to integrate the Makefile.
 

Offline aristarchus

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
Re: $20 LCR ESR Transistor checker project
« Reply #6132 on: February 26, 2020, 01:01:25 am »
If you're using 'make' then the .eep file should be created also. If not, please check your IDE on how to integrate the Makefile.


Hi, just a quick question, the 'make' requires the sources, where are they? by looking at the yandex folders, they are not included.
Where/how can we get them?
 

Offline flywheelz

  • Regular Contributor
  • *
  • Posts: 148
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #6133 on: February 26, 2020, 01:37:00 am »
If you're using 'make' then the .eep file should be created also. If not, please check your IDE on how to integrate the Makefile.


Hi, just a quick question, the 'make' requires the sources, where are they? by looking at the yandex folders, they are not included.
Where/how can we get them?

https://www.mikrocontroller.net/svnbrowser/transistortester/Software/

or

https://github.com/madires/Transistortester-Warehouse/tree/master/Firmware
« Last Edit: February 26, 2020, 01:52:46 am by flywheelz »
 
The following users thanked this post: aristarchus

Offline masterx81

  • Frequent Contributor
  • **
  • Posts: 481
  • Country: it
Re: $20 LCR ESR Transistor checker project
« Reply #6134 on: February 29, 2020, 01:50:44 pm »
:wtf:Hi! Someone please know what firmware i need to use on this tester? I have 1.11k by now...
328p mcu, ams1117 5.0 voltage regulator, graphic display...
Thanks!
I've tryed the mega328_st7565 firmware file, but the display or remain blank or become all black then become blank. When the button is pressed the backlight light up, after near 20s turn off as it should. After searching seem that the st7565 must be ok for this lcd, so why it not work? Thanks!

Forgot. The display is jlx 12864g. From a search the driver seem an st7565r.
Also, the fuse how must be set?
« Last Edit: February 29, 2020, 05:55:24 pm by masterx81 »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7798
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #6135 on: February 29, 2020, 07:46:56 pm »
Do you remember the model name of your tester?
 

Offline masterx81

  • Frequent Contributor
  • **
  • Posts: 481
  • Country: it
Re: $20 LCR ESR Transistor checker project
« Reply #6136 on: February 29, 2020, 08:12:24 pm »
Uh found an old mail dated 2016 calling it an "m328 transistor tester". Searching on the web there are with the same name also testers with a rotary encoder. Mine not have it.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7798
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #6137 on: February 29, 2020, 09:49:00 pm »
Maybe that model uses a non-standard pin assignment for the display? Another issue could be the default contrast value.
 

Offline masterx81

  • Frequent Contributor
  • **
  • Posts: 481
  • Country: it
Re: $20 LCR ESR Transistor checker project
« Reply #6138 on: February 29, 2020, 10:08:35 pm »
Need to check. But as i'v always a lot of luck, i'm sure that's all non standard  |O
« Last Edit: February 29, 2020, 10:58:41 pm by masterx81 »
 

Offline masterx81

  • Frequent Contributor
  • **
  • Posts: 481
  • Country: it
Re: $20 LCR ESR Transistor checker project
« Reply #6139 on: March 01, 2020, 08:52:56 am »
I've done a quick test connecting a logic analyzer and for sure on lcd pins i get clock, cs and data. Now i check on what pins the lcd goes.
EDIT:
Backlight to vcc
Sclk pin 32 - PD2 (INT0/PCINT18)
Sda pin 31 - PD1 (TXD/PCINT17)
Rs pin 1 - PD3 (PCINT19/OC2B/INT1)
Reset pin 2 - PD4 (PCINT20/XCK/T0)
Cs to gnd

From what i see from the logic analyzer, seem that the sda pin from the mcu goes to the rs pin. So i'm quite sure that the pinout from mcu is customized. Clock is ok.
Need to find a schematic for a 12864 display to check the pins. And maybe worth checking also the other pins :(

The attached schematic it's a standard one for 128x64 spi display? Thanks!

« Last Edit: March 01, 2020, 10:02:46 am by masterx81 »
 
The following users thanked this post: flywheelz

Offline masterx81

  • Frequent Contributor
  • **
  • Posts: 481
  • Country: it
Re: $20 LCR ESR Transistor checker project
« Reply #6140 on: March 01, 2020, 10:51:10 am »
Connected as per schematic. Now the display can be read, but the contrast is wrong, and the graphic is flipped... for what it cost, i have to throw it away and buy a standard one  |O
As per image. Flipped, with wrong contrast, and also the first columns are missing

Edit: contrast fixed, had to reroute another pin to enable menu navigation. Remain the display flipped.
« Last Edit: March 01, 2020, 11:48:41 am by masterx81 »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7798
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #6141 on: March 01, 2020, 11:48:27 am »
You can change the contrast, flip the display output and set the offset by changing some settings (see Makefile for the k-firmware). No need to get a new display.
 

Offline masterx81

  • Frequent Contributor
  • **
  • Posts: 481
  • Country: it
Re: $20 LCR ESR Transistor checker project
« Reply #6142 on: March 01, 2020, 11:52:19 am »
Need to know how to set the development enviroment in my windows 10 x64...
Nevermind, installing atmel studio. Only programmed pic in past, so i'm a newbie with avr :palm:
« Last Edit: March 01, 2020, 12:06:06 pm by masterx81 »
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1015
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #6143 on: March 01, 2020, 12:49:05 pm »
EDIT:
Backlight to vcc
Sclk pin 32 - PD2 (INT0/PCINT18)
Sda pin 31 - PD1 (TXD/PCINT17)
Rs pin 1 - PD3 (PCINT19/OC2B/INT1)
Reset pin 2 - PD4 (PCINT20/XCK/T0)
Cs to gnd
This display circuit corresponds to the known clone circuit LCR-T4 StripGrid! Try using firmware files from the "mega328_T3_T4_st7565" folder. If the image is reversed, I can help you rotate and adjust offset.
« Last Edit: March 01, 2020, 12:50:38 pm by indman »
 

Offline masterx81

  • Frequent Contributor
  • **
  • Posts: 481
  • Country: it
Re: $20 LCR ESR Transistor checker project
« Reply #6144 on: March 01, 2020, 01:12:23 pm »
EDIT:
Backlight to vcc
Sclk pin 32 - PD2 (INT0/PCINT18)
Sda pin 31 - PD1 (TXD/PCINT17)
Rs pin 1 - PD3 (PCINT19/OC2B/INT1)
Reset pin 2 - PD4 (PCINT20/XCK/T0)
Cs to gnd
This display circuit corresponds to the known clone circuit LCR-T4 StripGrid! Try using firmware files from the "mega328_T3_T4_st7565" folder. If the image is reversed, I can help you rotate and adjust offset.
Thanks! But... Too late  :scared: Already rerouted the traces to correct pins. Now i'm installing the avr studio for fix the flipped image. Another thing: The trace that goes normally to pd7, was going to pd0.
If only i knew that i had the need to recompile it anyway (for flipped screen), i could have avoided to reroute the pins  |O
« Last Edit: March 01, 2020, 01:34:31 pm by masterx81 »
 

Offline masterx81

  • Frequent Contributor
  • **
  • Posts: 481
  • Country: it
Re: $20 LCR ESR Transistor checker project
« Reply #6145 on: March 01, 2020, 03:38:49 pm »
Recompiling done. Now it's ok.
But, why at the end of the selftest it give the 1.13k version? I've loaded the main.c at https://www.mikrocontroller.net/svnbrowser/transistortester/Software/trunk/main.c and used my own makefile with correct mods.
And, it's normal that if i not put a component to test, after the warning that there isn't a component, show that it's not calibrated, but i've done several times the calibration process? EDIT: This only happens if i test something between pin 1-2 after have tested something on pins 1-3
Thanks!

EDIT- Maybe i've understood. The precompiled versions are only for the "k" branch, while the updates of the "m" versions are at https://www.mikrocontroller.net/svnbrowser/transistortester/Software/Markus/
But i'm having problems compiling them, or better, in the makefile there aren't options for set for example the display type, etc.

RE-EDIT
Whoaaaaaa, not so easy, found config.h and config-328.h files, all done. Something to note:
-Little problem, also with contrast 0 the contrast it's a bit too high (really different scale from the k version).
-The calibration procedure doesn't take anymore in account the capacitor test (by design)
-For enter in the menu had the need to add the option for the 3pin short, else i wasn't unable to enter like in the k version longpressing the button
-the tester loop continuously also when has found the component (i think that is by design)

At the end of all, i think that i stik with 1.13k...
« Last Edit: March 01, 2020, 06:58:46 pm by masterx81 »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7798
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #6146 on: March 02, 2020, 11:08:52 am »
Please read the m-firmware's README file. ;) It explains all things you want to know.
 

Offline broadway

  • Contributor
  • Posts: 16
  • Country: in
Re: $20 LCR ESR Transistor checker project
« Reply #6147 on: March 02, 2020, 11:54:32 am »
I've updated to v1.38m

I'm getting 7pf cap reading on leads 1 and 2. Did a self test which fixes it(no component found) but getting 7pf reading again when I switch off/on device.
 

Offline masterx81

  • Frequent Contributor
  • **
  • Posts: 481
  • Country: it
Re: $20 LCR ESR Transistor checker project
« Reply #6148 on: March 02, 2020, 12:23:18 pm »
You need to save after the self test
 

Offline broadway

  • Contributor
  • Posts: 16
  • Country: in
Re: $20 LCR ESR Transistor checker project
« Reply #6149 on: March 03, 2020, 06:25:27 pm »
 Thank you. It worked.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf