Would it be possible to use a few of these as a switch for something like a keyboard?
Lets say i have 1 keyboard and 2 PCs. i connect the keyboard to the common "nZ" pins on each (they are i/o) and then 1 pc connects to "nY0" and the other to "nY1" this way i can use the "nS" line to pic which PC and the "E" line to enable the output to that PC.
Would it be possible to use a few of these as a switch for something like a keyboard?
Lets say i have 1 keyboard and 2 PCs. i connect the keyboard to the common "nZ" pins on each (they are i/o) and then 1 pc connects to "nY0" and the other to "nY1" this way i can use the "nS" line to pic which PC and the "E" line to enable the output to that PC.
so using a "4067" i can essientially create a 16 port switch. I would need about 4 of then to make it. Since a PS2 device using only 4 of its 6 pins. I would still use the 6 just incase. But that would rock. and the "4051" is almost the same as the 4067 just with 8 bits instead of 16.
heh i need the parts i only have 4051's which means i would need 3. . which i do have but thats not the design i want to make it would be a over kill lol
One problem with keyboard switches is this: when a PC boots, it want to see a real keyboard (and/or a real mouse) or the software will disable it (at least with some O.S.). Commercial switches use a circuit with a microcontroller that simulates the keyboard for the PCs currently not connected to the real keyboard/mouse. The problem is more software than hardware: instead of a 74HC4053 I'd use a PIC with a not-so-simple program ...
thanks for that info. Im sure once in windows it will pickup the keyboard. But you are correct. Um... I will surely addon to this.
I will use a nice 18F pic to switch it and send maybe another 405 this time taking the 2 outputs from the above setup and giving the pic control of the the one not in use by inverting the switch to the second 4053. Ill make a nice schematic to show how in a minute.