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

indman and 6 Guests are viewing this topic.

Online indman

  • Super Contributor
  • ***
  • Posts: 1012
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #4825 on: May 31, 2018, 07:06:37 pm »
So far the project in Proteus crude! I am not ready will share. Perhaps later. :)
 
The following users thanked this post: firewalker

Offline madires

  • Super Contributor
  • ***
  • Posts: 7765
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #4826 on: May 31, 2018, 07:52:52 pm »
I disabled LCD_RES and LCD_CS in config_328.h without success.

Could you please try SERIAL_BITBANG?
 
The following users thanked this post: phunky2018

Offline madires

  • Super Contributor
  • ***
  • Posts: 7765
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #4827 on: May 31, 2018, 08:00:21 pm »
Hi madires! :)
At me it is also impossible to receive the response in an automatic mode.
ERR responds to any command.
I try simulation of the project in Proteus.

At least you get some feedback. ;) Which control characters is the virtual terminal sending as newline?
 

Offline tongbajiel

  • Newbie
  • Posts: 5
  • Country: id
Re: $20 LCR ESR Transistor checker project
« Reply #4828 on: June 01, 2018, 12:30:20 am »
Hello guys.
"SALAM" form Indonesia.

Let me share my job testing for last version ESR from Karl-Heinz trunk on proteus 8.7 sp2
with ST7735 lcd.

This project based from old trunk KH esr files for ST7565 from this post.
You can find the original works here.
http://kazus.ru/forums/showthread.php?t=8259&page=20#

Schematic is very simple and not full like real board.
REMEMBER !!! its made just for test only on proteus.

you can change whatever you want for simulation, but must be warning if execution on real HW.

I change some parameter on makefile and not connected all of lcd pin on proteus to make its displayed and works on proteus.
I change "MAX_MENU_LINES" from 5 to 14 menu in "function_menu.c" in this test.
Remember to change the parameter if you want to flash in real hardware before compile it.
uncomment #CFLAGS += -DUSE_EEPROM in makefile if compile for real HW.

If anyone has same project from Markus based esr, and works displayed on proteus with BW/Color lcd, please share it, because still now i got not working simulation for Markus based esr.


Finally.... I hope you like, and forgive for my bad English.

« Last Edit: June 01, 2018, 05:12:34 pm by tongbajiel »
 
The following users thanked this post: firewalker, mauroh

Offline carrascoso

  • Contributor
  • Posts: 41
  • Country: es
Re: $20 LCR ESR Transistor checker project
« Reply #4829 on: June 01, 2018, 03:43:52 pm »
Hello, thanks to all of you and I was able to modify and update my old meter in disuse.  :clap:

Changed the ATmega168 by a 328, and incorporated a 20MHz crystal.

I have put the firmware K "mega328_2X16_menu" compiled at 20MHz, since firmware M has been impossible to make it work.

When I want to measure any component it does not recognize any and it gives practically the same results for all of them and not differentiating between them.

The only thing that recognizes well are the capacitors, but it gives a very high ESR.

In the calibration in the step that asks to put a capacitor of 4-30nf when putting it it remains indefinitely stopped, it is necessary to remove the condenser so that it goes ahead and finish the calibration.

Attached some photos, have if you can help me solve the problem.

Thank you

     

« Last Edit: June 01, 2018, 05:29:03 pm by carrascoso »
 

Offline carrascoso

  • Contributor
  • Posts: 41
  • Country: es
Re: $20 LCR ESR Transistor checker project
« Reply #4830 on: June 01, 2018, 03:55:20 pm »
     
« Last Edit: June 01, 2018, 03:57:23 pm by carrascoso »
 

Offline lordstein

  • Contributor
  • Posts: 16
  • Country: co
Re: $20 LCR ESR Transistor checker project
« Reply #4831 on: June 01, 2018, 06:23:28 pm »
i was measuring ESR on a visually damaged capacitor (680mF and 25v) and  i was very impressed because the values were very close to those shown by the atlas esr70. version 1.13k



delete tripit account
 

Online indman

  • Super Contributor
  • ***
  • Posts: 1012
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #4832 on: June 01, 2018, 07:19:40 pm »
At least you get some feedback. ;) Which control characters is the virtual terminal sending as newline?
The virtual terminal supports the CR (0x0D) codes (carriage return), BS (0x08) (return) and BEL (0x07) (a sound signal) controlling ASCII. All other codes, including line feed of LF (0x0A), are ignored.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7765
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #4833 on: June 01, 2018, 07:50:57 pm »
The remote commands expect each line to be terminated with either <CR><LF> or <LF> (CR=0D, LF=0A). Oops, found a typo in the README (it should be <LF> and not <NL>).
 

