Design Guide: ADNK-5003
Design Guide: ADNK-5003
Design Guide: ADNK-5003
Design Guide
Introduction
The Universal Serial Bus (USB) is an industry standard serial 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 introduction 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 Implementers Forum web site at www.usb.org.
The ADNS-5000 navigation sensor along with the ADNS5100 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 required, facilitating high volume assembly.
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 implemented.
1. Use a rotary switch equivalent to the Panasonic part
EVQVX at http://industrial.panasonic.com/wwwdata/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 quadrature signal to the right produces a unique set of state
transitions, and traveling to the left produces another set
of unique state transitions.
+3.3V
Vdd 5V
C2
C1
C5
C4
C3
10
13
VDD3
VDD3
VDD5
GND
LED_GND
GND
8
Vdd 5V
+3.3V
R1
1.5k
2
USB D
USB D+
OSC IN
DD+
OSC OUT
ADNS-5000
Vdd V5
NAV LED
14
15
B1 18
3
Mechanical
Z_wheel
3.3V
B2 17
ZA
ZB
B3 16
OPT 1
or B5
12
OPT 0
or B4
11
Mouse Buttons
The ADNK-5003 reference design mouse unit allows users to evaluate the performance of the Optical Tracking
Engine (sensor, lens, LED assembly clip, LED) over a USB
protocol. This kit also enables users to understand the
recommended mechanical assembly. (See Appendix C
and D)
System Requirements
PCs using Windows NT/ Windows 2000 with standard
3-button USB mouse driver loaded.
Functionality
3-button, scroll wheel mouse.
Operating (For USB Mode)
Hot pluggable with USB port. The PC does not need
to be powered off when plugging or unplugging the
evaluation mouse.
Figure 3. Exploded view drawing of optical tracking engine with ADNS-5000 optical mouse sensor.
Sensor
LENS
Z
OBJECT SURFACE
Regulatory Requirements
Overall circuit
Sensor
The sensor technical information is contained in the
ADNS-5000 Data Sheet.
Lens
The lens technical information is contained in the ADNS5100 Data Sheet. The flange on the standard ADNS-5100
lens is for ESD protection.
LED
The LED technical information is contained in the HLMPED80 Data.
USB Interface
All USB Human Interface Device (HID) class applications
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
the USB remain non-functional until the host has issued
a USB bus reset.
2. Bus Reset
The pull-up resistor on D notifies the hub that a device
has just been connected. The host recognizes the presence of a new USB device and initiates a bus reset to
that device.
3. Enumeration
The host initiates SETUP transactions that reveal general
and device specific information about the mouse. When
the description is received, the host assigns a new and
unique USB address to the mouse. The mouse begins
responding to communication with the newly assigned
address, while the host continues to ask for information
about the device description, configuration description
and HID report description. Using the information returned from the mouse, the host now knows the number
of data endpoints supported by the mouse. At this point,
the process of enumeration is completed.
VID
PID
Manufacturing
String
Product
String
B1
B2
B3
OPT0 OPT1
ZA
ZB
3
button
0x192F
0x0116
USB Optical
Mouse
sw1
sw2
sw3
Vdd3
Vdd3
Mech
Z-wheel
Mech
Z-wheel
5
button
0x192F
0x0216
USB Optical
Mouse
sw1
sw2
sw3
sw4
sw5
Mech
Z-wheel
Mech
Z-wheel
+3.3 V
C2
C1, C2, C3 =
0.1uF
C4 = 4.7uF
C5 = 3.3 uF
C1
C5
C4
9
10
C3
13
+3.3 V
VDD3
7
VDD5
GND
VDD3
LED_GND
GND
Vdd 5V
R1
1.5k
OSC IN
USB D
D1
D+
USB D+
OSC OUT
Vdd V5
ADNS-5000
3
Mechanical
Z_wheel
B1
B2
ZA
ZB
B3
OPT 1
R1 value
(ohm)
59.0
59.0
59.0
59.0
59.0 to 66.5
59.0 to 78.7
59.0 to 93.1
59.0 to 110
59.0 to 143
NAV LED
14
15
18
LED Bin
K
L
M
N
P
Q
R
S
T
17
16
OPT 0
11
12
+3.3V
Vdd 5V
C2
C1
C5
C4
C3
10
13
VDD3
VDD3
VDD5
GND
LED_GND
GND
8
5
Vdd 5V
+3.3V
R1
1.5k
6
2
USB D
USB D+
OSC IN
DD+
NAV LED
14
OSC OUT 15
Vdd V5
B1 18
3
Mechanical
Z_wheel
3.3V
B2 17
ZA
ZB
B3 16
OPT 1
or B5
12
OPT 0
or B4
11
Figure A1. Circuit-level block diagram for ADNK-5003 designers kit optical mouse using the Avago Technologies ADNS-5000 optical mouse
Designator
Footprint
Description
59R
R8
AXIAL0.4
Resistor
750R
R7
AXIAL0.4
Resistor
1k
R3
AXIAL0.4
Resistor
1k
R1
AXIAL0.4
Resistor
1.5k
R9
AXIAL0.4
Resistor
10k
R2
AXIAL0.4
Resistor
10k
R4
AXIAL0.4
Resistor
22k
R5
AXIAL0.4
Resistor
22k
R6
AXIAL0.4
Resistor
100nF
C4
RAD0.1
Capacitor
100nF
C3
RAD0.1
Capacitor
100nF
C5
RAD0.1
Capacitor
3.3uF/16V
C1
RB.2/.4
Capacitor
4.7uF/16V
C2
RB.2/.4
Capacitor
Photo Transistor
LQ1
DIP
Sensor
PN2222A
Q2
TO-92
PN2222A
Q1
TO-92
24MHz
K1
DIP
Crystal
A5000
U1
DIP18
IC Mouse Sensor
HEADER 5
H1
HEADLOCK5P
FRICTION LOCKED
JUMPER-3
J1
JUMPER
JUMPER-3
J2
JUMPER
LED
D1
DIP
LED
NAV LED
D2
DIP
LED
SW SPDT
SW1
DIP
Switch
SW SPDT
SW2
DIP
Switch
SW SPDT
SW3
DIP
Switch
Description
Name
Quantity
ADNS-5000
Sensor
ADNS-5100
Lens
ADNS-5100-001
Lens
ADNS-5200
LED Clip
HLMP-ED80-XX000
LED
LED
ADNK-5003 CD
For product information and a complete list of distributors, please go to our web site:
www.avagotech.com
Avago, Avago Technologies, and the A logo are trademarks of Avago Technologies Limited in the United States and other countries.
Data subject to change. Copyright 2005-2008 Avago Technologies Limited. All rights reserved. Obsoletes AV01-0105EN
AV02-1139EN - April 7, 2008