go away spammer

Author Topic: hacking computer Mice  (Read 3363 times)

0 Members and 1 Guest are viewing this topic.

Offline TrumpkinTopic starter

  • Supreme Robot
  • *****
  • Posts: 1,176
  • Helpful? 5
hacking computer Mice
« on: November 14, 2007, 11:33:46 AM »
This may be a stupid question but is there any way you could hack a computer mouse's encoder so you could use the mouse as a back wheel or something? 
Robots are awesome!

Offline Steve Joblin

  • Supreme Robot
  • *****
  • Posts: 405
  • Helpful? 2
    • Roebotz
Re: hacking computer Mice
« Reply #1 on: November 14, 2007, 11:39:46 AM »

Offline TrumpkinTopic starter

  • Supreme Robot
  • *****
  • Posts: 1,176
  • Helpful? 5
Re: hacking computer Mice
« Reply #2 on: November 14, 2007, 11:49:41 AM »
Yeah, I think thats what I'm looking for. Thanks!
Robots are awesome!

Offline TrumpkinTopic starter

  • Supreme Robot
  • *****
  • Posts: 1,176
  • Helpful? 5
Re: hacking computer Mice
« Reply #3 on: November 14, 2007, 04:08:59 PM »
Does anybody know if you can connect the mouse to a microcontroller without an extra board?
Robots are awesome!

Offline robonoob

  • Robot Overlord
  • ****
  • Posts: 149
  • Helpful? 0
Re: hacking computer Mice
« Reply #4 on: February 07, 2008, 10:30:00 AM »
Does anybody know if you can connect the mouse to a microcontroller without an extra board?
yea i would be interested in the same thing... i want to attach a mouse to my arduino board to read some infromation from it :)

Offline krich

  • Robot Overlord
  • ****
  • Posts: 165
  • Helpful? 0
Re: hacking computer Mice
« Reply #5 on: February 07, 2008, 10:02:49 PM »
You can.  Now, having said that, it's not like just plugging into the USB/PS2 port.

The heart of the optical mouse is an ADNS chip from Agilent/Avago.  Aside from a couple chips from ST Micro, Avago is the only manufacturer of this kind of chip.

To keep it simple, the interface between your microcontroller and the ADNS chip (depending on the model) is either a dual Quadrature interface or a simplex/duplex serial interface, or both.  With the quadrature interface, you can get the DeltaX and DeltaY values.  With the serial interface, you can pull position information, framegrabs from the sensor itself, monitor surface quality, and more.

Here's the ADNS-2610 datasheet.

I'm working on building my own carrier board for a similar chip (ADNS-2051) with a customized optical lens system so that I can place the sensor more than 2.5mm from the ground and use it instead of wheel encoders for positioning.


Offline rargus

  • Jr. Member
  • **
  • Posts: 9
  • Helpful? 0
Re: hacking computer Mice
« Reply #6 on: February 13, 2008, 07:58:01 AM »
Have a look at http://www.awce.com/pak11.htm They also have a board with this IC on it and a similar one for the keyboard. I have the keyboard one and you can force it to read a mouse, although it looks like the newer chip is easier to use with a mouse.

 


Get Your Ad Here