this is going to sound particularly stupid, maybe. It sounds stupid in my head, anyway.
I have desks at work which change their height via a micro and motor controller combination, with position feedback on each leg. this particular desk is a 2-leg setup.
Ultimately I want to replace the micro and motor controller with something of my own design, so that I can control the desk from my PC, rather than the control panel provided.
The control panel provided is a very simple button matrix, with no components other than 6 tactile switches on a small PCB. There are 8 wires coming out of the control panel that form a Cat-5 cable and the cable plugs into the controller via an RJ-45 plug & jack.
In the short term, I need to be able to "push" any of those buttons via software on a PC. What component should I use to emulate the short circuiting of two wires that is controllable by a micro? I don't yet know how much current flows when the short is made, but it is very small, given the gauge of the wires. I don't know, yet, which (if any) of the wires are considered a ground wire, or Vcc, or anything like that. Each button seems to use two different pins on the RJ-45 plug; there's no one wire common to all buttons, and no wire is used by more than two buttons, if I remember right.
Any clues on how to implement this? If I put two pins on a micro to ground, will they conduct between each other? I'm guessing not. there's probably an IC for this but I don't know what it would be. I haven't measured the polarity for each button yet, either; I imagine 6 transistors could do it if I knew the polarities.
thanks. see? stupid question.
In the long term, the height of the desk will change to suit whomever is logged onto the PC at the time, and whether or not that person is standing or sitting. (computers at a given desk will know if they are accompanied by a chair or not.)