Shop OBEX P1 Docs P2 Docs Learn Events
BS2 to PS2 keyboard — Parallax Forums

BS2 to PS2 keyboard

Hungry_MystHungry_Myst Posts: 2
edited 2006-05-15 16:48 in BASIC Stamp
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&#8230[noparse];)[/noparse]. 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/

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"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

Comments

  • Bruce BatesBruce Bates Posts: 3,045
    edited 2006-05-15 05:42
    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 -->
  • ktekxktekx Posts: 71
    edited 2006-05-15 08:34
    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_MystHungry_Myst Posts: 2
    edited 2006-05-15 16:34
    As I feered...

    Oh well, thank you anyway. smile.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "I reject your reality and substitute my own"
    "Fate is nothing more than a feeble excuse created by lazy" -Axio_Vetan
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-05-15 16:37
    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
  • FranklinFranklin Posts: 4,747
    edited 2006-05-15 16:48
    http://www.awce.com/pak6.htm

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
Sign In or Register to comment.