Shop OBEX P1 Docs P2 Docs Learn Events
PS/2 mouse — Parallax Forums

PS/2 mouse

Has anyone developed any code for an SX28 to emulate a mouse over a PS/2 link ?

I'm tinkering with the idea of a robot odometry system using a Optical Mouse chip (probably an Agilent ADNS2030). For ease of use, I want to treat the hardware module including the SX28 as a mouse. The SX28 will have to service the PS/2 link, and the optical mouse chip, and a motorised lens system to focus on the ground. Current thinking is to use PS/2 simply for tracking/odometry and let Linux on the host PC worry about where the robot is,·then use·an i2c link to the SX28 for mouse chip telemetry - i.e. picture/focus quality

I'll be very lucky if anyone has down this sort of thing before, but the PS/2 mouse interface/emulation ? Anyone done that ? Prepared to share the code ?

Possible FAQs

Why use the SX28 ? - I've got dozens of them
Why not just use an optical mouse with a new lens ? - There seems to be blips caused when the robot goes over a bump or hollow, fixed len systems go out of focus.
Why use ADNS2030 ? - Good documentation, and easy to obtain 1 offs

Mike

Comments

Sign In or Register to comment.