Shop OBEX P1 Docs P2 Docs Learn Events
Harness Cable Tester — Parallax Forums

Harness Cable Tester

ArchiverArchiver Posts: 46,084
edited 2004-01-09 16:36 in General Discussion
how can I use a BS to build a Harness cable tester

Thank you,

Edson

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-01-09 16:36
    At 06:42 AM 1/9/04 +0000, you wrote:
    >how can I use a BS to build a Harness cable tester
    >
    >Thank you,
    >
    >Edson

    Edison,
    Depends on how many conductors you are testing in the cable....

    Suppose you had only 3 conductors, one approach would be to use
    six stamp pins.

    Example Circuit: (x3)

    10K 10K
    o--/\/\
    >+5V<
    /\/\--o
    | 1K 1K |
    I/O >--o--/\/\----/conductor/----/\/\--o--< I/O

    You will need a pullup resistor of 10K or so on each input (all six)
    as well as a current limiting resistor of 1K or so (another six).

    Now in software you will need to initially make ALL six I/O pins
    inputs.
    From here you make only one I/O pin an OUTPUT and LOW at a time. Read
    the remaining I/O pins to ensure that only ONE will produce a LOW,
    otherwise
    there is a SHORT indicated in the cable between conductors, ...or
    if none of
    the I/O pins read LOW then there is an OPEN indicated in the
    cable. Restore
    all pins to an INPUT state and proceed to the next I/O pin.


    -Beau Schwabe
Sign In or Register to comment.