Saturday, April 27, 2013

Component Tester

The last project that i built it is a component tester, which is based on AVR-Transistortester by Mark Frejek
And here is the modified version further developed by Karl-Heinz Kübbeler.
You'll find all firmwares and  documentation  at http://www.mikrocontroller.net/svnbrowser/transistortester/.

Here is the schematic:


 The PCB layout:

And here is the final result:



Here is a list of the parts used in this project:

PartValue
PackageDescription



C1100nF
C025_050-025X075CAPACITOR
C21nF
C2.5-2CAPACITOR
C310nF
C2.5-2CAPACITOR
C422pF
C2.5-2CAPACITOR
C522pF
C2.5-2CAPACITOR
C6100nF
C025_050-025X075CAPACITOR
C7100nF
C025_050-025X075CAPACITOR
C8100nF
C025_050-025X075CAPACITOR
C9100uF
E5-10,5POLARIZED_CAPACITOR
C1010uF
E2,5-6EPOLARIZED_CAPACITOR
D11N4148
DO35-7DIODE
D2SCHOTTKY
DO35-7Schottky Diode
D3SCHOTTKY
DO35-7Schottky Diode
D41N4148
DO35-7DIODE
DIS1TUXGR_16X2_R2
TUXGR_16X2_R2Tuxgraphics LCD display 16x2 characters reflective, with background light

IC1ATmega8/168/328
DIL28-3MICROCONTROLLER
IC3LM7805
78XXLVOLTAGE REGULATOR
ISPISP
ML6HARTING

J1POWER_JACKPTHPOWER_JACK_PTHPower Jack
JP1+9V
1X01PIN HEADER
JP2GND
1X01PIN HEADER
L110µH
0207/10INDUCTOR
L210µH
0207/10INDUCTOR
LED1green
LED5MMLED
Q1BC557C
TO92-EBCPNP Transistror
Q2BC547B
TO92NPN Transistor
Q3BC547B
TO92NPN Transistor
Q48,000 MHz
HC49/SCRYSTAL

R110K
0207/10RESISTOR
R210K
0207/10RESISTOR
R33K3
0207/10RESISTOR
R43K3
0207/10RESISTOR
R52K7
0207/10RESISTOR
R627K
0207/10RESISTOR
R7100K
0207/10RESISTOR
R8680R
0207/10RESISTOR
R9470K
0207/10RESISTOR
R10680R
0207/10RESISTOR
R11470K
0207/10RESISTOR
R12680R
0207/10RESISTOR
R13470K
0207/10RESISTOR
R1410k
PT-10SPotentiometer
R1533-270
0207/10RESISTOR
R1633K
0207/10RESISTOR
R172K7
0207/10RESISTOR
R1847k
0207/10RESISTOR
S1Start Test
B3F-10XXOMRON SWITCH


SV2TEST PINS
FE05-2FEMALE HEADER

SV3TEST
MA03-1PIN HEADER

VREF1LM336 / LM4040
TO92-VREFVOLTAGE REFERENCE
   

Software Version 1.07k Specifications:


Measurment Range: 
   -Resistor:0.5Ω - 50MΩ.   
   -Capacitor:25pF - 100000uF.
   -Inductance:0.01mH - 20H.
 Features:
  -Operates with ATmega8, ATmega168 or ATmega328 microcontrollers.
  -Automatic detection of NPN and PNP transistors, N-channel and P-channel MOSFET, diode (including dual diode),Thyristor,Transistors, resistors and capacitors.
  -Automatic detection of pin layout of the detected part.
  -Measuring of current amplifcation factor and Base-Emitter threshold voltage of bipolar transistors.
  -Detection of the protection diode of bipolar transistors and MOSFETs.
  -Measuring of the Gate threshold voltage and Gate capacity value of MOSFETs.
  -Resolution of resistor measurement is now up to 0:01 values up to 50M are detected.
  -For resistors below 2100 also the measurement of inductance will be done,
  -Capacitors with values from 25pF to 100mF. The resolution can be up to 1 pF .
  -For capacitors with a capacity value above 0:18 F the Equivalent Serial Resistance (ESR) is