Offline tongbajiel

  • Newbie
  • Posts: 5
  • Country: id
Re: $20 LCR ESR Transistor checker project
« Reply #4834 on: June 01, 2018, 08:06:29 pm »

At me it is also impossible to receive the response in an automatic mode.
ERR responds to any command.
I try simulation of the project in Proteus.

Hi indman, Can you share the proteus source please
 

Offline phunky2018

  • Newbie
  • Posts: 3
  • Country: de
Re: $20 LCR ESR Transistor checker project
« Reply #4835 on: June 02, 2018, 06:01:59 am »
Hi madires,
yes SERIAL_BITBANG is working, in my case at PD4 and PD5.
Now i can play with all commands.
Thank you.

One stupid question, everytime I reprogram the chip, is also necessary to reprogram again the fuses?
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7765
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #4836 on: June 02, 2018, 11:09:51 am »
Interesting! So I'll have to recheck SERIAL_HARDWARE on the ATmega328. The fuses need to be set just the first time (new or salvaged ATmega).
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7765
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #4837 on: June 02, 2018, 11:21:28 am »
Quick update on the m-firmware. I'm working on an 1Wire driver (probes or a dedicated MCU pin are possible) and support for the DS18B20 temperature sensor.
 

Offline goophoba

  • Newbie
  • Posts: 2
  • Country: ca
Re: $20 LCR ESR Transistor checker project
« Reply #4838 on: June 03, 2018, 05:18:44 am »
I think I am going in circles and I was hoping someone might know whats up.

Got a "M328" (same as timelessbeings at Reply 4744 pg. 190) and I updated to version 1.33m on a spare 328 pulled out of a UNO (perhaps relevant?). I followed directions from this post using the eep and hex from mega328_st7565_kit on gitub. Got a "end of file error" and no write. Files also larger than others some others I've found.

I then tried the latest K-H M328 1.12 hex and eep from avrtester.tode and no joy. Flash and eeprom seem to erase and write just fine, no warnings in cmd aside from "cannot set sck period" but thats never got in the way before.  Even with the seemingly ok write when the mega328p is returned to "M328" tester the screen just stays blank when turned on. No power LED either. (contrast issue?) Led light and screen backlight stay on without any image.

As a last shot tried the files from here. Hex file 1k bigger at 87.4k than the previous hex attempted. These files worked, but the firmware comes up as V1.13k in the tester even though the page downloaded from says 1.33m. Seems like I am grabbing the wrong files but they are all labeled "mega328_st7565_kit".

Am I using the newest at 1.13K?
 

Offline timelessbeing

  • Frequent Contributor
  • **
  • Posts: 929
  • Country: 00
Re: $20 LCR ESR Transistor checker project
« Reply #4839 on: June 03, 2018, 07:45:24 am »
/Software/trunk directory is 'k' firmware.
/Software/Markus directory is 'm' firmware. (hex/eep files not provided. You need to compile)
« Last Edit: June 03, 2018, 07:47:00 am by timelessbeing »
 
The following users thanked this post: goophoba

Offline goophoba

  • Newbie
  • Posts: 2
  • Country: ca
Re: $20 LCR ESR Transistor checker project
« Reply #4840 on: June 04, 2018, 01:00:33 am »
ah, got it. Thanks.
 

Offline carrascoso

  • Contributor
  • Posts: 41
  • Country: es
Re: $20 LCR ESR Transistor checker project
« Reply #4841 on: June 04, 2018, 07:56:00 pm »
     

The problem that had to mediate all components was due to this resistance was not welded in place.
I do not know if it came from home or moved when the ATmega168 was changed by the Atmega 328.

Thank you very much to all.
regards

 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7765
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #4842 on: June 07, 2018, 06:54:15 pm »
Another quick update. The idea of a VT100 display driver appealed to me so much that I've simply written one. ;) It supports color (option switch) and replaces a LCD display completely, i.e. same output but no symbols, and special characters are replaced by standard ones. And it works also for all menus and tools. The benefits are freed-up MCU pins for other hardware options and a smaller firmware.
 
The following users thanked this post: timelessbeing, mauroh, bitseeker, Marcos, indman, pepe10000, phunky2018

Offline madires

  • Super Contributor
  • ***
  • Posts: 7765
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #4843 on: June 12, 2018, 08:14:52 pm »
We have a simple modification for the TC-1 clone to make it work with the k/m-firmware. The control MCU U4 is replaced by a small circuit with two transistors. The best way seems to be to use thin enamel wire and hot glue. The ATmega's PD1 is the input for the test button and PD2 the output for the power control. Any jelly bean small signal NPN and PNP are fine.
« Last Edit: June 12, 2018, 08:34:39 pm by madires »
 
