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

0 Members and 10 Guests are viewing this topic.

Offline Andrey

  • Contributor
  • Posts: 25
  • Country: ua
Re: $20 LCR ESR Transistor checker project
« Reply #5200 on: October 08, 2018, 03:45:44 pm »
madires Thank you! I did as you wrote, the tester tests the element and immediately turns off. One measurement and immediately shutdown. On firmware 1.13 - this is not a problem. Tester is serviceable. What else can be changed?
« Last Edit: October 08, 2018, 03:48:57 pm by Andrey »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7753
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5201 on: October 08, 2018, 04:18:38 pm »
It's the test push button presumably:

Code: [Select]
#define CONTROL_PORT     PORTB     /* port data register */
#define CONTROL_DDR      DDRB      /* port data direction register */
#define CONTROL_PIN      PINB      /* port input pins register */
#define POWER_CTRL       PB1       /* controls power (1: on / 0: off) */
#define TEST_BUTTON      PC7       /* test/start push button (low active) */

PC7 isn't on PORTB. Please check which pin is connected to the test push button and which one enables the power.
 

Offline pepe10000

  • Regular Contributor
  • *
  • Posts: 87
  • Country: es
Re: $20 LCR ESR Transistor checker project
« Reply #5202 on: October 08, 2018, 05:38:48 pm »
Hello madires.

I have observed a warning when compiling your new version.

I attached some captures so you can see it if it was relevant.

Thank you very much for your attention and greetings.
 

Offline Andrey

  • Contributor
  • Posts: 25
  • Country: ua
Re: $20 LCR ESR Transistor checker project
« Reply #5203 on: October 08, 2018, 05:59:25 pm »
madires I checked that the PC7 goes to R5 + R19, PB1 to R17. Scheme - "Reply # 5017 on: August 17, 2018, 04:03:16 am."
Sorry, I took firmware 1.13, file config.h line 431-456
  line 347 - PB1
/ * define the pin button (low value, if pressed) * / 365 - PC7
Everything works well, but I really want to try your firmware.
Thank you!
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7753
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5204 on: October 08, 2018, 06:14:29 pm »
I have observed a warning when compiling your new version.

Easy to fix. ;) Please change in tools.c in function Cap_Leakage():
Code: [Select]
  uint16_t          U1;                 /* voltage #1 */
to
Code: [Select]
  uint16_t          U1 = 0;             /* voltage #1 */
 
The following users thanked this post: pepe10000, Jacon

Offline madires

  • Super Contributor
  • ***
  • Posts: 7753
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5205 on: October 08, 2018, 06:20:02 pm »
madires I checked that the PC7 goes to R5 + R19, PB1 to R17. Scheme - "Reply # 5017 on: August 17, 2018, 04:03:16 am."
Sorry, I took firmware 1.13, file config.h line 431-456
  line 347 - PB1
/ * define the pin button (low value, if pressed) * / 365 - PC7
Everything works well, but I really want to try your firmware.

At the moment the m-firmware requires the test button and the power control to be on the same port. I'll put it on the to-do list.
« Last Edit: October 08, 2018, 07:05:11 pm by madires »
 

Offline Andrey

  • Contributor
  • Posts: 25
  • Country: ua
Re: $20 LCR ESR Transistor checker project
« Reply #5206 on: October 08, 2018, 06:30:09 pm »
madires
For the Chinese clone, it would be nice without rework ... In the scheme of Nicholas (NickNI) Rev.A0.2 are the same ports of inclusion ....
Thank you! I will wait for the next version of your firmware!
THANKS for your work !!!  :-+
 

Offline pepe10000

  • Regular Contributor
  • *
  • Posts: 87
  • Country: es
Re: $20 LCR ESR Transistor checker project
« Reply #5207 on: October 08, 2018, 07:13:10 pm »
I have observed a warning when compiling your new version.

Easy to fix. ;) Please change in tools.c in function Cap_Leakage():
Code: [Select]
  uint16_t          U1;                 /* voltage #1 */
to
Code: [Select]
  uint16_t          U1 = 0;             /* voltage #1 */

Hello madires.

Modification made and perfect compilation without warnings.

Thanks and best regards.
 

Offline pepe10000

  • Regular Contributor
  • *
  • Posts: 87
  • Country: es
Re: $20 LCR ESR Transistor checker project
« Reply #5208 on: October 09, 2018, 05:23:39 pm »
Hello madires.

I noticed that in the new compilation there are a few small dots left on the screen of my LCR-T4-H.

I attached some photos.

To fix it I had to change the line in the "ST7565R" section:

#define LCD_OFFSET_X                    /* enable x offset of 4 dots */

For this other:

//#define LCD_OFFSET_X                    /* enable x offset of 4 dots */

You may want to point it in your "Clones" file in case someone encounters the same problem.

Thank you very much for the great job you do and greetings.
 

Offline Andrey

  • Contributor
  • Posts: 25
  • Country: ua
Re: $20 LCR ESR Transistor checker project
« Reply #5209 on: October 09, 2018, 08:41:01 pm »
Dear madires. Sorry, I dare to ask you again. You can somehow import fonts from Karl-Heinz 1.13 firmware into yours. If necessary, we will all ask Karl-Heinz for permission. It has many fonts and support for many languages. The tester has become international, and the Chinese have made it available anywhere in the world. Thanks you!!! I can not write a new font, I can not master.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7753
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5210 on: October 10, 2018, 10:00:41 am »
Fonts are organized in a little different way for the m-firmware to reduce the firmware size. Basically you can use the same font bitmaps as in the k-firmware, but you have to rearrange things. The m-firmware uses two tables. One table is a simple lookup table to link the characters 0-255 to bitmaps stored in a font table. This way the font table doesn't have to contain empty character bitmaps, such as ASCII control characters. It's fairly simple.

