USB Mouse

DIY Optical USB Mouse

   PIC 18F4550

   ADNS 2610 Optical Mouse Sensor

   Video of My Mouse

»  Basis for this project is my PIC testboard I also used for the other USB projects and the TV-Light. I created it myself on the basis of this project. Then I made a separate PCB for the sensor according to the following schematic.

»  Here is the schematic for connecting the sensor to the PIC 18F4550. It can be found in the datasheet of the sensor (and on many other websites about this sensor).

»  The ready assembled PCB.

»  Just for completeness: The bottom view of the PCB.

The software is based on the HID demo from Microchip and has been adapted to interface the sensor instead of using a fixed mouse movement. The complete MPLAB project can be downloaded here for usage according to the terms of the original Microchip project.
The sensor itself is interfaced using the SPI protocol (see the sensor's datasheet).