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

bffargo, jellytot and 11 Guests are viewing this topic.

Offline Boleslaw_J

  • Newbie
  • Posts: 5
  • Country: pl
Re: $20 LCR ESR Transistor checker project
« Reply #9275 on: March 05, 2024, 03:53:26 pm »
@ carl1961

The current used 2.8-inch 240x320 LCD TFT displays with ILI9341 or ST7789 drivers are powered by 3.3 V. To connect them to the AY-AT tester, whose microcontroller is powered by 5 volts, an additional interface must be used to reduce the voltage level.
Here is an example of such an interface.


 
The following users thanked this post: carl1961

Offline carl1961

  • Contributor
  • Posts: 31
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #9276 on: March 05, 2024, 05:51:54 pm »
Thanks Boleslaw_J ,

I already have a 16 MHZ Crystal on the main board, that's why the crystal is missing from your  644 Adapter. Do i need to remove it and install on adapter?

Of course not. The location of the external resonator is not important.
Thanks  Boleslaw_J,  that's what I read from your post  ;)  https://www.mikrocontroller.net/topic/transistortester-avr?page=32#7426316
 

Offline Feliciano

  • Regular Contributor
  • *
  • Posts: 214
  • Country: ve
Re: $20 LCR ESR Transistor checker project
« Reply #9277 on: March 06, 2024, 11:59:30 pm »
Dear madires:
I'm still working, with low priority, on the fonts.

IIRC, Karl-Heinz used to show the test of the bitmaps continously as it fit the screen (reminds me a typewriter). You on the other hand plot 8 chars per line. Because there is the case of small and/or narrow fonts on a high_res LCD (like 8x16 on 160128), I wonder whether it would take too much code to do something like:
if((screen_witdh/font_width>17);then plot_16_char_per_row;else plot_8_char_per_row /*as done now*/)
That way we would have to scroll less, and get a better understanding of the whole set.

What do you think?
« Last Edit: March 07, 2024, 12:24:26 am by Feliciano »
 

Offline Boleslaw_J

  • Newbie
  • Posts: 5
  • Country: pl
Re: $20 LCR ESR Transistor checker project
« Reply #9278 on: March 07, 2024, 07:41:26 am »
Thanks Boleslaw_J ,
I already have a 16 MHZ Crystal on the main board, that's why the crystal is missing from your  644 Adapter. Do i need to remove it and install on adapter?

Of course not. The location of the external resonator is not important.
Thanks  Boleslaw_J,  that's what I read from your post  ;)  https://www.mikrocontroller.net/topic/transistortester-avr?page=32#7426316

If you want to know exactly what I meant, check out the content of the post I wrote earlier on the subject:
https://www.mikrocontroller.net/topic/transistortester-avr?page=31#7396852
 
The following users thanked this post: carl1961

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #9279 on: March 07, 2024, 08:53:50 am »
IIRC, Karl-Heinz used to show the test of the bitmaps continously as it fit the screen (reminds me a typewriter). You on the other hand plot 8 chars per line. Because there is the case of small and/or narrow fonts on a high_res LCD (like 8x16 on 160128), I wonder whether it would take too much code to do something like:
if((screen_witdh/font_width>17);then plot_16_char_per_row;else plot_8_char_per_row /*as done now*/)
That way we would have to scroll less, and get a better understanding of the whole set.

A similar suggestion was already on my to-do list (implemented a few days ago). The alternative output prints all available characters without an index address and uses the complete display width.
 
The following users thanked this post: Jacon, Feliciano

Offline Strateg58

  • Newbie
  • Posts: 6
  • Country: ru
    • https://www.eevblog.com/forum/register2/
Re: $20 LCR ESR Transistor checker project
« Reply #9280 on: March 08, 2024, 05:23:56 am »
Hi guys. Which one of you has implemented the LOPT/FBT function in the transistor tester.? It doesn't work for me. See if I have connected the circuit correctly.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #9281 on: March 08, 2024, 09:13:32 am »
It seems that Vcc and Gnd are reversed. From the README:
Code: [Select]
Pinout for control output via probes:
  Probe #1:  Vcc (5 V)
  Probe #2:  pulse output (with 680 Ohms resistor to limit current)
  Probe #3:  Ground
  T0:        counter input
 
The following users thanked this post: carl1961

Offline Strateg58

  • Newbie
  • Posts: 6
  • Country: ru
    • https://www.eevblog.com/forum/register2/
