Computer optical mouse.How it works

computer mouse

It would seem that an ordinary computer mouse and there is nothing so special about it, but not everything is so simple, because in a computer mouse there is a real video camera, albeit with a low resolution and also a processor.Let’s see how this electronic device works.

The photo shows a standard optical mouse, two buttons and a wheel on top, and a backlight on the bottom

When removing the case, the inner part is exposed, namely the board with radio components.An LED is installed on the board, it is he who gives a red light to the surface

The light from the LED comes through the lens unit to the surface

The illuminated image of the surface through the lens is transmitted to the video camera

The video camera is a chip-a matrix sensor, in which there is also a processor in addition to the sensor, which processes the movement of the mouse on the surface.The video camera takes several thousand pictures of the surface per second and this data is sent to the computer in which the program is located.

I applied power to one of these PAN3101DB chips to see what kind of signal this chip gives when the mouse moves over the surface.This chip makes from 3000 to 4000 frames per second of the surface, it all depends on the quartz resonator.With quartz 18.432 MHz there will be 3000 frames and with quartz 24.567 MHz there will already be 4000 frames per second.

When the mouse moves, there will be a saw-like signal on the oscilloscope, when not moving, the signal at the output of the chip will have a different shape, although these signals are not very correct, but there is a reaction to light and shadow.On these chips, amateurs make simple video cameras with very low resolution, you can also make alarms.