The optical mouse actually uses a slim camera that takes 1,500 photos per second. This mouse can work on almost any surface. The mouse has a red light-emitting diode (LED) that illuminates the surface of the workpiece and fluctuates between the work surface and a
CMOS sensor
The CMOS sensor sends each received image to a digital DSP processor for analysis. The DSP at 18 million rpm is able to see patterns within the image and detect how these patterns move and what each image is different from the previous image. Then, based on the pattern change in an image sequence, the DSP detects how much and how much the mouse moves and sends the correct coordinates to the computer. The computer then moves the cursor on the screen, according to these coordinates