Shop OBEX P1 Docs P2 Docs Learn Events
Is there an ERROR in the PS2 breakout document? — Parallax Forums

Is there an ERROR in the PS2 breakout document?

Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
edited 2011-02-08 17:54 in Propeller 1
For my recent article, the Propeller Synthesizer I created a simple breadboard illustration to demonstrate how to create the circuit in the simplest terms possible. I took my lead from the PS2 Breadboard board documentation. (A $5. part that Parallax sells.)

Attached are the original illustration which is based on the simple schematic in the official document. It shows both of the pull-up lines attached to the 5v side of the keyboard circuit. Granted they are passing through 10k resistors, so I suspect there would be no issue. Or would there?

The second illustration, is corrected based on the Demoboard schematic, (not a bad place to fall back to) and the line is removed from the stolen Parallax graphic connecting Vdd to 5v.

Here's the 8 "cog" million dollar question.

a) Is there an error in the documentation? (somehow I doubt it)
b) Did I miss read it? (probable)
c) Can the keyboard be wired this way, as there are nice resistors to protect the pins?

This is more for my edification, so please don't feel I'm nitpicking Parallax. I'm in an instructional capacity, so I want to make sure my own ducks are in a row as much as possible.


Vdd tied to 5v.
Breadboard_Keyboard_Circuit.png


Revision based on the demoboard schematic.
jaudio_1_15.png


Thanks!
OBC
473 x 379 - 50K

Comments

  • SapiehaSapieha Posts: 2,964
    edited 2011-02-08 14:34
    Hi Oldbitcollector.

    As You maybe know --- PS2 Keyboare/Mouse use Open Collector as active signal.
    That said in first case You not need protecting resistors If You have pull-up resistors connected to 3.3V.


    For my recent article, the Propeller Synthesizer I created a simple breadboard illustration to demonstrate how to create the circuit in the simplest terms possible. I took my lead from the PS2 Breadboard board documentation. (A $5. part that Parallax sells.)

    Attached are the original illustration which is based on the simple schematic in the official document. It shows both of the pull-up lines attached to the 5v side of the keyboard circuit. Granted they are passing through 10k resistors, so I suspect there would be no issue. Or would there?

    The second illustration, is corrected based on the Demoboard schematic, (not a bad place to fall back to) and the line is removed from the stolen Parallax graphic connecting Vdd to 5v.

    Here's the 8 "cog" million dollar question.

    a) Is there an error in the documentation? (somehow I doubt it)
    b) Did I miss read it? (probable)
    c) Can the keyboard be wired this way, as there are nice resistors to protect the pins?

    This is more for my edification, so please don't feel I'm nitpicking Parallax. I'm in an instructional capacity, so I want to make sure my own ducks are in a row as much as possible.


    Vdd tied to 5v.
    Breadboard_Keyboard_Circuit.png


    Revision based on the demoboard schematic.
    jaudio_1_15.png


    Thanks!
    OBC
  • Cluso99Cluso99 Posts: 18,069
    edited 2011-02-08 17:54
    The keyboard pins are supposed to be pulled up to 5V via 10K resistors. However, that being said, the keyboard will accept TTL 5V signals which give around 3V anyway. And since the prop outputs near enough to 3V3 for a logic high, the keyboard sees thes signals as valid. Therefore, I do not see here being any issue with the pullups being tied to 3V3 or 5V.
Sign In or Register to comment.