bigal_scorpio
Active Member
Hi to all,
I will be making a lot of cables up for a friend soon. They are nothing special, just a thin screened cable with a 3 pin connector on each end.
What I thought I would do is make the painful process of testing each one after assembly easier by building a tester with a couple of the connectors on it so I could just plug them in tell immediately if they are ok. No need for the contortions of trying to get the meter probes on each end one at a time.
What I am proposing is using a 16F630 pic, the 6 "C" pins each connected to one pin of each of the connectors and a couple of LEDs connected to some of the "A" pins.
Then when turned on the pic would check firstly for shorts between the connectors one one end - if ok then both ends should be ok.
Next I wanted to test the continuity of each core from the matching pin on each end of the cable.
I use PicBasic Pro to program and am by no means an expert but this time it is not the actual syntax I am stuck with, its the way of checking that baffles me.
How do I turn one pin to output and then check all the others to confirm only the correct one is connected and then do the same for the other combinations?
There is probably a simple way of doing this but I can't think of it!
Can anyone help?
Thanks Al
I will be making a lot of cables up for a friend soon. They are nothing special, just a thin screened cable with a 3 pin connector on each end.
What I thought I would do is make the painful process of testing each one after assembly easier by building a tester with a couple of the connectors on it so I could just plug them in tell immediately if they are ok. No need for the contortions of trying to get the meter probes on each end one at a time.
What I am proposing is using a 16F630 pic, the 6 "C" pins each connected to one pin of each of the connectors and a couple of LEDs connected to some of the "A" pins.
Then when turned on the pic would check firstly for shorts between the connectors one one end - if ok then both ends should be ok.
Next I wanted to test the continuity of each core from the matching pin on each end of the cable.
I use PicBasic Pro to program and am by no means an expert but this time it is not the actual syntax I am stuck with, its the way of checking that baffles me.
How do I turn one pin to output and then check all the others to confirm only the correct one is connected and then do the same for the other combinations?
There is probably a simple way of doing this but I can't think of it!
Can anyone help?
Thanks Al