Shop OBEX P1 Docs P2 Docs Learn Events
Ps2 keyboard protocol, connected to BS2p — Parallax Forums

Ps2 keyboard protocol, connected to BS2p

ArchiverArchiver Posts: 46,084
edited 2004-01-28 01:36 in General Discussion
I know about the Pak6a buffer uP.
What protocol and synchronous baud rate is used from the keyboard?
Can I connect the BS2p directly to the keyboard, and read the scan
codes, if the keyboard is power by 5 volt, or is the keyboard
transmitting 12volt synchronous, thereby a 232 level converter is
needed?

Stein

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-01-28 01:36
    The PS/2 protocol is 5V and uses a single bidirectional data line and a
    clock. The rate is too fast -- as far as I know -- to handle with a Stamp.
    You could probably do the raw read with a large shift register. Of course,
    that doesn't let you send anything out. It also doesn't decode the raw scan
    codes for you or any of the other things the PAK-VIa will do.

    The problem is that the keyboard generates the clock so you either keep up
    or you don't.

    Hope that helps.

    Regards,

    Al Williams
    AWC
    *NEW: Inexpensive Servo Control: the PicoPak VIII
    http://www.awce.com/ppak8.htm

    Original Message
    From:
Sign In or Register to comment.