Shop OBEX P1 Docs P2 Docs Learn Events
PS/2 Propeller Connection!! — Parallax Forums

PS/2 Propeller Connection!!

VaatiVaati Posts: 712
edited 2009-05-10 22:01 in Propeller 1
I need a schematic or something so I can use a PS/2 port with a splitter cable and ancient mouse + keyboard to output stuff on a TV... Does anyone have a simple diagram that they can post?

Thanks· smurf.gif

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!

Comments

  • localrogerlocalroger Posts: 3,452
    edited 2009-05-08 22:34
    If you go to the downloads page and get the schematic for the Prop Demo Board, it has connections for mouse and keyboard. I don't know if you can use a splitter cable; there are two separate connectors for mouse and keyboard, and they're totally separate even in software, being controlled by different objects (example code available in the obex). The Demo Board schematic is also in the latest version of the Prop data sheet.
  • VaatiVaati Posts: 712
    edited 2009-05-08 22:45
    Okay, thanks. I will need to see if the splitter cable works or not...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
  • hover1hover1 Posts: 1,929
    edited 2009-05-08 23:02
    I echo localroger, (he replied before I could)

    Are you trying to run this on a Boss board? If so, I would encourage you to also get a Propeller Demo Board. Not to knock Nick's products, but may of the objects in the OBEX

    are specifically geared toward the Demo Board. Everything made a lot more sense when I got the demo·Board and started to play. Much of it was instant gratification, which is what I think you are looking for.

    If you play with the OBEX objects on the demo board,and you have questions on those objects,·you will··undoubtedly get a better and faster response to your questions.

    Keep on plugging, that's what I'm doing!

    Jim
    Vaati said...
    Okay, thanks. I will need to see if the splitter cable works or not...

  • Mike GreenMike Green Posts: 23,101
    edited 2009-05-08 23:21
    What's the splitter cable for? You can't connect both a keyboard and a mouse to the same PS/2 connector.

    The Demo Board schematic shows how the keyboard and the mouse connectors are connected to the Propeller. You can also look at the Protoboard (with Accessory Kit) schematic for the same thing since the Accessory Kit stuff (keyboard, mouse, and VGA connector) is hooked up the same as on the Demo Board.
  • VaatiVaati Posts: 712
    edited 2009-05-08 23:24
    Ah, yes. I am trying to run it on the boss. I also just got a Prop USB Proto today and just need to solder down my vga and ps/2 ports. Why aren't the obex programs geared to everything including the boss? I mean, the propeller dev. pack on the boss board is like a hydra!
    You sound as if you have a prop on a boss board... If so, how did you connect your ps/2 port...?

    One final thing; how do you hook up the provided resistors to the prop protoboard usb? Is there a pdf I can print out...?

    Thanks. smile.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
  • QuattroRS4QuattroRS4 Posts: 916
    edited 2009-05-08 23:28
    www.parallax.com/Portals/0/Downloads/docs/prod/prop/Propeller-ProtoBoard-v1.2.pdf

    Regards,
    John

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    'Necessity is the mother of invention'

    Those who can, do.Those who can’t, teach.
  • VaatiVaati Posts: 712
    edited 2009-05-08 23:30
    OH!· I didn't know you couldn't connect both mouse and keyboard to one ps/2 port!· So, I guess I will just pick keyboard and use the NES controller in place of the mouse....· Wow...· Thanks for letting me know before I soldered more stuff down!· So...· What is the wiring for the attached NES testing program...?· I have no clue how to hook up NES to the prop...confused.gif

    Thanks.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
  • QuattroRS4QuattroRS4 Posts: 916
    edited 2009-05-08 23:35
    nes pinout - www.parallax.com/Portals/0/Downloads/docs/prod/compshop/NES%20socket_larger.jpg

    connection - www.parallax.com/dl/docs/prod/prop/Hydra-Ch6All-v1.0.pdf

    Regards,
    John

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    'Necessity is the mother of invention'

    Those who can, do.Those who can’t, teach.
  • Toby SeckshundToby Seckshund Posts: 2,027
    edited 2009-05-09 16:02
    Vaati,

    Some of those "splitter" cables were for specific manurfacturers. They used one or two of the spare two pins, on the 6 pin socket, to allow Mouse and Keyboard to just use one hole in the case. Keep them separate and give yourself one less complication.

    Your path with the prop has not been an easy one, so far by the look of it, so go for some certainties and gain experience and confidence. ( Now I sound like some anchient sage!!)
  • VaatiVaati Posts: 712
    edited 2009-05-09 20:25
    Hmmm... Now all I need is a diagram showing which pin is which of a ps/2 port... I know which is which when shown from the side, but what about the pins themselves...? I get lost trying to figure out what goes where...

    Thanks.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
  • Toby SeckshundToby Seckshund Posts: 2,027
    edited 2009-05-09 21:05
    I really must get something to draw ccts on.

    Refering to the Demo board cct diagram( I have Rev d/e/f 11-29-06 here) they show the socket from the outside/front ie looking at 6 holes with the oblong cutout towards the top.

    Clockwise- at 1 o'clock is pin5, next at 3 o'clock is pin3, next at 5 o'clock is pin 1, then at 7 o'clock is pin2, then at 9 o'clock is pin4 and finally at 11 o'clock is pin6.

    Pins 2 and 6 do not get used

    pin5 is the clock signal
    pin3 is 0 Volts
    pin 1 is the data signal
    pin4 is +5 Volts (officially but +3.3V might be ok)

    If you have PCB mounting sockets then the layout is fairly obvious for them to get the wires out easily ie 6 and 5 tend to be the ones at the back etc
  • VaatiVaati Posts: 712
    edited 2009-05-09 21:21
    Oh! Okay, I think I got it now. I just wanted to be sure I wasn't screwing anything up by soldering stuff to the NES rows.

    Thanks.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
  • TubularTubular Posts: 4,706
    edited 2009-05-09 21:21
    Here's the common pinout.

    This lets you still connect a keyboard, even if you don't have a splitter cable handy. You need a second set of 4 resistors as per the original PS2 port.

    The splitter cable themselves don't have a standard for which set is mouse and which is keyboard. Often they have the wrong icon stamped into the plastic of the plug, but its simple enough to switch and reboot if they don't work

    tubular
    467 x 406 - 38K
  • VaatiVaati Posts: 712
    edited 2009-05-09 21:23
    Oh wow, thanks! That will work perfectly! Hope is not lost after all.

    Thanks.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
  • Toby SeckshundToby Seckshund Posts: 2,027
    edited 2009-05-09 21:28
    (No I am not trying to get the top page of posts all to myself)

    Looking at some splitter cable details (from one of the "PINOUTS" sites) I see that one uses just one of the spare pins for non-standard mouse useage, and one was just a way of puting two keyboards on one particular pc. So I vote that you dont touch that game until everything else is perfectly OK
  • VaatiVaati Posts: 712
    edited 2009-05-09 21:30
    Now, one final question: The board I am using sems to connect the data out of the NES and the ps/2 port... Will that work out, or will I only be able to use either the NES or the ps/2 port, but not both?

    Thanks.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
  • Cluso99Cluso99 Posts: 18,069
    edited 2009-05-09 23:43
    Just to add a little bit of history. Some early laptops used one PS2 connector which had both the keyboard and mouse ports on it. That is why a splitter was necessary. Provided the software was aware of it, you could then have two keyboards.

    I do not know of the pcb you are referring to, but if the same prop pins are connected to both the PS2 and the NES connectors then you will only be able to use either/or. If you post the schematic, then there are a number here who can answer your questions easily.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Links to other interesting threads:

    · Home of the MultiBladeProps: TriBladeProp, SixBladeProp, website (Multiple propeller pcbs)
    · Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
    · Prop Tools under Development or Completed (Index)
    · Emulators: Micros eg Altair, and Terminals eg VT100 (Index)
    · Search the Propeller forums (via Google)
    My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm
  • VaatiVaati Posts: 712
    edited 2009-05-10 00:39
    @Toby:
    So, it will work if I use 3.3 volts instead of 5? That would be WAY easier with the board I'm using, since there is only one row with 5v, and 3.3 is all over the place! Just wanted to make sure it would still function properly...

    Thanks.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
  • Toby SeckshundToby Seckshund Posts: 2,027
    edited 2009-05-10 22:01
    Sorry to take so long to reply, broadband crapped out on me.

    I have had some/most keyboards and few mice work on 3.3v only, others have reported much better results. This is probably due to me running less than cutting edge kit a lot of more of the modern stuff is laptop freindly, I build all my PCBs and so work around as many porblems as possible that way

    I, again, would say that try one thing then another before trying both variables together, there are many things out there to "confuse the stupid". Smaller steps, better path (even take notes to be truely "professional")
Sign In or Register to comment.