Re: $20 LCR ESR Transistor checker project
« Reply #9282 on: March 09, 2024, 03:48:08 am »
Thanks Madires. And to connect to +5 volts, or is it enough to connect to Pin1
 

Offline carl1961

  • Contributor
  • Posts: 31
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #9283 on: March 09, 2024, 06:11:12 am »
Finally got AY-AT Running, with von Boleslaw J. (boleslaw_43) Adapter_m328_m644_AY-AT. made a adapter from His photo FotoAlbum_TT_diagram. attached is eagle cad of the adapter and the kicad version to CNC mill, putting 4 jumpers (green traces) on back, because I can only do one sided PCB's.  I forgot to mirror the board , when doing the Milling file gcodes and had to solder the chip directly  to pcb (or redo it). Now to make small cables for screen and tweak the Case. 
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #9284 on: March 09, 2024, 10:51:04 am »
Thanks Madires. And to connect to +5 volts, or is it enough to connect to Pin1

Probe #1 is fine.
 

Offline rogerdammit

  • Newbie
  • Posts: 7
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #9285 on: March 10, 2024, 05:34:44 pm »
Thanks, I remember that discussion, but the conclusion was not clear to me.

I'm trying now that toolchain, downloaded from ZakKemble's github, but it gives me compile errors. I'm troubleshooting what it is.
Code: [Select]
avr-size: invalid option -- C

I'm getting the same error. Can you please post the fix?
 

Offline Feliciano

  • Regular Contributor
  • *
  • Posts: 214
  • Country: ve
Re: $20 LCR ESR Transistor checker project
« Reply #9286 on: March 10, 2024, 06:28:25 pm »
I rolled back to the original avr-size.
 

Offline Kim Christensen

  • Super Contributor
  • ***
  • Posts: 1327
  • Country: ca
Re: $20 LCR ESR Transistor checker project
« Reply #9287 on: March 10, 2024, 08:08:15 pm »
Thanks, I remember that discussion, but the conclusion was not clear to me.

I'm trying now that toolchain, downloaded from ZakKemble's github, but it gives me compile errors. I'm troubleshooting what it is.
Code: [Select]
avr-size: invalid option -- C

I'm getting the same error. Can you please post the fix?

I made the following changes to my makefile:

#   @avr-size -C --mcu=${MCU} $<
   @avr-objdump -Pmem-usage ${NAME}

 
The following users thanked this post: rogerdammit

Offline carl1961

  • Contributor
  • Posts: 31
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #9288 on: March 10, 2024, 08:55:36 pm »
Signing off with this Project, It was fun.  :-DMM
Attached firmware is using the 74HC4050AP Adapter posted on my last post.
« Last Edit: March 10, 2024, 08:58:47 pm by carl1961 »
 
The following users thanked this post: Obelix2007, Tugo

Offline carl1961

  • Contributor
  • Posts: 31
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #9289 on: March 10, 2024, 08:58:08 pm »
STL file for case and pictures of testing
« Last Edit: March 10, 2024, 09:01:47 pm by carl1961 »
 
The following users thanked this post: Obelix2007, Tugo

Offline Feliciano

  • Regular Contributor
  • *
  • Posts: 214
  • Country: ve
Re: $20 LCR ESR Transistor checker project
« Reply #9290 on: March 11, 2024, 03:43:01 pm »
It's my understanding that after pondering pros and cons, the Sampling ADC development has been put on hold for m-firmware. So looking at the quartz crystal measurement options for this, I have some comments about the documentation:
Section 3.1.12. Frequency Counter of CTester 1.51m doc points: "The circuit diagrams for both are depicted in Karl-Heinz’ documentation."
However, on TTester 1.13k (2021) doc I notice the basic frequency measurement circuit, but not what referred from 1.51m doc.
And back to 1.51m doc, I think 3.1.13 and 3.1.14 are both the options of 3.1.12, so IMHO those should be 3.1.12.1 and 3.1.12.2.

Anyways, I looked at the schematic of the Hiland M644, and I notice the implemented (extended) hardware option. Could that be ported to an smaller MCU?
It's not like I'm testing xtals everyday, but anyways I know the workaround: to have k-firmware handy.
« Last Edit: March 11, 2024, 03:46:23 pm by Feliciano »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #9291 on: March 11, 2024, 05:26:24 pm »
The extended frequency counter is part of the extended Transistor Tester circuit with ATmega644 shown in Karl-Heinz' documentation (Figure 2.16.). I think it should be possible to use an ATmega328 with an I2C display to free up three I/O pins to control the frequency counter frontend.
 
