background image

ADNK-5003

Optical Mouse Designer’s Kit

Design Guide

Introduction 

The Universal Serial Bus (USB) is an industry standard se-

rial interface between a computer and peripherals such 

as  a  mouse,  joystick,  keyboard,  etc.  This  design  guide 

describes how a cost-effective USB optical mouse can be 

built using the Avago Technologies ADNS-5000 optical 

sensor. The  document  starts  with  the  basic  operations 

of  a  computer  mouse  peripheral  followed  by  an  intro-

duction to the Avago Technologies ADNS-5000 Optical 

Navigation Sensor. A schematic of the ADNS-5000 optical 

sensor and buttons of a standard mouse can be found in 

Appendix A. The ADNS-5000 data sheet is available from 

the Avago Technologies web site at www.avagotech.com. 

USB documentation can be found at the USB Implement-

ers Forum web site at www.usb.org.
The ADNS-5000 navigation sensor along with the ADNS-

5100 round lens or ADNS-5100-001 trim lens, ADNS-5200 

clip and HLMP-ED80 LED form a complete and compact 

mouse tracking system. There are no moving parts, which 

means high reliability and less maintenance for the end 

user. In addition, precision optical alignment is not re-

quired, facilitating high volume assembly.

Optical Mouse Basics

The optical mouse measures changes in position by opti-

cally acquiring sequential surface images (frames), and 

mathematically  determining  the  direction  and  magni-

tude of movement. The Z-wheel movement is done in the 

traditional  method  by  decoding  the  quadrature  signal 

generated by optical sensors. This design guide shows 

how to connect to and manage a standard configuration 

of mouse hardware, as well as handle the USB protocols 

as  a  standard  way  of  reporting  mouse  movement  and 

button presses to the PC.

Optical Navigation Sensor

Avago Technologies ADNS-5000 optical sensor is used in 

this reference design as the primary navigation engine. 

This  Optical  Navigation Technology  contains  an  Image 

Acquisition System, a Digital Signal Processor and USB 

stream output.
The IAS acquires microscopic surface images via the lens 

and  illumination  system  provided  by  the  ADNS-5100, 

ADNS-5200,  and  HLMP-ED80-XX000. These  images  are 

processed  by  the  DSP  to  determine  the  direction  and 

distance of motion.  The DSP generates the 

x and 

relative displacement values which are converted to USB 

motion data.

Mouse Z-Wheel

The motion of Z-wheel is detected using the traditional 

method by decoding the quadrature signal generated by 

optical sensors:
For mechanical Z-wheels the following must be imple-

mented.
1.  Use a rotary switch equivalent to the Panasonic part 

EVQVX  at  http://industrial.panasonic.com/www-

data/pdf/ATC0000/ATC0000CE20.pdf  (The key point 

is stable “A” switch state in all detent positions).

2.  Solder  the  rotary  switch  into  the  PCB  such  that  the 

common pin is closest to the cable end of the mouse. 

(Metal plate faces to left)

3.  Connect the “A” terminal of the rotary switch to “ZA” 

and the “B” terminal to “ZB”.  ZA MUST be connected 

to “Signal A” in Figure 2 where the z-wheel detents are 

mechanically stable.

As shown in Figure 2 below, traveling along the quadra-

ture  signal  to  the  right  produces  a  unique  set  of  state 

transitions, and traveling to the left produces another set 

of unique state transitions. 

Downloaded from

Arrow.com.

Summary of Contents for ADNK-5003

Page 1: ...shows how to connect to and manage a standard configuration of mouse hardware as well as handle the USB protocols as a standard way of reporting mouse movement and button presses to the PC Optical Na...

Page 2: ...dd 5V R1 C1 Vdd V5 Mechanical Z_wheel 3 3V USB D D D C1 C2 C3 0 1uF C4 4 7uF C5 3 3 uF 1 5k 3 3V ZA ZB or B5 or B4 USB D ADNS 5000 9 7 8 5 6 14 15 18 17 16 12 11 3 4 2 1 10 13 Figure 1 ADNS 5000 3 but...

Page 3: ...stance from lens reference plane to surface Figure 3 Exploded view drawing of optical tracking engine with ADNS 5000 optical mouse sensor While reassembling the components please make sure that the Z...

Page 4: ...lications follow the same USB start up procedure The procedure is as follows 1 Device Plug in When a USB device is first connected to the bus it is powered and running firmware but communications on t...

Page 5: ...A ZB or B5 or B4 GND VDD3 VDD3 VDD5 B3 B2 B1 OPT 1 3 3 V Vdd 5V OPT 0 C2 C4 C5 C3 GND LED_GND NAV LED OSC IN OSC OUT Vdd 5V R1 C1 Vdd V5 Mechanical Z_wheel USB D USB D D D C1 C2 C3 0 1uF C4 4 7uF C5 3...

Page 6: ...1 RB 2 4 Capacitor 4 7uF 16V C2 RB 2 4 Capacitor Photo Transistor LQ1 DIP Sensor PN2222A Q2 TO 92 TRANSISTOR NPN General Purpose Amplifier PN2222A Q1 TO 92 TRANSISTOR NPN General Purpose Amplifier 24M...

Page 7: ...hematic Bottom Layer Figure C2 PCB Schematic Top Overlay Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded fr...

Page 8: ...ical Mouse Sensor Sensor 5 ADNS 5100 Round Lens Plate Lens 5 ADNS 5100 001 Trim Lens Plate Lens 5 ADNS 5200 LED Assembly Clip LED Clip 5 HLMP ED80 XX000 LED LED 5 ADNK 5003 CD Includes Documentation a...

Reviews: