Can anyone explain it ?
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It only takes a minute to sign up.Sign up to join this community
The optical mouse has a chip that has a lo-res camera in it, with a DSP. The DSP picks off certain high-contrast bits of the image in one frame, and looks at how they've tracked across the field of view in the next image. From this it infers X and Y motion, and reports the position change to the computer through a USB interface. The LED provides illumination to increase contrast on the surface, so there will be more bright spots the DSP can pick off.