BTW, if anyone is interested in converting fonts I've written a tool to convert a character bitmap from one orientation/byte order/bit order to another.
 

Offline Andrey

  • Contributor
  • Posts: 25
  • Country: ua
Re: $20 LCR ESR Transistor checker project
« Reply #5211 on: October 10, 2018, 12:01:48 pm »
I guess I didn’t study well ... Can you give me a link where I can see it? Thank!
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7753
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5212 on: October 10, 2018, 01:05:11 pm »
Please have a look at the font_* files in the bitmaps directory of the source code.
 

Offline Andrey

  • Contributor
  • Posts: 25
  • Country: ua
Re: $20 LCR ESR Transistor checker project
« Reply #5213 on: October 10, 2018, 07:40:19 pm »
But I do not understand these addresses, it is written for experts. Thanks for taking the time to answer. It remains to either study or wait ...
Regards to you.  :)
 

Offline asadof

  • Newbie
  • Posts: 6
  • Country: ir
Re: $20 LCR ESR Transistor checker project
« Reply #5214 on: October 13, 2018, 12:30:19 am »
Hello friends
I need pcb  for LCR-T4
Please send me
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7753
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5215 on: October 13, 2018, 08:58:58 am »
PCB or picture of the PCB? Or schematics?
 

Offline Andrey

  • Contributor
  • Posts: 25
  • Country: ua
Re: $20 LCR ESR Transistor checker project
« Reply #5216 on: October 13, 2018, 09:15:22 pm »
madires
I made a Russian font for 8x8, but some of the letters are not in their proper places. The word is not read correctly. I Do not know how to do it right. Help me please. File with Russian font. The firmware is compiled and works, but the letters are not in the text, they are swapped ...
 

Offline asadof

  • Newbie
  • Posts: 6
  • Country: ir
Re: $20 LCR ESR Transistor checker project
« Reply #5217 on: October 14, 2018, 01:20:03 am »
the PCB pdf  To build
« Last Edit: October 14, 2018, 01:22:18 am by asadof »
 

Offline asadof

  • Newbie
  • Posts: 6
  • Country: ir
Re: $20 LCR ESR Transistor checker project
« Reply #5218 on: October 14, 2018, 01:21:32 am »
PCB or picture of the PCB? Or schematics?
the PCB
I want to make
 

Offline Willem52

  • Regular Contributor
  • *
  • Posts: 73
  • Country: nl
Re: $20 LCR ESR Transistor checker project
« Reply #5219 on: October 14, 2018, 07:57:02 am »
Why should you make the PCB yourself, when it's compleet and so cheap?

https://www.banggood.com/LCR-T4-12864-LCD-Graphical-Transistor-Tester-Resistance-Capacitance-ESR-SCR-Meter-p-1311439.html?


There is also a lot of information here:
https://yadi.sk/d/yW8xa5NJgUo5z
« Last Edit: October 14, 2018, 08:00:51 am by Willem52 »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7753
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5220 on: October 14, 2018, 10:53:15 am »
I made a Russian font for 8x8, but some of the letters are not in their proper places. The word is not read correctly. I Do not know how to do it right. Help me please. File with Russian font. The firmware is compiled and works, but the letters are not in the text, they are swapped ...

It seems that 0x6f is missing:
Code: [Select]
  0x1C,0x1C,0x1C,0x7F,0x3E,0x1C,0x08,0x00,    /* 0x6e ~ */
 
  0x7F,0x7F,0x49,0x49,0x49,0x79,0x33,0x00,   /* 0x70 'Á' Cyr_B */

Simply insert following between 0x6e and 0x70:
Code: [Select]
  0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,   /* 0x6f n/a */
 

Offline Andrey

  • Contributor
  • Posts: 25
  • Country: ua
Re: $20 LCR ESR Transistor checker project
« Reply #5221 on: October 14, 2018, 12:20:01 pm »
Thank!!!  :-+
Works!!!
I added Russian letters for 16 fonts. The firmware is not compiled. Edited letters using the program - KS0108.exe
I find it hard to figure out the addressing.
Thank you so much for the help!

Font 8x8 with Russian for ST7565 - with Russian font, working.

font_8x16_vfp.zip - with Russian characters, requires adjustment - does not work
« Last Edit: October 14, 2018, 02:54:51 pm by Andrey »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7753
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5222 on: October 14, 2018, 01:16:24 pm »
Great! I'll add both fonts to the next firmware version.
 

Online Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11622
  • Country: my
  • reassessing directives...
Re: $20 LCR ESR Transistor checker project
« Reply #5223 on: October 14, 2018, 04:24:58 pm »
i tried editing firmware ComponentTester-1.34m to work with my TC1 (atMega324PA) Tester, i used TC1-Mod circuit as suggested, so no more STC15W104 chip. the problem is immediate exit (power off) after measurement (or no component), problem similar to...
* once online the device is testing and so on, afterwards it says IMMEDIATELY 'bye' - there is no delay, you cannot even read the values
in page 204...

Have you set the MCU clock to 16MHz in the Makefile?
yes i've edited makefile FREQ = 16, still same problem.

attached is the file i edited (with comment "soa") so i/you can easily track where i edited.
any idea? esp @madires. please help... i've wasted many time on this DANIU TC1 crap.
« Last Edit: October 14, 2018, 04:30:42 pm by Mechatrommer »
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline Andbro

  • Regular Contributor
  • *
  • Posts: 119
Re: $20 LCR ESR Transistor checker project
« Reply #5224 on: October 14, 2018, 04:53:57 pm »
Hi,

On the website of Mikrocontroller.net where we can find the latest Firmware Karl-Heinz, there are several possible models. Is there a website where you can find a photo with the model ?

Thanks
Modify message
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf