Electrical Test - Component Tester
-
- Matrix Staff
- Posts: 1457
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 513 times
- Been thanked: 473 times
Re: Electrical Test - Component Tester
I found some interesting reading, if not already read document.
- Attachments
-
- ttester_eng.pdf
- (886.78 KiB) Downloaded 267 times
Martin
-
- Matrix Staff
- Posts: 1457
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 513 times
- Been thanked: 473 times
Re: Electrical Test - Component Tester
I have been having a play with the App developer and really enjoying it.
In this version, I have changed the way how the resistances are calculated.
Also an extra resistor has been added, so it can more accurately calculate higher values resistors.
ADC is read with highest value series resistor, and if ADC value is too low it will automatically switch in the lower value series resistor.
Lower value resistor calculations can hopefully still be improved as this is not the final version but work in progress.
A diode test has been add and I'm pleased with the results: For the diode test to be accurate you will need to click on an empty space on the 2D panel and enter the voltage you measure for the +5V of Arduino Uno.
Also enter the series value of high and low resistors: Before loading the App Developer, make sure your Uno is plugged in.
Then check on the above properties that your resistor values and pin designation are correct and select correct com port for your Uno.
To get to this stage I started with Ben's App Developer file and modified it.
It was much easier than I thought it would be.
If you are interested in how I modified it e.g. added diode testing and the extra resistor, then I can write a step by step guide.
It would be great if other members could add their changes to the tester, or comment on the current tester.
In this version, I have changed the way how the resistances are calculated.
Also an extra resistor has been added, so it can more accurately calculate higher values resistors.
ADC is read with highest value series resistor, and if ADC value is too low it will automatically switch in the lower value series resistor.
Lower value resistor calculations can hopefully still be improved as this is not the final version but work in progress.
A diode test has been add and I'm pleased with the results: For the diode test to be accurate you will need to click on an empty space on the 2D panel and enter the voltage you measure for the +5V of Arduino Uno.
Also enter the series value of high and low resistors: Before loading the App Developer, make sure your Uno is plugged in.
Then check on the above properties that your resistor values and pin designation are correct and select correct com port for your Uno.
To get to this stage I started with Ben's App Developer file and modified it.
It was much easier than I thought it would be.
If you are interested in how I modified it e.g. added diode testing and the extra resistor, then I can write a step by step guide.
It would be great if other members could add their changes to the tester, or comment on the current tester.
- Attachments
-
- Component Tester Beta2.fcsx
- (110.85 KiB) Downloaded 208 times
Martin
-
- Matrix Staff
- Posts: 1457
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 513 times
- Been thanked: 473 times
Re: Electrical Test - Component Tester
To up the game, I have modified the component tester so it now has three connections instead of two:
Does not matter which leads connect to what connection.
Currently only the diode function has been implemented.
It's at the stage where one or two diodes can be connected to any pin anyway around (except in parallel), then the lead connections are displayed.
For example I have just connected two diodes up.
Anode on A1, anode on A2, both cathodes on A3.
The automated result can be seen on the above image.
There is only a singe button to press, to test other components.
As soon as the transistor tester has been fully implemented, I will post it.
Will this be of interest to anyone?
I'm working on a transistor tester which will identify a PNP/NPN transistor and will identify which lead of transistor is connected to A1, A2 & A3Does not matter which leads connect to what connection.
Currently only the diode function has been implemented.
It's at the stage where one or two diodes can be connected to any pin anyway around (except in parallel), then the lead connections are displayed.
For example I have just connected two diodes up.
Anode on A1, anode on A2, both cathodes on A3.
The automated result can be seen on the above image.
There is only a singe button to press, to test other components.
As soon as the transistor tester has been fully implemented, I will post it.
Will this be of interest to anyone?
Martin
-
- Matrix Staff
- Posts: 1747
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 444 times
- Been thanked: 604 times
Re: Electrical Test - Component Tester
Hi Martin,
Great sounds like a big improvement over my version. I'm very eager to have a play with this
An addition might be to print the resulting component to the console using the new console writer component. e.g. Resistor detected A0-A1 100.1R
One big advantage this has over other commercial component testers is you could use this for batch QA testing of components when received from suppliers to test that a) the correct component value has been shipped b) to test the tolerance and c) to test for variation across the test sample.
Several of the PCB suppliers we have used in the past have tested each component that came in and a system like this would likely vastly increase their productivity.
Great sounds like a big improvement over my version. I'm very eager to have a play with this
An addition might be to print the resulting component to the console using the new console writer component. e.g. Resistor detected A0-A1 100.1R
One big advantage this has over other commercial component testers is you could use this for batch QA testing of components when received from suppliers to test that a) the correct component value has been shipped b) to test the tolerance and c) to test for variation across the test sample.
Several of the PCB suppliers we have used in the past have tested each component that came in and a system like this would likely vastly increase their productivity.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Matrix Staff
- Posts: 1457
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 513 times
- Been thanked: 473 times
Re: Electrical Test - Component Tester
hi Ben,
Thank you.
I will implement the writer as much more text is allowed.
Console writer looks like it will be also useful for using with RFID and alarm systems.. hmmm
The tester now can identify NPN & PNP bipolar transistors.
Does not matter how the transistor is connected, it will correctly identify the type and leads.
For example got a ZTX109.
One way the following is displayed: After rotating transistor 180 deg: Tried with both types and 100% correct results so far.
Thank you.
That's a brilliant idea, thank you.
I will implement the writer as much more text is allowed.
Console writer looks like it will be also useful for using with RFID and alarm systems.. hmmm
The tester now can identify NPN & PNP bipolar transistors.
Does not matter how the transistor is connected, it will correctly identify the type and leads.
For example got a ZTX109.
One way the following is displayed: After rotating transistor 180 deg: Tried with both types and 100% correct results so far.
Martin
-
- Matrix Staff
- Posts: 1457
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 513 times
- Been thanked: 473 times
Re: Electrical Test - Component Tester
The versions posted so far have been in beta.
Here is v1.0.
It even tests your hardware for you: There is a console window for logs of tests carried out: Bipolar transistors NPN & PNP (can connect any lead to any connection)
Single diode
Dual diode.
Resistors
capacitors
Instructions for use:
Load Arduino_Uno_SCADA_Firmware.fcfx and send to an Arduino Uno
Load Component-Tester- Rev 1.0.fcsx
Right click anywhere and select properties.
Click on the area in-between the Resistor values (R1 to R6) and XY chart.
You should see within properties shape_rectangle5
Within Image of properties Select the down arrow, and browse to the attached Arduino & Breadboard3.png
This will also contain the circuit diagram for the additional 6 resistors.
Try and match the resistors shown.
Measure each resistor then enter values on the properties of the 2D panel
Also within 2D panel properties you will need to select the correct comport for the Arduino UNO.
Test hardware by linking A1, A2 & A3 together
Click on Hardware Diag.
If hardware is ok (will not test for wrong entered resistor values) the app developer will return to the main starting point.
If there is an issue with hardware, then testing will halt for you to correct the issues indicated.
You will need to select the Hardware Diag button again.
The stand-alone App developer file is a bit too big for the forums.
That is used if you not got Flowcode V9.
As soon as I have a link sorted for the zip file I will post it.
Here is v1.0.
It even tests your hardware for you: There is a console window for logs of tests carried out: Bipolar transistors NPN & PNP (can connect any lead to any connection)
Single diode
Dual diode.
Resistors
capacitors
Instructions for use:
Load Arduino_Uno_SCADA_Firmware.fcfx and send to an Arduino Uno
Load Component-Tester- Rev 1.0.fcsx
Right click anywhere and select properties.
Click on the area in-between the Resistor values (R1 to R6) and XY chart.
You should see within properties shape_rectangle5
Within Image of properties Select the down arrow, and browse to the attached Arduino & Breadboard3.png
This will also contain the circuit diagram for the additional 6 resistors.
Try and match the resistors shown.
Measure each resistor then enter values on the properties of the 2D panel
Also within 2D panel properties you will need to select the correct comport for the Arduino UNO.
Test hardware by linking A1, A2 & A3 together
Click on Hardware Diag.
If hardware is ok (will not test for wrong entered resistor values) the app developer will return to the main starting point.
If there is an issue with hardware, then testing will halt for you to correct the issues indicated.
You will need to select the Hardware Diag button again.
The stand-alone App developer file is a bit too big for the forums.
That is used if you not got Flowcode V9.
As soon as I have a link sorted for the zip file I will post it.
- Attachments
-
- Arduino_Uno_SCADA_Firmware.zip
- (5.56 KiB) Downloaded 175 times
-
- Arduino_Uno_SCADA_Firmware.fcfx
- (84.39 KiB) Downloaded 179 times
-
- Component-Tester-Rev-1.0.fcsx
- (210.32 KiB) Downloaded 191 times
-
- Ardunio & Breadboard 3.png (326.17 KiB) Viewed 4215 times
Martin
-
- Matrix Staff
- Posts: 1747
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 444 times
- Been thanked: 604 times
Re: Electrical Test - Component Tester
I've been playing with Martins take on the project and wanted to create a video demonstrating the hardware and how it works as well as some other ideas for potential use cases.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel