Shop OBEX P1 Docs P2 Docs Learn Events
Basic Stamp to PS/2 — Parallax Forums

Basic Stamp to PS/2

mfavs327mfavs327 Posts: 11
edited 2007-12-08 03:37 in BASIC Stamp
Is it possible to connect the basic stamp to the PC using the PS/2 so the basic stamp can send ascii values to the computer?· If so, how and how would i generate the KBD Clock clock so the computer can read the ascii values?



Thank you for your time

Comments

  • allanlane5allanlane5 Posts: 3,815
    edited 2007-12-07 23:56
    It's MUCH easier to use the RS-232 port, and send bytes from the BS2 to the PC using "SEROUT 16, 16864, [noparse][[/noparse]"Hello there!", CR]"

    But if you really want to use the keyboard port, some companies make a co-processor that will help you with that.
  • QuattroRS4QuattroRS4 Posts: 916
    edited 2007-12-08 03:37
    If you go with what allanlane5 said you still have an option to 'inject' keyboard scancodes to the P.C keyboard when you send from the stamp via serout - and this will act as if you typed it on the P.C. - I wrote a simple vb6 program a long time ago - to sit waiting on a serial port - when data is received it injects it into the keyboard buffer - I uploaded it during a discussion here some time back .. have a look at the following thread ..(program there also)

    http://forums.parallax.com/showthread.php?p=627711

    Regards,
    John Twomey

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

    Post Edited (QuattroRS4) : 12/8/2007 3:42:09 AM GMT
Sign In or Register to comment.