PS/2 jack pin numbering
Harley
Posts: 997
On drawing up a schematic for my PropSTICK breadboard, find pin numbers are lacking.
Looking at the Propeller Demo board schematic, the pin numbering is omitted. So Googled and found some info which seems confusing vs that of the Demo schematic.
What I found was numbering below for the PS/2 keyboard connector.
2 1
4 3
6 [noparse]/noparse 5
with the pins ID'd as follows ('[noparse]/noparse' for keying pin)
1. Data
2. not used
3. Gnd
4. +5v
5. Clock
6. not used
How does this relate to the Demo board schematic? Does it have the keying pin up? And viewed from the front (cable plug view)? I have an optical mouse, but it doesn't show any pin numbering on the cable plug.
This might be obvious for most PC guys; I've been a Mac'er since '84, but do have a PC laptop for PIC and other work.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Harley Shanko
h.a.s. designn
Looking at the Propeller Demo board schematic, the pin numbering is omitted. So Googled and found some info which seems confusing vs that of the Demo schematic.
What I found was numbering below for the PS/2 keyboard connector.
2 1
4 3
6 [noparse]/noparse 5
with the pins ID'd as follows ('[noparse]/noparse' for keying pin)
1. Data
2. not used
3. Gnd
4. +5v
5. Clock
6. not used
How does this relate to the Demo board schematic? Does it have the keying pin up? And viewed from the front (cable plug view)? I have an optical mouse, but it doesn't show any pin numbering on the cable plug.
This might be obvious for most PC guys; I've been a Mac'er since '84, but do have a PC laptop for PIC and other work.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Harley Shanko
h.a.s. designn
Comments
Looks like the editor does NOT like leading spaces.
I had arranges the PS/2 pin numbers in a near circle. Didn't retain. Please read it as if they did fall in a circle. I'd not noticed this 'space' problem before.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Harley Shanko
h.a.s. designn
Makes it difficult to format information to put a point across. See my first message here; the pin#s were to represent the PS/2 pins in a circle. Multiple spaces were ignored, but multiple CR/LFs aren't.
Is there a reason for this?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Harley Shanko
h.a.s. designn
Like this:
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
...
I'll try and catch you tomarrow!
Tried it and sure enough 'code' works. But forgot 'Help' in upper right was available. Didn't understand lots of the examples; they were NOT obvious what the point was, IMO.
Still on the 'learning curve' for the forum editor and for sure the Propeller.
Thanks for the guidance. And, Bambino; I just tried it (the 'code' box), previewed it, found it worked, and Cancelled so it wouldn't get added to the forum.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Harley Shanko
h.a.s. designn
It's a shame the Propeller Demo board schematic have the pin numbers!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Harley Shanko
h.a.s. designn
This may at least put you on the right track. It doesn't answer your question directly though. <http://forums.parallax.com/showthread.php?p=596818>
Here is one, but considering the revision I can't say it's valid!
<http://pinouts.ws/ps-2-keyboard-pinout.html>
Post Edited (bambino) : 7/26/2006 4:22:13 PM GMT
http://forums.parallax.com/showthread.php?p=597189
I had to reverse the DATA and CLOCK wires going to the PS/2 connector to get it to work. It wasn't a mater of flipping the connector (because then the +5v and ground would be flipped which is not correct).
I believe that the drawing was incorrect for DATA and CLOCK. Try swapping them and it should work but leave the +5v and ground pins the same.
Thanks.
Thanks. That gave me an idea, after looking at all the suggested threads and URLs. I looked at my ThinkPad PS/2 jack and the mouse cable end, but find no pin numbering; not much space. But realized when the metal shell and a pin had continuity, that probably was Ground.
Stuck a wire in the +5v socket, and measured 4.95v; so now know that would be pins# 4 for +5 and 3 for ground, as other pin numbered drawings indicated. Only problem; they didn't specify if the pinouts were for the mouse/keyboard cable connector or the jack on the unit (hint: Propeller Demo board schematic is really vague).
The Demo board schematic shows a 'gap' to the left of the Data pin; I assumed this implied the spacing due to the 'key'. Though doesn't make sense now.
It appears the pin pattern (in this orientation on my PC laptop) would be as shown below. This then has the Data and Clock on opposite pins from the Demo board schematic. [noparse][[/noparse]Parallax, can you verify this???___________]
Maybe this doesn't matter to those with the Demo board. But for those who purchased the PropSTICK, or built their own on protoboards or own designed pcb, this is really important. Else could burn out mouse/keyboard if the power/ground isn't clear.
And, last of all, it has WASTED a number of people's time. All due to vague schematic detail (actually lack of it). Maybe the Demo board is OK and matches the program's assigned pins. But when one gets advice to 'look how it was done on the Propeller Demo board' and gets led astray, it can be a very frustrating 'adventure'.
Hopefully Parallax can clarify this detail.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Harley Shanko
h.a.s. designn
Today searching I found the PS/2 connector is REALLY a miniDIN 6-pin connector. DigiKey online catalog had one by CUI. Does anyone know who makes the ones used on the Propeller Demo board?
And the CUI drawing shows the pins to appear as I 'drew' above. Key is up (away from a pcb mounting plane), with pins 1, 3, and 5 on the right. Can anyone verify if Clock is on pin 1 or pin 5? (I ask because from a web site Data was on pin 1.)
Now if only these connectors came with w/w pins in a row to fit the protoboard (shown). I know, I'll need a bigger proto board in time.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Harley Shanko
h.a.s. designn
I used PS2 ext cables... cut off the unneeded end, and wire tied the other end down...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Propeller + Hardware - extra bits for the bit bucket =· 1 Coffeeless KaosKidd
·