Shop OBEX P1 Docs P2 Docs Learn Events
ps/2 keyboard emulation with an SX? — Parallax Forums

ps/2 keyboard emulation with an SX?

Spork FrogSpork Frog Posts: 212
edited 2007-06-15 11:09 in General Discussion
Hello everyone.

I have been recently having the idea of making my own arcade cabinet. With this of course comes a control panel, with various joysitcks and switches etc. I was originally going to buy an I-Pac, but because of price and especially limited inputs I would like to try and build something myself instead.

Basically, my question is, has anyone ever used an SX to generate a PS/2 keyboard signal? I can do this myself, I am just curious if it has been done before.

Thanks in advance

Comments

  • JonnyMacJonnyMac Posts: 9,214
    edited 2007-06-11 17:45
    I haven't done it yet but was thinking about it as project for my book -- this page might help; things look pretty straightforward.

    http://www.beyondlogic.org/keyboard/keybrd.htm
  • pjvpjv Posts: 1,903
    edited 2007-06-11 18:49
    Hi Larry;

    I have a (relatively expensive) commercial product that does this, along with a number of customer specified enhancements/modifcations.

    Full emulation is quite a bit of work..... the details will get you, but it can be done.

    Cheers,

    Peter (pjv)
  • T&E EngineerT&E Engineer Posts: 1,396
    edited 2007-06-11 19:31
    You may also want to look at this link for PS/2 emulation with a BASIC STAMP 2. I have built it and it works well. It should not be too hard to convert to SX with the additional hardware too.
  • ForrestForrest Posts: 1,341
    edited 2007-06-11 23:35
    What link?
  • Spork FrogSpork Frog Posts: 212
    edited 2007-06-12 14:44
    ah, I think I found it-- http://forums.parallax.com/showthread.php?p=620076

    If that's the one you're talking about.

    Doesn't look to bad to translate to SX/B.
  • RinksCustomsRinksCustoms Posts: 531
    edited 2007-06-12 22:55
    aren't you just basically waiting for a serial stream from the keyboard? or is it more like a byte?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Definetly a E3 (Electronics Engineer Extrodinare!)
    "I laugh in the face of imposible,... not because i know it all, ... but because I don't know well enough!"
  • Spork FrogSpork Frog Posts: 212
    edited 2007-06-13 00:01
    No, I want to use an SX basically as a keyboard- to hook up some buttons/switches to it and have it send out the proper data stream that a computer can use and see as a normal keyboard.
  • John CoutureJohn Couture Posts: 370
    edited 2007-06-14 21:27
    Larry,

    It seems to me I remember an old article where a guy wanted to create a bunch of switches for his flight simulator program. He took an $10 keyboard and just wired pushbutton switches to the contacts. I though it was a pretty good simple and elegant solution. Maybe not what you are looking for but it sure is a lot cheaper and you will be up and running in an hour.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    John J. Couture

    San Diego Miramar College
  • T&E EngineerT&E Engineer Posts: 1,396
    edited 2007-06-15 11:09
    Sorry I have been on vacation this week with very limited email access. This is the link I was refering to. It works pretty good and I did build it to test.

    http://forums.parallax.com/showthread.php?p=629467
    ·
Sign In or Register to comment.