The following users thanked this post: Marcos, indman, Feliciano

Offline eliocor

  • Supporter
  • ****
  • Posts: 519
  • Country: it
    • rhodiatoce
Re: $20 LCR ESR Transistor checker project
« Reply #4844 on: June 12, 2018, 09:24:30 pm »
Quote
We have a simple modification for the TC-1 clone to make it work with the k/m-firmware. The control MCU U4 is replaced by a small circuit with two transistors. The best way seems to be to use thin enamel wire and hot glue. The ATmega's PD1 is the input for the test button and PD2 the output for the power control. Any jelly bean small signal NPN and PNP are fine.
Thanks for the schematics/modifications!

Any more details regarding
compilation flags/options/...
for the TC-1 firmware?
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7765
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #4845 on: June 12, 2018, 09:33:19 pm »
The next m-firmware version will include the settings for the TC-1 (in the "Clones" file).
 
The following users thanked this post: eliocor, Marcos, flodo, mebel

Online indman

  • Super Contributor
  • ***
  • Posts: 1012
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #4846 on: June 13, 2018, 04:28:38 pm »
We have a simple modification for the TC-1 clone to make it work with the k/m-firmware. The control MCU U4 is replaced by a small circuit with two transistors. The best way seems to be to use thin enamel wire and hot glue. The ATmega's PD1 is the input for the test button and PD2 the output for the power control. Any jelly bean small signal NPN and PNP are fine.
Yes! :D
It works in simulation! madires thanks!
 
The following users thanked this post: Feliciano

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: $20 LCR ESR Transistor checker project
« Reply #4847 on: June 13, 2018, 04:39:53 pm »
That's cool that you can simulate the whole thing including the display.
TEA is the way. | TEA Time channel
 

Offline broadway

  • Contributor
  • Posts: 16
  • Country: in
Re: $20 LCR ESR Transistor checker project
« Reply #4848 on: June 14, 2018, 09:26:01 am »
Hello Everyone,

I'm new here but been lurking for a while.

I received the Fish8840TFT in the mail 3 days ago through aliexp.



I've played with the input voltage and here are the results

Input Voltage / Result
9v = Working (7.8v on display / 320 ma current consumption) 7.8v x 0.320 = 2.88 watt
8.5v = W (7.7v / 300 ma)
8v = W (7.7v / 280 ma)
7.5v = W (7.6v / 260 ma)
7v = W (7.5v / 230 ma)
6.5v = W (7.5v / 190 ma)
6v = W (7.4v / 160 ma)
5.5v = W (7.3v / 110 ma)
5v = W (7.4v / 70 ma)
4.5v = W (7.6v / 50 ma)
4.3v = W (7.6v / 50 ma)
4.2v= W (7.7v / 50 ma)
4.1v = Screen flashes but unit does not switch on. Issue with dropout voltage of zener diode 3.3v (BZX84C3V3). Atmega328 working voltage is 1.8v to 5.5v

Tested on 2200uf capacitor. Zener diodes may probably not work.

Changing input voltage changes the reading data and so needs calibration (join 1+2+3 with small wire and switch on unit. Needs good 100uf capacitor)

Btw, I desoldered the LCD connector flex cable to see whats inside. I would advise readers not to do that since resoldering this back is a pain. IMO, we can desolder/resolder this 3-5 times max before the pitches start disintegrating due to heat. Also set 200-250C heat on solder for this. My resolder attempt was horrible and I had to cover it with tape just to avoid looking at it.



Some components get warm to hot during operation. When powered by 5v Vin, components run cool (ie, at room temperature)

Next mod is to add lithium battery. BZX84C3V3(3.3v) zener is getting hot because it is connected directly to 9v Vin and dropping 5.7v. A stable Vin should be 5v though 3.6v lithium + a tiny booster.




More photos here
https://imgur.com/a/kTM8BPx
« Last Edit: June 15, 2018, 01:36:26 pm by broadway »
 

Offline szpila

  • Newbie
  • Posts: 5
  • Country: pl
Re: $20 LCR ESR Transistor checker project
« Reply #4849 on: June 14, 2018, 03:30:11 pm »
The next m-firmware version will include the settings for the TC-1 (in the "Clones" file).

Hi madires.
Could you add to source code translation to polish language? I attached a file with translation.
Good luck with further development :)
 
The following users thanked this post: madires, mebel


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf