How do optical mice work?

It appears that the venerable wheeled mouse is in danger of extinction. The now-preferred device for pointing and clicking is the optical mouse.

Developed by Agilent Technologies and introduced to the world in late 1999, the optical mouse actually uses a tiny camera to take 1,500 pictures every second. Able to work on almost any surface, the mouse has a small, red light-emitting diode (LED) that bounces light off that surface onto a complimentary metal-oxide semiconductor (CMOS) sensor. The CMOS sensor sends each image to a digital signal processor (DSP) for analysis. The DSP, operating at 18 MIPS (million instructions per second), is able to detect patterns in the images and see how those patterns have moved since the previous image. Based on the change in patterns over a sequence of images, the DSP determines how far the mouse has moved and sends the corresponding coordinates to the computer. The computer moves the cursor on the screen based on the coordinates received from the mouse. This happens hundreds of times each second, making the cursor appear to move very smoothly.


Optical mice have several benefits over wheeled mice:

· No moving parts means less wear and a lower chance of failure.
· There's no way for dirt to get inside the mouse and interfere with the tracking sensors.
· Increased tracking resolution means smoother response.
· They don't require a special surface, such as a mouse pad.