Post Top Ad

Friday, March 8, 2024

ALL Comments Tester Project | How to make all components tester circuit


 ALL Comments Tester Project | How to make all components tester circuit

Being an Electronics student or hobbyist, you may have thought of getting a tester that could test almost anything “THE ELECTRONICS COMPONENTS, OBVIOUSLY!!”


Now what if I tell you that you can have one and that too made by yourself under INR 600 only (USD 10).


Coming upon COMPONENT TESTER so it can test almost everything, obviously not the power components because they require more current and power which our AVR Microcontroller couldn't handle!! Oh yeah, I forgot to tell you guys that we would be using an ATMEGA328 for our build!!


Yes, the same microcontroller which an arduino uno uses...!!


So, here's what our Component Tester can test -


1. Resistors


2. Capacitors along with their Equivalent Circuit Resistance Value (ESR)


3. Inductors

4. BJTs


5.FETs


MOSFETs

JFETs

6. Thyristors


SCRs

DIACs

TRIACs

7. IGBTs


8. Diodes


no the list doesn't end here.... it can test Voltage upto 50V, it has a FREQUENCY COUNTER and a FREQUENCY GENERATOR TOO :D

you can also detect the IR Codes by simply putting a TSOP Sensor on its test pins.... isn't that great :D


And yeah one thing I forgot to tell you guys it doesn't only detect the components it displays their respective values and properties too!!


No, don't thank me for such wonderful thing thank MARKUS F. the maker and developer of Component Tester and Karl-Heinz who developed the firmware for it.


Let's Start the build and you'll explore much more on the way to build your own..!!

With some basic components and tools you will be ready to build...!!


Electronic Components


1x 1nF (102) Ceramic Capacitor

1x 10nF (103) Ceramic Capacitor

4x 100nF (104) Ceramic Capacitor

2x 22pF (22) Ceramic Capacitor

2x 2.2uF, 50V Electrolytic Capacitor

2x 1N5819 or any other Schottky Diode with current rating of 1A

1x 7805 - 5V Voltage Regulator

1x LM336 - 2.5V Voltage Reference Diode

1x 10uH Inductor

1x BC547 Transistor

1x BC328-40 Transistor

3x 680 ohm resistor with 0.1% Tolerance (1% Tolerance would also do)

3x 470k ohm resistor with 0.1% Tolerance (1% Tolerance would also do)

NOTE: For 1% Tolerance and 5% Tolerance(not recommended but works with less accuracy) 680 ohm and 470k ohm resistors you need to make some changes in code and try to have all resistors indicating the same value on the multimeter.


UPDATE: For those who are having problems in finding 0.1% or 1% tolerances. You can use 5% tolerances. Just buy 5-7 resistors of 5% tolerances and find out 3 resistors having the same value on the multimeter. I made another one for you guys with 5% tolerance resistors and changes the value of resistors in code and that worked too :)

This is a self designed and home etched PCB...!!


I used eagle software freeware version for designing PCB. I have attached the PCB (un-mirrored) files below so you can download and etch them at home. For etching you can refer to other instructables on how to go about etching process using Ferric Chloride(FeCl3).

I have attached the pad mask so to resist the application of solder mask on component pads.


For drilling holes on PCB you can either use a hand drill or an electric drill / drill press.


Be careful while soldering the 680 ohms and 470 kilo-ohms resistor which are test resistors!!


Do not apply more solder on these resistors as that can induce some unwanted capacitance or resistance in the circuit.

Do not leave flux on the PCB after soldering components!! This may result in some unwanted values u see on display. You can use Isopropyl Alcohol and some Cotton Buds to clean the flux on the PCB.

I used a plastic project box as enclosure for my COMPONENT TESTER...!!


I drilled holes for binding posts and DC jack socket then used a hot knife to make cutout for 16x2 LCD.




NOTE: Desolder the grounded leg of push-button on rotary encoder module and connect that to positive side of LED along with wires coming from the PCB


UPDATE: For LED_START header


PIN1 - LED Negative

PIN2 - LED Positive

PIN3 - SWITCH

PIN4 - +5V

The code files are attached below as .zip file format so that you can compile an build code after making the necessary changes in configuration files.


Now open up config.h and make the following changes -