measured with a resolution of 0:01Ω.
  -For capacitors with a capacity value above 5000pF the voltage loss after a load pulse can be
determined. The voltage loss give a hint for the quality factor of the capacitor.
  -Zener-Diodes can be detected, if reverse break down Voltage is below 4.5V. 
  -LED is detected as diode, the flux voltage is much higher than normal.
  -Selectable facility to calibrate the internal port resistance of port output and the zero of set
of capacity measurement with the selftest.
  -Display battery voltage

  Edit:
Component Tester schematic Eagle
Component Tester board Eagle
Component Tester bottom pdf
Component Tester top pdf
Component Tester top silkscreen pdf

Component Tester box silkscreen psd

Software

75 comments :

  1. Can you share me your code for microcontrollers, my email: duchanh11sk@gmail.com . Thanks you.

    ReplyDelete
  2. Hi.
    can i have the code and eagle file please? my e mail is : mohakash.rain@gmail.com.
    Thanks

    ReplyDelete
  3. can i have the code please and how programe atmega

    ReplyDelete
  4. Me too please, here is my e mail xozip_neutron@yahoo.com
    If you could include the Hex file of the code, it would better.

    Thanx

    ReplyDelete
  5. sir, can i have too?
    im using altium and avrstudio4
    bebekomes@gmail.com
    thank you sir :D

    ReplyDelete
  6. taufiksanjaya@yahoo.com please...

    ReplyDelete
  7. Me too please, b1nst4r@gmail.com thank b4... :)

    ReplyDelete
  8. Claudiu pune si tu un fisier pcb , al meu nu imi place cum a iesit
    Eu cred ca este montajul secolului din 2009 dureaza , cred ca in 2015 va praji mititei si va avea si un player (ca sa nu te plictisesti)
    o zi buna

    ReplyDelete
  9. http://www.4shared.com/rar/c2T_5Ovcce/TESTER_COMPONENTE_ATMEGA_8_328.html
    Testat cu atmega 8 si 328 firmware 1.08 ,programat cu willem programmer.Cablajul partii sudate a fost obtinut cu acdsee photomanager 11,
    prin rotirea placii ,resize la 32% ,modificare in colour pt obtinere claritate trasee .

    ReplyDelete
    Replies
    1. Eu unul sunt uimit de realizare avand la dispozitie doar o imagine.
      Si ca sa fie terminat are nevoie de o carcasa. Eu am folosit-o pe aceasta: http://www.tme.eu/ro/details/cp-20-39/carcase-universale/combiplast/#

      Delete
  10. Daca erai baiat fain puneai si tu un pdf cu pcb-ul sau fisierele eagle , ce am facut eu nu imi place , imi place mai mult al tau probabil ca esti mai tinerel si ai timp mai mult
    Am versiune pe mega 8 fara quartz si vreau sa o fac si pe 328
    imi place cum a iesit
    bafta dracosule ( am pierdut o partitie ca altfel nu ma rugam eu de tine)

    ReplyDelete
    Replies
    1. ma ajuti si pe mine cu codul pentru atmega 8 daca te rog frumos ? dj_bijucu@yahoo.com eadresa mea. multumesc

      Delete
  11. Acum am vazut fisierele , multam pentru donatie si pentru munca ta __cu respect_Dan

    ReplyDelete
  12. Am urmarit ""aventura "" ta in domeniu __esti un zeu stii sa scrii softuri
    Daca m-as pricepe as incerca un multimetru cu display 4x16 (sau 4x20) , ar fi al doilea proiect dupa AVR tester al lui Karl Heintz

    ReplyDelete
  13. imi spuneti si mie daca va rog frumos de unde as putea lua codul bun pentru microcontrollerul atmega 8 al acestui proiect

    ReplyDelete
  14. Salut,
    poti trimite ultimul firmware pentru acest proiect? (alevike(arond)gmail(dot)com)
    Multumesc.

    ReplyDelete
    Replies
    1. Am construit cu lcd 16x2 si cu mega328p.

      Delete
    2. Forget it, am reusit. Merge ok.

      Delete
    3. This comment has been removed by the author.

      Delete
  15. I want to build this project. But I do not have a code for IC Atmega8, please give it to me.

    ReplyDelete
    Replies
    1. http://www.mikrocontroller.net/svnbrowser/transistortester/Software/trunk/mega8/

      Delete
  16. Pls atmega ic code dinga54@hotmail.com

    ReplyDelete
    Replies
    1. http://www.mikrocontroller.net/svnbrowser/transistortester/Software/trunk/mega328/

      Delete
  17. Mr CLAUDIU RADU i have trouble with my project. in lcd 16x2 no character seen in my project, it same when i turn variable resistor. and LM 336 in my country has two type that LM 336 5.0V and LM 336 2.5V. how about it and which one can i use. please answer to my email: angginurcahyo@gmail.com

    ReplyDelete
  18. does anyone has a bin file of atmega328 eeprom? i'm trying to run it on proteus but can't seem to simulate it, all i see is a blank lcd.

    ReplyDelete
  19. maestre , ai facut varianta cu extensie pentru diode cum ai obtinut Uext
    banuiesc ca te-ai mutat la versiunea cu 644
    o zi buna

    ReplyDelete
  20. roamer

    CLAUDIU RADU the download links does not work. Can you please correct that

    Regards roamer

    ReplyDelete
  21. sirr, can i ask schematic on eagle, you can send to my email, xluensigit@gmail.com, thank you sirr,

    ReplyDelete
  22. sirr, can i ask schematic on eagle, you can send to my email, xluensigit@gmail.com, thank you sirr,

    ReplyDelete
  23. sirr.. fauzykai@gmail.com
    i have idea for improve more function on this device.

    ReplyDelete
  24. I want to build this project. But I do not have a code for IC Atmega8, please give it to me.
    by_azid@mail.ru

    ReplyDelete
    Replies
    1. http://www.avrtester.tode.cz/index.php?p=firmware

      Delete
  25. please code arduino (uno IDE),
    THANK YOU FOR administration.
    seventeen@gmail.com

    ReplyDelete
  26. hi i need to made this project... but i dont know how program this project What software and what programer can be use
    I have all the parts please help hanks
    redscorpion77tin@gmail.com

    ReplyDelete
    Replies
    1. I initially used in the transistortester ATMEGA8, but I changed microcontroller because ATMEGA328 version has more functions (like ESR and inductance measuring).
      ATMEGA8 microcontroller was programmed using PonyProg and a simple serial programmer.For Atmega328 microcontroller i use an UsbAsp programmer and AVR Burn-O-Mat software.

      Delete
  27. hi my friend ,i need a little help ,i made this project but has failed, idont know why, in C9 and C10 (POLARIZED CAPACITOR) What volt capacitors should be used, is a electrolytic capacitor?
    and in D2 AND D3 Schotky Diodes value is unknown what is that?can use a 1n 4007 or 1n 4001
    please send Answer my email: redscorpion77tin@gmail.com thanks very much

    ReplyDelete
    Replies
    1. I know this is a very old thread, but did he answer your question? I have the same problem, also i would like to know the voltage of the LM336. Thank you!

      Delete
  28. Please let new source software links
    links below have been out of work
    http://www.mikrocontroller.net/svnbrowser/transistortester/Software/trunk/
    http://www.mikrocontroller.net/svnbrowser/transistortester/Doku/tags/?sortby=date
    Thanks

    ReplyDelete
  29. Software Version 1.07k please program link download?
    I made it, but the thyristor does not measure triac and coil
    help please

    ReplyDelete
  30. Hello and thank you very much for sharing your knowledge.
    I build a PCB according to your instructions and uploaded for an m328p the .hex and the .eep files from this link:
    http://www.mikrocontroller.net/svnbrowser/transistortester/Software/trunk/mega328/
    I connected a 9V battery. After pushing the button, LCD awakes and says in quite rapid order:
    - Selection: Transistor
    - Bat. 8.7V OK
    - Testing...
    After that the LCD turns off.
    The fuses of the 328p are set E:FD, H:D6, L:FF

    I don't know where to search for a mistake, but I assume it has something to do with the 328p.
    Should I try a special bootloader, different fuses or some other firmware?
    Thank you very much.

    ReplyDelete
    Replies
    1. Hi
      I just read the fuses from the tester, and they are
      L - 0xFF
      H - 0xD9
      E - 0x07

      Make a bridge between the collector and emitter of the transistor q1. Now the tester should be on all the time, if so, you have a problem with the power supply circuit latching.

      Delete
    2. Hi, thank you very much. I made a bridge as suggested. The LCD turns on, after "Testing..." some 1>--<2 text appears, after that a screen with "Timeout" appears and the LED turns off. "Timeout" stays on the LCD all the time.

      Delete
    3. Maybe there is a problem between components for the probes 1 and 2.
      Double check all your PCB for bridges between adjacent copper tracks and for broken traces.

      Delete
    4. Thank you very much, there was indeed a tiny bridge between reset-pin of m328p and the nearby wire.
      Now the tester works fine, thanks a lot!

      May I ask another question? Is there a way to slow down the speed between the screens showing the results of the test? It says "testing", then the LCD is showing the 1st page of the results and within a second the 2nd page. I can't read that fast ;-)

      Delete
    5. It's your crystal oscillator 8Mhz and you use 22pf capacitors?

      Delete
    6. Yes, exactly as your PCB. Fuses set as you said. Maybe this is a setting in the makefile or in one of the .h files?

      Delete
    7. I have found the problem: and again, a small tiny bridge between the IC-socket of PD7 and gnd.
      Everything is fine now, thank you very much!

      Delete
  31. Salut!
    Am citit cu mare interes blogul tau. Felicitari pentru realizari si pentru ca m-ai "imbolnavit" si pe mine de programarea microcontrolerelor. Sunt abia la primii pasi deci nu ma pot lauda decat cu aprinderea catorva leduri, un buton care are 3 functii si alte cateva maruntisuri.
    Am ajuns aici pentru ca am imprumutat de la un prieten un aparat de masura similar care foloseste un Atmega328P-PU si din greseala am vrut sa masor ESR pe un condensator care nu a fost descarcat.
    Am cumparat un alt Atmega328P-PU si am incercat sa-i fac backup la firmware-ul din cel vechi sa-l rescriu in cel nou folosind un Arduino Uno ca ISP. Citirea si scrierea microprocesoarelor a decurs OK conform AVRDude dar aparatul de masura nu a functionat cu microcontrolerul facut de mine. Nu pornea.
    L-am trimis la reparat la cel care l-a constuit si acum functioneaza cu microcontrolerul pus de acesta dar nu si cu cel facut de mine, nici macar daca am descarcat software-ul din cel cu care acum functioneaza. Ai putea sa-mi spui de ce?
    Multumesc anticipat!

    ReplyDelete
    Replies
    1. Salut!
      Daca backup-ul si rescrierea noului microcontroler a decurs fara erori, singurele probleme la care ma pot gandi momentan sunt: lipsa backup si rescriere pentru memoria eeprom sau configurare fuse-uri(poate sunt setate pentru oscilator extern si acesta nu exista, etc)
      Am copiat si eu astazi firmware-ul din aparat si am reprogramat un microcontroler nou. Dupa rescriere si setarea fuse-uri 0xFF, 0xD9, 0x07 testerul functioneaza normal.

      Delete
    2. Multumesc pentru raspuns.
      Am aflat ce nu era in regula. Backup-ul microcontroler-ului nu a fost in regula dar nu am observat atunci. Fisierul de backup pentru flash era foarte scurt si de aceea nu mergea. Mi-e teama ca microcontroler-ul la care voiam eu sa-i fac backup nu permitea acest lucru. Am gasit aseara ceva informatii despre setarea unor biti care sa nu permita citirea microcontroler-ului dar mai am de studiat.
      Am scris insa un atmega328p-pu cu fisierele indicate aici pe site si totul e OK cu toate ca nu sunt lamurit in ce priveste Lfuse, Hfuse si Efuse. Ale mele arata asa, vazute in xvi32:
      L :01000000FF00 :00000001FF
      H :01000000D926 :00000001FF
      E :01000000FF00 :00000001FF

      Delete
  32. I have problem i cant find crystal 8mhz can i use internal crystal from atmega8 ? How to do it

    ReplyDelete
    Replies
    1. You have to set the fuses of the ATmega8, for example for 8 mhz internal oscillator set Low Fuse: 0xE4

      https://scienceprog.com/programming-avr-fuse-bits-oscillator-settings/
      http://binaryupdates.com/setting-avr-fuse-bits/

      Delete
  33. please sir .. i dunno how to upload the hex .. i have made the pcb and i am using atmega328p with 8 mhz crystal , please tell me the steps to run the software on my microcontroller , plz i need it as soon as possible
    thnx ..

    ReplyDelete
  34. sir .. i successfully uploaded the hex and the eeprom files , but now the lcd always not bright , it bright and turn on win i short the collector and emitter of Q1 , and the second thing the values not accurate , and third plz tell me what is the different if i used atmega328p ,ot atmega 8 , thanks on regards

    ReplyDelete
  35. Thank you very much, friend, a hug from Argentina

    ReplyDelete
  36. can you share the code email yogendarbohra73@gmail.com

    ReplyDelete
  37. can you share the code email sevest24@hotmail.com

    ReplyDelete
  38. Hi, great project! I have a few doubts. What Schottky diode are you using, and wich voltage for the LM336, 2.5 or 5V? Also, wich value is R15? 33 or 270ohmz?
    Thanks!

    ReplyDelete
    Replies
    1. Oh and my email is max15691@gmail.com
      Happy New Year!

      Delete
  39. Dear Claudiu,
    I made a Chinese ardutester kit but it doesn't work. I wanted to reprogram the firmware but I don't understand which one I can use. The scheme seems identical to yours. Could you send me your firmware?
    Thank you
    Alberto Italy

    ReplyDelete
  40. sunt nou in toate si programare si in arduino,am facut proiectul tau si este super dar cum pot sa incarc softul de test pe cip Atmega8-16PU.Multumesc mult.
    Leon Germania

    ReplyDelete
  41. e-mailul meu este leonbungardean@gmail.com
    Multumesc inca odata

    ReplyDelete
  42. Hi
    One knows the voltage of 336 lm and the resistance of 27-270 ohms.
    Thankful

    ReplyDelete
    Replies
    1. Hi! That resistor controls the contrast or the birghtness of the LCD screen, I don't remember wich right now. I think it was the brightness, I used a 270ohms resistor and it worked fine, just turn the potentiometer (I think there was only one) to make the LCD legible.
      And the LM336 is 2.5V

      Delete
    2. Hi. Thank you for your answer.

      What is the hex file. The hex they put in the comments is a tester for the transistor.
      But I want the hex component tester file. Please help
      Thank you

      Delete
    3. And another question
      Copy that hex file into the browser, and for example
      paste codevision or bascom?
      And program.
      Thanhs

      Delete
    4. You're sure the lm336 is 2.5 volts

      Delete

  43. If you have hex file component tester
    Please send me for atmega8
    A_reza7609@yahoo.com
    Or
    A.reza4298@gmail.com
    Thank you

    ReplyDelete
  44. If you have hex file component tester
    Please send me for atmega8
    yusufmutlu6173@gmail.com

    ReplyDelete
  45. Please help for software and eprom need for atmega328p

    Email:gunay-seckin@hotmail.com

    ReplyDelete