The basic problem were trying to solve is certain secondary device's cables gets left unplugged and we need a way to detect a cable that is plugged into my device,and check if that cable is actually plugged into a secondary device and not hanging around unplugged.
I have a cable with 5 pins on both ends that are plugable i have 2 pins that are not used in the connector's and 1 pin is ground,and the other 2 pins are rs485 signal pins.My device has a mcu,and ports on the pcb that one end of the cables connector will plug into,i dont have access to the other end of what the cable will plug into.what i need to be able to detect is
- If the cable is connected to my device
- Is the other end of the cable connected to a secondary device
Iam not sure if this is even possible with how iam trying to go about this, without there being a mechanical switch inside the connectors or on the connector ports. Any input is appreciated thanks
EDIT:Just to clarify the network isnt and cant use any termination resistors,and we dont have any control over secondary devices software,or hardware as they dont implement termination resistors,or a software response system on there end.