Shop OBEX P1 Docs P2 Docs Learn Events
BASIC Stamp II & PS/2 mouse - more — Parallax Forums

BASIC Stamp II & PS/2 mouse - more

ArchiverArchiver Posts: 46,084
edited 2000-07-29 17:03 in General Discussion
Hi all,

Thinking some more on this project, there is no reason why I couldn't use a
serial mouse into the Stamp and generate the PS/2 codes to the PC.

Regards,
Jean-Michel.

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2000-07-29 07:47
    --- In basicstamps@egroups.com, Jean-Michel Howland <vege@v...> wrote:
    > Hi all,
    >
    > Thinking some more on this project, there is no reason why I
    couldn't use a
    > serial mouse into the Stamp and generate the PS/2 codes to the PC.
    >
    > Regards,
    > Jean-Michel.

    How is your project progessing ? I'm also very interrested, because i
    would like to emulate a ps/2 mouse with a basic stamp, I already
    destroied about a dozen of ps/2 mouses trying to....

    Best Regards,
    Hennie Vos
    The Netherlands
  • ArchiverArchiver Posts: 46,084
    edited 2000-07-29 12:27
    Hello,

    I've seen something about mouse and Stamp in the LOSA (List Of Stamp
    Application).
    I don't know the link, but it is one on Parallax'site.
    Hope this helps...
    Phil.

    Original Message
    From: <vos@s...>
    To: <basicstamps@egroups.com>
    Sent: Saturday, July 29, 2000 8:47 AM
    Subject: [noparse][[/noparse]basicstamps] Re: BASIC Stamp II & PS/2 mouse - more


    > --- In basicstamps@egroups.com, Jean-Michel Howland <vege@v...> wrote:
    > > Hi all,
    > >
    > > Thinking some more on this project, there is no reason why I
    > couldn't use a
    > > serial mouse into the Stamp and generate the PS/2 codes to the PC.
    > >
    > > Regards,
    > > Jean-Michel.
    >
    > How is your project progessing ? I'm also very interrested, because i
    > would like to emulate a ps/2 mouse with a basic stamp, I already
    > destroied about a dozen of ps/2 mouses trying to....
    >
    > Best Regards,
    > Hennie Vos
    > The Netherlands
    >
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-07-29 15:57
    >--- In basicstamps@egroups.com, Jean-Michel Howland <vege@v...> wrote:
    >> Hi all,
    >>
    >> Thinking some more on this project, there is no reason why I
    >> couldn't use a serial mouse into the Stamp and generate the
    >> PS/2 codes to the PC.
    >>
    >> Regards,
    >> Jean-Michel.
    >
    >How is your project progessing ? I'm also very interrested, because i
    >would like to emulate a ps/2 mouse with a basic stamp, I already
    >destroied about a dozen of ps/2 mouses trying to....

    It's progressing slowly.

    The first thing to realise is that a BS2 or BasicX-24 just isn't fast
    enough to handle the data stream from a PS/2 device. What I have opted for
    at this stage is to use dedicated protocol converters which are available
    from USAR (http://www.usar.com/). Once I have my prototype running I'm
    then going to write the PS/2 routines in assembler using a 16F84.

    At the moment I'm still working on the 240x64 graphic display.

    Regards
    Jean-Michel.
  • ArchiverArchiver Posts: 46,084
    edited 2000-07-29 16:48
    I think there are two issues here:

    1) Reading a PS/2 device. There is no doubt the BS2 is not fast enough.
    That's why we make the PAK-VI which can read a PS/2 keyboard or mouse,
    buffer it, and present it to the BS2 or any micro for that matter.

    2) Writing to a PS/2 port. Here I'm not so sure. The PS/2 device generates
    the clock and it is not clear to me that the PC won't let you go as slow as
    you like (within reason). Therefore, I think the Stamp could fake a PS/2
    keyboard or mouse, but I'm not sure. Hmm.... maybe a project of the month in
    there.

    Regards,

    Al Williams
    AWC
    * Microcontroller Projects with Basic Stamps:
    http://www.al-williams.com/awce/sbook.htm


    >
    Original Message
    > From: Jean-Michel Howland [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=4daZRlNeQMGqIfkF30-mEk_xLyKQcdMiqMAwcOb8mo7UPb74qU2rlNZo6dxANNu3gPN8d7s]vege@v...[/url
    > Sent: Saturday, July 29, 2000 9:58 AM
    > To: basicstamps@egroups.com
    > Subject: Re: [noparse][[/noparse]basicstamps] Re: BASIC Stamp II & PS/2 mouse - more
    >
    >
    > >--- In basicstamps@egroups.com, Jean-Michel Howland <vege@v...> wrote:
    > >> Hi all,
    > >>
    > >> Thinking some more on this project, there is no reason why I
    > >> couldn't use a serial mouse into the Stamp and generate the
    > >> PS/2 codes to the PC.
    > >>
    > >> Regards,
    > >> Jean-Michel.
    > >
    > >How is your project progessing ? I'm also very interrested, because i
    > >would like to emulate a ps/2 mouse with a basic stamp, I already
    > >destroied about a dozen of ps/2 mouses trying to....
    >
    > It's progressing slowly.
    >
    > The first thing to realise is that a BS2 or BasicX-24 just isn't fast
    > enough to handle the data stream from a PS/2 device. What I have
    > opted for
    > at this stage is to use dedicated protocol converters which are available
    > from USAR (http://www.usar.com/). Once I have my prototype running I'm
    > then going to write the PS/2 routines in assembler using a 16F84.
    >
    > At the moment I'm still working on the 240x64 graphic display.
    >
    > Regards
    > Jean-Michel.
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-07-29 17:03
    Hi Al,

    >I think there are two issues here:
    >
    >1) Reading a PS/2 device. There is no doubt the BS2 is not fast enough.
    >That's why we make the PAK-VI which can read a PS/2 keyboard or mouse,
    >buffer it, and present it to the BS2 or any micro for that matter.

    Yes I had a look at your chip, unfortunately it only does 1 half of the job
    that I need.

    >2) Writing to a PS/2 port. Here I'm not so sure. The PS/2 device generates
    >the clock and it is not clear to me that the PC won't let you go as slow as
    >you like (within reason). Therefore, I think the Stamp could fake a PS/2
    >keyboard or mouse, but I'm not sure. Hmm.... maybe a project of the month in
    >there.

    From what I can see, you can send PS/2 from a BS2/BX24 to the PC, however
    as I said in my last post, reading from a device such as the mouse,
    keyboard or the PC just ain't gunna happen. :-)

    Regards
    Jean-Michel.


    >Regards,
    >
    >Al Williams
    >AWC
    >* Microcontroller Projects with Basic Stamps:
    >http://www.al-williams.com/awce/sbook.htm
    >
    >
    >>
    Original Message
    >> From: Jean-Michel Howland [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=W1IzMY1AOsqUrlxnVNfuU-AOAfHxy9HTTfUDJg4E3zkb9bQXU_NEISjiCeuXzKLQlbAOyw]vege@v...[/url
    >> Sent: Saturday, July 29, 2000 9:58 AM
    >> To: basicstamps@egroups.com
    >> Subject: Re: [noparse][[/noparse]basicstamps] Re: BASIC Stamp II & PS/2 mouse - more
    >>
    >>
    >> >--- In basicstamps@egroups.com, Jean-Michel Howland <vege@v...> wrote:
    >> >> Hi all,
    >> >>
    >> >> Thinking some more on this project, there is no reason why I
    >> >> couldn't use a serial mouse into the Stamp and generate the
    >> >> PS/2 codes to the PC.
    >> >>
    >> >> Regards,
    >> >> Jean-Michel.
    >> >
    >> >How is your project progessing ? I'm also very interrested, because i
    >> >would like to emulate a ps/2 mouse with a basic stamp, I already
    >> >destroied about a dozen of ps/2 mouses trying to....
    >>
    >> It's progressing slowly.
    >>
    >> The first thing to realise is that a BS2 or BasicX-24 just isn't fast
    >> enough to handle the data stream from a PS/2 device. What I have
    >> opted for
    >> at this stage is to use dedicated protocol converters which are available
    >> from USAR (http://www.usar.com/). Once I have my prototype running I'm
    >> then going to write the PS/2 routines in assembler using a 16F84.
    >>
    >> At the moment I'm still working on the 240x64 graphic display.
    >>
    >> Regards
    >> Jean-Michel.
    >>
    >>
    >>
    >
    >
    >
Sign In or Register to comment.