
I found this cool mod on the net, and couldn’t pass it up. Apparently an optical mouse works by using an 18×18 CCD sensor. The chip that has this sensor analyzes the signal, and can tell if the picture is being moved in the X direction, or in the Y direction. This chip then sends out an X and Y serial data pin. Now an important thing to notice is that this 18×18 matrix can be received serially if the correct command is given. Spritesmods figured this out, and found the pdf datasheet for the ADNS-2610 chip in his mouse.
This mouse mod started out by simply reading the matrix. You can see an output of the sensor below.

After getting the picture out of the ccd, the modder realized that this chip also gives X and Y coordinates. These coordinates can be used to see how much the mouse has moved. Take a few more pictures, and combine them into a larger matrix, and you get the picture that you see at the top of the article.

The above code can be downloaded from spritesmods. Simply install the code if you have this mouse, and connect it to your serial port using this schematic.
pp: adns-2610:
25—————–GND
12———-+——SDIO
5 —–|< |--+
9 -----------------SCK
Go to the original mod site to read more about how to do this project
People get bored sometimes, and when I get bored I sometimes open up stuff to find out what makes it tick. One time, I did this with an old optical mouse. Well, a mouse only has 2 chips inside: the optical sensor and a chip for the usb/ps2-interfacing. I looked up the datasheet of the optical sensor (which is an ADNS2610) and it told me the sensor has a tiny 18×18 CCD, which can be read out using the serial port (the one which normally interfaces to the PS2/USB-chip).
Well the below picture is of my rumble mouse, you can see the large chip in the middle of the mouse is different than the one in this project, so I guess it can’t be used.

Project link
2 Responses to “DIY Mouse Scanner”
Leave a Reply



Sure it can be, it’s nearly the same chip. The smaller one is just a compact, low-power version for small laptop mice. AFAIR it just lacks internal diode controlling circuit. Other than that, they use an identical control scheme. In fact, all those sensors, dating back to the earliest models made by Agilent, use the same interface.
The original design was meant for the paralel port, look at the above screenshot,device adress is 378, meaning LPT1