Navigate to measurement settings and offsets

now in this section scroll to R_LOW and set the value of 680 ohm resistance you are getting on you multimeter try and choose 3 680 ohm resistance with same values showing on multimeter

now change the value of R_HIGH i.e. The value of the 470k ohm resistances you are getting on your multimeter be as precise as possible and try and choose 470k ohm resistances with closest values or same values showing up on the multimeter.

change RH_OFFSET if you want or leave it as it is. RH Offset is Offset for systematic error of resistor measurement with Rh (470k)

change R_ZERO - Resistance of probe leads (in 0.01 Ohms).

Resistance of two probe leads in series. (Assuming all probe leads got same/similar resistance)

change CAP_WIRES - Capacitance of thewires between PCB and terminals (in pF).

2pF for wires 10cm long

change CAP_PROBELEADS - Capacitance of the probe leads connected to the tester (in pF).

3pF for about 10cm long probe leads

9pF for about 30cm long probe leads

15pF for about 50cm long probe leads

You can go through rest of values and play-around if you are familiar with AVR and coding. If not please do not alter anything else.

If you are facing problems opening .zip files I am sharing the Dropbox link to code -


DROPBOX_ComponentTester_CODE


UPDATE: If you are using usbasp programmer then you need not edit the Makefile else you need to goto line 54 and change

programmer = usbasp to programmer = <your programmer's name>


open command window in that folder where you have your code by holding shift and right click you will see an option of Open Command Window Here click that

type in make all

connect the Programmer with the ISP Header of Atmega328

type in make upload

then type make fuses

following to this type make clean

NOTE: I assume that you have avrdude pre-installed in your systems. if you do not have to download avrdude and install it before doing above steps.

So you made one component tester for yourself.... you can keep that handy on your workbench and use it to test your components more often...


UPDATE: You can see the menu for the tester which includes PWN Generation, Square Wave Generation, Frequency Counter, IR Code Detector, Calibration and Adjustment Menu by turning the rotary encoder left after turning the tester on.


UPDATE: I have redesigned a new version of the component tester that is super compact and can fit in your pocket or you can just carry it around like a keychain. Do check it out!!


 ALL Comments Tester Project | How to make all components tester circuit

Being an Electronics student or hobbyist, you may have thought of getting a tester that could test almost anything “THE ELECTRONICS COMPONENTS, OBVIOUSLY!!”


Now what if I tell you that you can have one and that too made by yourself under INR 600 only (USD 10).


Coming upon COMPONENT TESTER so it can test almost everything, obviously not the power components because they require more current and power which our AVR Microcontroller couldn't handle!! Oh yeah, I forgot to tell you guys that we would be using an ATMEGA328 for our build!!


Yes, the same microcontroller which an arduino uno uses...!!


So, here's what our Component Tester can test -


1. Resistors


2. Capacitors along with their Equivalent Circuit Resistance Value (ESR)


3. Inductors

4. BJTs


5.FETs


MOSFETs

JFETs

6. Thyristors


SCRs

DIACs

TRIACs

7. IGBTs


8. Diodes


no the list doesn't end here.... it can test Voltage upto 50V, it has a FREQUENCY COUNTER and a FREQUENCY GENERATOR TOO :D

you can also detect the IR Codes by simply putting a TSOP Sensor on its test pins.... isn't that great :D


And yeah one thing I forgot to tell you guys it doesn't only detect the components it displays their respective values and properties too!!


No, don't thank me for such wonderful thing thank MARKUS F. the maker and developer of Component Tester and Karl-Heinz who developed the firmware for it.


Let's Start the build and you'll explore much more on the way to build your own..!!

With some basic components and tools you will be ready to build...!!


Electronic Components


1x 1nF (102) Ceramic Capacitor

1x 10nF (103) Ceramic Capacitor

4x 100nF (104) Ceramic Capacitor

2x 22pF (22) Ceramic Capacitor

2x 2.2uF, 50V Electrolytic Capacitor

2x 1N5819 or any other Schottky Diode with current rating of 1A

1x 7805 - 5V Voltage Regulator

1x LM336 - 2.5V Voltage Reference Diode

1x 10uH Inductor

1x BC547 Transistor

1x BC328-40 Transistor

