PDA

View Full Version : BS2 to PS2 keyboard



Hungry_Myst
05-15-2006, 09:57 AM
I’ve done some research but it doesn’t seem positive. This seemes the best place to ask, so here goes.

Is it possible to (preferably) easily interface a BS2 to a PS2 (or even AT) keyboard (specifically without buying a dedicated module). The keyboard will send a clock signal while sending and receiving data so it doesn’t look like the SHIFTIN/SHIFTOUT commands will work (unless they can receive a clock signal…). And I have no idea if and how the SERIN/SEROUT commands would work. Any help would be much appreciated.

Basically the information I’m running off of:
www.computer-engineering.org/ps2protocol/ (http://www.computer-engineering.org/ps2protocol/)

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"I reject your reality and substitute my own"
"Fate is nothing more than a feeble excuse created by lazy" -Axio_Vetan

Post Edited (Hungry_Myst) : 5/15/2006 2:00:21 AM GMT

Bruce Bates
05-15-2006, 01:42 PM
Hungry_Myst -

In one word NO. The PS/2 (and other) keyboards have such an odd protocal that it is not possible to access it directly from a PBASIC Stamp. A companion or co-processor is required.

Regards,

Bruce Bates

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->

ktekx
05-15-2006, 04:34 PM
I was wondering if it was possible to use a serial to parallel shift register some how since the keyboards are synchronous serial. The bs2 could then read the parallel output?

Hungry_Myst
05-16-2006, 12:34 AM
As I feered...

Oh well, thank you anyway. http://forums.parallax.com/images/smilies/smile.gif

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"I reject your reality and substitute my own"
"Fate is nothing more than a feeble excuse created by lazy" -Axio_Vetan

Chris Savage
05-16-2006, 12:37 AM
There are chips you can use as a co-processor though, like the ezKey and Al Williams had a PAK chip designed for this.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com (mailto:csavage@parallax.com)

Franklin
05-16-2006, 12:48 AM
http://www.awce.com/pak6.htm

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen