AI summary by TwinMind
How does a Mouse know when you move it? || How Does a Computer Mouse Work?
Branch Education
12m 3s
Mouse Image Acquisition System (IAS)
- Modern computer mouse merges 7 different technologies
- Bottom contains image acquisition system (IAS) with:
- Infrared LED
- Pair of lenses
- Image pixel array (1,600 pixels in 40x40 layout)
- Infrared light illuminates surface at shallow angle
- Light bounces off ridges/valleys creating topographical texture map
- Doesn't capture color/design - only surface texture
- Focuses on tiny area 1/1200th size of penny
- Smooth surfaces (glass) cause mouse tracking issues due to lack of texture
Image Capture and Processing
- Takes up to 177,000 pictures per second
- For 0.1 second mouse movement = ~17,700 pictures captured
- Each pixel generates value 0-4,095 based on light intensity
- Mouse doesn't save images - compares each to previous one taken 59 microseconds earlier
- Microchip calculates change in X and Y coordinates
Cross-Correlation Algorithm
- Two images sent to Digital Signal Processor (DSP)
- DSP overlays second image on first, subtracts pixel values
- Shifts second image around while first remains stationary
- Finds position where resulting image difference is minimum
- Shift amount = exact mouse movement between images
- Process repeats 17 times, values added for 1 millisecond total movement
- Results sent to system-on-chip via USB/Bluetooth
DPI (Dots Per Inch) Specifications
- Gaming mice: 12,000-25,000 DPI
- Non-gaming mice: 850-4,000 DPI
- DPI = cursor movement units per 1 inch mouse movement
- Base sensor: 30 micrometer pixels in 1.2mm x 1.2mm square = 850 DPI
- Higher DPI achieved through pixel subdivision using interpolation
Pixel Interpolation for Higher DPI
- Each whole pixel subdivided into subpixels
- 4x4 subdivision of each pixel = 25 subpixels, 4,250 DPI
- 29 cuts per pixel length = ~25,500 DPI
- Bilinear interpolation: straight lines between integer pixels
- Bicubic interpolation: smoother topography using curved lines
- DPI setting changes number of subdivisions in interpolation algorithm
Gaming vs Non-Gaming Mouse Differences
- Gaming mice report movements 1,000 times/second (1ms intervals)
- Non-gaming mice report 120 times/second
- Frame rate scales down when stationary to conserve battery
- Gaming mice have sharper design, more buttons, LED lights
Technical Specifications Range
- Frame rates: 4,000-177,000 per second
- DPI: 1,000-25,000
- Pixel arrays: 18x18 to 40x40
- Reporting rates: 100-1,000 Hz
- Illumination types: infrared LED, laser, red LED, ball (prehistoric)
Additional Technologies
- Video covers 1 of 7 mouse technologies
- Scroll wheel technology planned for future video (30,000 likes target)
- PCB (printed circuit board) essential for proper wire organization