The following users thanked this post: carl1961

Offline indman

  • Super Contributor
  • ***
  • Posts: 1012
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #9292 on: March 12, 2024, 06:47:44 am »
Anyways, I looked at the schematic of the Hiland M644, and I notice the implemented (extended) hardware option. Could that be ported to an smaller MCU?
It's not like I'm testing xtals everyday, but anyways I know the workaround: to have k-firmware handy.
Pay attention to this simple modification, which was suggested earlier by Yuriy_K. I think it can be easily adapted to test quartz on both k-firmware and m-firmware. You only need 1 port for the frequency meter input. ;)
https://www.eevblog.com/forum/testgear/$20-lcr-esr-transistor-checker-project/msg4564999/#msg4564999
 

Offline Feliciano

  • Regular Contributor
  • *
  • Posts: 214
  • Country: ve
Re: $20 LCR ESR Transistor checker project
« Reply #9293 on: March 12, 2024, 12:56:01 pm »
Thanks, I've overlooked that post.

That more simple circuit seems easier to connect by the existing f-input port of a clone?, or as you say, we would have to allocate one pin for this?
Anyways, it looks the HCF4060B it's being used as a /16 frequency divider. I suppose that would have to be taking under consideration on the firmware or measurements.

I'm not familiar with that IC, so looking at the datasheets, I notice the manufacturers recommend to add an additional resistor to what Yuriy_K implemented. That series resistor is supposed to be "for power limitation and assuring a minimum transconductance". For further study, I refer an example (of the SMD equivalent) with some recommended values.
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1012
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #9294 on: March 12, 2024, 01:07:29 pm »
That more simple circuit seems easier to connect by the existing f-input port of a clone?, or as you say, we would have to allocate one pin for this?
Connect wherever is most convenient for you! The main thing is to simply understand the principle of operation of this circuit.

I'm not familiar with that IC, so looking at the datasheets, I notice the manufacturers recommend to add an additional resistor to what Yuriy_K implemented.
Why do you need this if Yuriy_K has already done a lot of work and showed you that most quartz are perfectly detected and tested by this method and this schematic?
 

Offline Feliciano

  • Regular Contributor
  • *
  • Posts: 214
  • Country: ve
Re: $20 LCR ESR Transistor checker project
« Reply #9295 on: March 12, 2024, 01:19:43 pm »
Please don't get me wrong, I don't doubt it works without the resistor. I'm just suggesting what could be done for further improving it (perhaps enabling it to reach higher frequencies), and/or recommended as an official hardware frontend.
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1012
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #9296 on: March 12, 2024, 01:25:28 pm »
Feliciano, this circuit can be assembled in a few hours if you want or maybe even faster on a breadboard. Check its work and then tell us about your experiments and improvements, I think that many people will be interested.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #9297 on: March 12, 2024, 02:04:12 pm »
If you build Yuriy_K's HCF4060B based frontend you can simply use the basic frequency counter option in the firmware and add a line to the source code to multiply the frequency by 16.
 

Offline Feliciano

  • Regular Contributor
  • *
  • Posts: 214
  • Country: ve
Re: $20 LCR ESR Transistor checker project
« Reply #9298 on: March 12, 2024, 07:05:50 pm »
Yeah, I was thinking on breadboard this, because it's simple. My local provider has old stock of the IC, so I'll buy one to start the process. The thing is I don't have an f-input CTester handy, so I was thinking to use a 5MHz oscilloscope instead.

I'll let you know maybe next week.
 

Offline Strateg58

  • Newbie
  • Posts: 6
  • Country: ru
    • https://www.eevblog.com/forum/register2/
Re: $20 LCR ESR Transistor checker project
« Reply #9299 on: March 13, 2024, 04:57:28 am »
It seems that Vcc and Gnd are reversed. From the README:
Code: [Select]
Pinout for control output via probes:
  Probe #1:  Vcc (5 V)
  Probe #2:  pulse output (with 680 Ohms resistor to limit current)
  Probe #3:  Ground
  T0:        counter input
I changed the connection on the recommendation of Madires. The result is the same. The scheme does not work. I changed the capacity of C2, changed the connected transformers. There are no fluctuations after C2. If no one responded, then no one is using this function.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf