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

59 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. Me too please, b1nst4r@gmail.com thank b4... :)

    ReplyDelete
  7. 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
  8. 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
  9. 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
  10. Acum am vazut fisierele , multam pentru donatie si pentru munca ta __cu respect_Dan

    ReplyDelete
  11. 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
  12. imi spuneti si mie daca va rog frumos de unde as putea lua codul bun pentru microcontrollerul atmega 8 al acestui proiect

    ReplyDelete
  13. 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. This comment has been removed by a blog administrator.

      Delete
  14. 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
  15. Pls atmega ic code dinga54@hotmail.com

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

      Delete
  16. 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
  17. 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
  18. 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
  19. roamer

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

    Regards roamer

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

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

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

    ReplyDelete
  23. 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
  24. please code arduino (uno IDE),
    THANK YOU FOR administration.
    seventeen@gmail.com

    ReplyDelete
  25. 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
  26. 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
  27. 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
  28. Software Version 1.07k please program link download?
    I made it, but the thyristor does not measure triac and coil
    help please

    ReplyDelete
  29. 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
  30. 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
  31. 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
  32. 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
  33. 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