3x 680 ohm resistor with 0.1% Tolerance (1% Tolerance would also do)

3x 470k ohm resistor with 0.1% Tolerance (1% Tolerance would also do)

NOTE: For 1% Tolerance and 5% Tolerance(not recommended but works with less accuracy) 680 ohm and 470k ohm resistors you need to make some changes in code and try to have all resistors indicating the same value on the multimeter.


UPDATE: For those who are having problems in finding 0.1% or 1% tolerances. You can use 5% tolerances. Just buy 5-7 resistors of 5% tolerances and find out 3 resistors having the same value on the multimeter. I made another one for you guys with 5% tolerance resistors and changes the value of resistors in code and that worked too :)

This is a self designed and home etched PCB...!!


I used eagle software freeware version for designing PCB. I have attached the PCB (un-mirrored) files below so you can download and etch them at home. For etching you can refer to other instructables on how to go about etching process using Ferric Chloride(FeCl3).

I have attached the pad mask so to resist the application of solder mask on component pads.


For drilling holes on PCB you can either use a hand drill or an electric drill / drill press.


Be careful while soldering the 680 ohms and 470 kilo-ohms resistor which are test resistors!!


Do not apply more solder on these resistors as that can induce some unwanted capacitance or resistance in the circuit.

Do not leave flux on the PCB after soldering components!! This may result in some unwanted values u see on display. You can use Isopropyl Alcohol and some Cotton Buds to clean the flux on the PCB.

I used a plastic project box as enclosure for my COMPONENT TESTER...!!


I drilled holes for binding posts and DC jack socket then used a hot knife to make cutout for 16x2 LCD.




NOTE: Desolder the grounded leg of push-button on rotary encoder module and connect that to positive side of LED along with wires coming from the PCB


UPDATE: For LED_START header


PIN1 - LED Negative

PIN2 - LED Positive

PIN3 - SWITCH

PIN4 - +5V

The code files are attached below as .zip file format so that you can compile an build code after making the necessary changes in configuration files.


Now open up config.h and make the following changes -


Navigate to measurement settings and offsets

now in this section scroll to R_LOW and set the value of 680 ohm resistance you are getting on you multimeter try and choose 3 680 ohm resistance with same values showing on multimeter

now change the value of R_HIGH i.e. The value of the 470k ohm resistances you are getting on your multimeter be as precise as possible and try and choose 470k ohm resistances with closest values or same values showing up on the multimeter.

change RH_OFFSET if you want or leave it as it is. RH Offset is Offset for systematic error of resistor measurement with Rh (470k)

change R_ZERO - Resistance of probe leads (in 0.01 Ohms).

Resistance of two probe leads in series. (Assuming all probe leads got same/similar resistance)

change CAP_WIRES - Capacitance of thewires between PCB and terminals (in pF).

2pF for wires 10cm long

change CAP_PROBELEADS - Capacitance of the probe leads connected to the tester (in pF).

3pF for about 10cm long probe leads

9pF for about 30cm long probe leads

15pF for about 50cm long probe leads

You can go through rest of values and play-around if you are familiar with AVR and coding. If not please do not alter anything else.

If you are facing problems opening .zip files I am sharing the Dropbox link to code -


DROPBOX_ComponentTester_CODE


UPDATE: If you are using usbasp programmer then you need not edit the Makefile else you need to goto line 54 and change

programmer = usbasp to programmer = <your programmer's name>


open command window in that folder where you have your code by holding shift and right click you will see an option of Open Command Window Here click that

type in make all

connect the Programmer with the ISP Header of Atmega328

type in make upload

then type make fuses

following to this type make clean

NOTE: I assume that you have avrdude pre-installed in your systems. if you do not have to download avrdude and install it before doing above steps.

So you made one component tester for yourself.... you can keep that handy on your workbench and use it to test your components more often...


UPDATE: You can see the menu for the tester which includes PWN Generation, Square Wave Generation, Frequency Counter, IR Code Detector, Calibration and Adjustment Menu by turning the rotary encoder left after turning the tester on.


UPDATE: I have redesigned a new version of the component tester that is super compact and can fit in your pocket or you can just carry it around like a keychain. Do check it out!!

No comments:

Post a Comment

Post Top Ad

Pages