Shop OBEX P1 Docs P2 Docs Learn Events
Emulate Mouse using Basic stamp — Parallax Forums

Emulate Mouse using Basic stamp

aerodudeaerodude Posts: 22
edited 2007-08-09 03:21 in BASIC Stamp
Has anybody done emulation of PC mouse with basic stamp? I have gone through the PS/2 protocol used for mouse/keyboard.

I understood that whenever a mouse is connected to a PC, the RTS pin is made low and the mouse sends an ASCII 'M' for couple of times so the PC recognizes it as mouse and start the communication. how do I do that with bs2?

are there any IC's or chips which can take data from basic stamp (my thought is to use some sensors or potentiometer for X/Y position and push buttons for left/right clicks) and give it to PC just like a mouse?



Satish

Comments

  • ObsoleteSuperManObsoleteSuperMan Posts: 12
    edited 2007-08-08 20:39
    i'm thinking of making something similar. i actuallhy want to create a virtual mouse. using accelerometer data, have the stamp2 create the data packets and forward it to the zigbee serial cable replacement kit.

    i found this a little insightful, but have just started this project today and ha ve not started coding yet. you make any progress?

    OSM
  • aerodudeaerodude Posts: 22
    edited 2007-08-09 03:21
    I have exactly the same idea as yours. Using Zigbee module transmit the mouse data.

    I haven't made any progress yet.......thought i could get some help in the forums but cry.gif ......i am searching for any previous work and about the protocol in detail. Any PS/2 adapter/IC would help a lot. Do u know if we can use the chip from the mouse itself directly in our own way !!!
Sign In or Register to comment.