bfgstew
Senior Member
Hello all, sorry it has been a while since I have posted but other things have taken priority.
I have a project I would like to undertake, and need the Picaxe collective to see if it is viable.
I would like to make a cable tester, the cable is 25 pin D-sub to 17 pin 12mm socket, manufactured by the supplier of the equipment it is used on (high speed barcode scanner camera).
We are experiencing issues with loss of comms, now rather than just replace the cable (£150 a pop) it would be easier (and cheaper) to plug it into the tester and check continuity down each line and therefore eliminate cable issues.
My idea is,
Simple set up of 28X2 using 17 pins connected to cable via male socket, through cable to be tested, into 25 pin D-sub socket, then through an LED.
Mode of operation would be, press start test button, prog would set pin 1 as output, send 5v through wire 1, light LED, other pins would be set as inputs and set to detect any voltage creeping back through any fault in cable, thus illuminating a red LED, (fault). This would be cycled for each wire - ie pin 2 set as output and rest to inputs and so on until all 17 wires have been tested. 17 green LED's will be set in panel to show test progress or maybe 17 Bi colour LED's to show good and bad wire tests?
Can the 28X2 detect voltage as mentioned above? If so how, (sorry but it has been a while), just a pointer please.
Can the pin config be changed as simply as I think, i.e. just a line of coding.
Sorry if this sounds a daft idea but it goes towards my yearly appraisal, plus it gets me back into electronics.........win win for me, plus get paid for doing it in works time....lol.
look forward to hearing your thoughts
Stewart
I have a project I would like to undertake, and need the Picaxe collective to see if it is viable.
I would like to make a cable tester, the cable is 25 pin D-sub to 17 pin 12mm socket, manufactured by the supplier of the equipment it is used on (high speed barcode scanner camera).
We are experiencing issues with loss of comms, now rather than just replace the cable (£150 a pop) it would be easier (and cheaper) to plug it into the tester and check continuity down each line and therefore eliminate cable issues.
My idea is,
Simple set up of 28X2 using 17 pins connected to cable via male socket, through cable to be tested, into 25 pin D-sub socket, then through an LED.
Mode of operation would be, press start test button, prog would set pin 1 as output, send 5v through wire 1, light LED, other pins would be set as inputs and set to detect any voltage creeping back through any fault in cable, thus illuminating a red LED, (fault). This would be cycled for each wire - ie pin 2 set as output and rest to inputs and so on until all 17 wires have been tested. 17 green LED's will be set in panel to show test progress or maybe 17 Bi colour LED's to show good and bad wire tests?
Can the 28X2 detect voltage as mentioned above? If so how, (sorry but it has been a while), just a pointer please.
Can the pin config be changed as simply as I think, i.e. just a line of coding.
Sorry if this sounds a daft idea but it goes towards my yearly appraisal, plus it gets me back into electronics.........win win for me, plus get paid for doing it in works time....lol.
look forward to hearing your thoughts
Stewart