How Does an Optical Mouse Work?

Optical mice contain LEDs. See more computer accessory pictures.
HowStuffWorks

I­t 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 complementary metal-oxide semiconductor (CMOS) sensor.

Advertisement

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.

­ Although LED-based optical mice are fairly recent, another type of optical mouse has been around for over a decade. The original optical-mouse technology bounced a focused beam of light off a highly-reflective mouse pad onto a sensor. The mouse pad had a grid of dark lines. Each time the mouse was moved, the beam of light was interrupted by the grid. Whenever the light was interrupted, the sensor sent a signal to the computer and the cursor moved a corresponding amount. This kind of optical mouse was difficult to use, requiring that you hold it at precisely the right angle to ensure that the light beam and sensor aligned. Also, damage to or loss of the mouse pad rendered the mouse useless until a replacement pad was purchased. Today's LED-based optical mice are far more user-friendly and reliable.

See the next page for more information.

Advertisement

Optical Mouse FAQs

What is a wireless optical mouse?
The optical mouse 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 complementary metal-oxide semiconductor (CMOS) sensor.
What is the best surface for an optical mouse?
An optical mouse can work on any surface that is flat and smooth. It can even work on surfaces that are diffusively reactive and opaque. However, for uninterrupted accuracy, a comfortable mouse pad is a perfect choice.
Is optical mouse light dangerous?
An optical mouse consists of CMOS sensors and LEDs that are not harmful unless specified as a class 2 laser device. In general, all of the optical mice are class 1 devices, which are not dangerous. Even if you don’t see a class-indicating label, you can assume it’s safe.
Why do optical mice have red light?
Optical mice use red light because it has a higher chance of reflection irrespective of the ambient lighting to better detect the movement. Moreover, red-colored diodes are relatively inexpensive and easily available.

Advertisement

Loading...