Patent ID: 8031176

Claim:
An optical navigation apparatus comprising: a package that includes a light source for generating light, and a single die of silicon including circuitry configured thereon; illumination optics configured to illuminate a tracking surface with the light from the light source; and collection optics configured to collect scattered light from the tracking surface so as to form a speckle pattern at a detection plane, wherein the single die of silicon comprises: a photodiode array configured at the detection plane to receive the speckle pattern of the scattered light from the collection optics, digital circuitry configured to process signals from the photodiode array to determine changes in position of the apparatus relative to the tracking surface, analog circuitry configured to control and drive current through the light source, interface circuitry configured to communicate position data by outputting the position data via a data interface, a microcontroller comprising a processor core and memory for storing computer-readable code and data, and a system bus configured to communicate instructions and data between the microcontroller and said digital, analog, and interface circuitries, and digital inputs and outputs that are reconfigurable using internally-stored firmware, wherein the microcontroller is configured to process the signals from the reconfigurable digital inputs.