Electrical Test - Component Tester

Discuss PC Developer and Web Developer projects and features here.
medelec35
Matrix Staff
Posts: 1432
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 505 times
Been thanked: 468 times

Re: Electrical Test - Component Tester

Post by medelec35 »

I found some interesting reading, if not already read document.
Attachments
ttester_eng.pdf
(886.78 KiB) Downloaded 259 times
Martin

medelec35
Matrix Staff
Posts: 1432
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 505 times
Been thanked: 468 times

Re: Electrical Test - Component Tester

Post by medelec35 »

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:
DTest.jpg
DTest.jpg (105.83 KiB) Viewed 4250 times
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:
App Properties.png
App Properties.png (87.1 KiB) Viewed 4250 times
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 200 times
Martin

medelec35
Matrix Staff
Posts: 1432
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 505 times
Been thanked: 468 times

Re: Electrical Test - Component Tester

Post by medelec35 »

To up the game, I have modified the component tester so it now has three connections instead of two:
Revised Component Tester.png
Revised Component Tester.png (229.89 KiB) Viewed 4172 times
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 & A3
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?
Martin

BenR
Matrix Staff
Posts: 1706
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 435 times
Been thanked: 598 times

Re: Electrical Test - Component Tester

Post by BenR »

Hi Martin,

Great sounds like a big improvement over my version. I'm very eager to have a play with this :D

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.

medelec35
Matrix Staff
Posts: 1432
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 505 times
Been thanked: 468 times

Re: Electrical Test - Component Tester

Post by medelec35 »

hi Ben,
Thank you.
BenR wrote:
Tue Feb 02, 2021 1:21 pm
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
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:
NPN1.png
NPN1.png (7.15 KiB) Viewed 4146 times
After rotating transistor 180 deg:
NPN2.png
NPN2.png (7.21 KiB) Viewed 4146 times
Tried with both types and 100% correct results so far.
Martin

medelec35
Matrix Staff
Posts: 1432
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 505 times
Been thanked: 468 times

Re: Electrical Test - Component Tester

Post by medelec35 »

The versions posted so far have been in beta.
Here is v1.0.
It even tests your hardware for you:
Test Hardware1.png
Test Hardware1.png (80.95 KiB) Viewed 4088 times
There is a console window for logs of tests carried out:
Component_Tester_Rev_1.0.png
Component_Tester_Rev_1.0.png (207.4 KiB) Viewed 4086 times
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 166 times
Arduino_Uno_SCADA_Firmware.fcfx
(84.39 KiB) Downloaded 171 times
Component-Tester-Rev-1.0.fcsx
(210.32 KiB) Downloaded 185 times
Ardunio & Breadboard 3.png
Ardunio & Breadboard 3.png (326.17 KiB) Viewed 4097 times
Martin

BenR
Matrix Staff
Posts: 1706
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 435 times
Been thanked: 598 times

Re: Electrical Test - Component Tester

Post by BenR »

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.


Post Reply