Adns 2700
Adns 2700
Adns 2700
Data Sheet
Description Features
The ADNS-2700 is a compact, one chip USB optical mouse One chip USB mouse sensor
sensor designed for implementation of a non-mechanical USB 2.0 Low Speed Compliance
tracking engine in computer mice.
12 bits USB motion data reporting
It is based on optical navigation technology that measures
Meets HID Revision 1.11
changes in position by optically acquiring sequential
surface images (frames) and mathematically determining Single 5.0 volts power supply
the direction and magnitude of movement. High speed motion detection at 30 inches per second
The sensor is in an 8-pin optical package that is designed (ips) and acceleration up to 8 g
to be used with the ADNS-5100-001 trim lens, LED clip Input buttons: 3 buttons
and the HLMP-EG3E-xxxxx LED. Together, these parts Z-Wheel interface for vertical scroll
provide a complete and compact mouse sensor. There
are no moving parts and precision optical alignment is Integrated oscillator
not required, thus facilitating high volume assembly. Integrated USB D- pull-up resistor
The output format is USB. This device meets HID Revision Product string is set to “USB Optical Mouse”
1.11 specification and is compatible with USB Revision 2.0 On-chip OTP memory for device configuration
specification. flexibility without any external software driver:
Frame rate is varied internally to the sensor to achieve – Programmable resolution from 500 to 1250 counts
tracking and speed performance, eliminating the need for per inch (cpi) with 250 cpi step.
the use of many registers. – Programmable sensor orientation
Default resolution is specified as 1000 counts per inch, – Programmable VID and PID.
with rates of motion up to 30 inches per second.
A complete mouse can be built with the addition of a PC
Applications
board, switches and Z-wheel, plastic case and cable. Corded optical mice
Trackballs
Integrated input devices
NOTE: ADNS-2700 will be referred to as "sensor", ADNS-5100-
001 as " trim lens" and HLMP-EG3E as "LED" hereafter.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
2
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
Product
Number Date Code
Features for
Illustration only
0.203
0.169
0.126
4.30
5.15
9.90
3.21
9.10
0.390 0.358
90
±
3q
0.50 1.00
Lead width Lead offset
0.020 0.039
12.85 ± 0.50
2.00 (At lead tip)
Lead pitch 0.506 ± 0.020
0.079
(2.54)
0.100
(0.04)
∅ 5.60
0.002
Pin 1
0.220
Protective
Kapton Tape
0.179
4.55
Section A-A
A A
∅ 0.80
Notes:
4.45 0.031 1. Dimensions in millimeter / inches.
0.175 Clear Optical Path 2. Dimensional tolerance: ± 0.1mm.
3. Coplanarity of leads: 0.1mm.
4. Lead pitch tolerance: ± 0.15mm.
5. Non-cumulative pitch tolerance: ± 0.15mm.
6. Angular tolerance: ± 3q
7. Maximum flash: 0.2mm.
8. Brackets () indicate reference dimension.
9. Document Number: LED_DIFF_8B_PKG_002
CAUTION: It is advised that normal static precautions be taken in handling and assembling
of this component to prevent damage and/or degradation which may be induced by ESD.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
3
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
26.67 3.00
1.050 3x 0 Clear Zone
0.118
0.80
2x 0
14.44 0.031 14.94
0.569 Pin #1 0.588
0
0
2.00 1.00
2.00 0.039 13.06
0.079
0.079 Hole Pitch 0.514
Distance
0.80
8x 0
0.031
Optical Center
0
0
1.37
0.054
6.29
0.248
11.22
0.442
12.60
0.496
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
4
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
Pin #1
B B
13.10
0.516
BASE PLATE
LENS
LED
10.59 LED CLIP
SENSOR
0.417
PCB
7.45
0.293 TOP PCB to SURFACE ALIGNMENT POST
(OPTIONAL)
BASE PLATE
2.40 BOTTOM of LENS
0.094 FLANGE to SURFACE
NAVIGATION SURFACE
Sensor Lens
Object Surface
Lens Reference Plane
2.40
Z=
0.094
Figure 5. Distance from lens reference plane to tracking surface (Z)
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
5
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
LED
Clip
Sensor
Trim Lens
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
6
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
USB D+
PORT D SW BUTTONS
CONTROL AND
ZA I/O PROCESSOR
Z WHEEL
R
POWER VE
OSCILLATOR ON OG
RESET LU
T L
IMAGE AA
PROCESSOR GT VDDA5
LED XY_LED LED EO 5 VOLT
DRIVE R POWER
GND
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
7
VCC
1 P6 1 P9
VCC GND
POWER BLOCK Rbin PAD1 PAD1
Refer to Rbin Table
H1 2 1
VDDA5 XY_LED
VCC
R 1
W USB- 7 3 1
2 R9 22R D- ZB ZB
G USB+ A2700 PAD1
3
B VSS R8 22R 8 4 1
4 Shield D+ ZA ZA
B VDD PAD1
5 C9 C10 6 5 1
20 pF 20 pF GND SW 2 VDD
HWFL 2mm 5Way 1 PAD1
R7 R10 R11
30 k 15 k 6.8 k
3 SW1 Z1 1 P3
BL VDD
1 3
Left Button COM ZB P1
2 2 1 ZB
B ZA
1
SW2 A P2
3 1 ZA
Table 1 Right Button 1 BR Z-ENCORDER
2
Rbin Value (Ohm) LED Bin
MECH-Z-Encoder
SW3
59.0 78.7 Q 2 1 BM
Middle Button
59.0 93.1 R
Buttons
59.0 110.0 S
59.0 143.0 T
1 Use ONLY 1% tolerance resistor for buttons
1 Try to shield the HWEL with a SHIELD Plane (USB pin 5) similar size of HWFL before connect to GND. Isolate the Shield island with GND plane
Don’t use jumper wire. Use resistor to jump instead. Keep the trace wide.
2 Keep (pin 5) away from noisy traces, GND plane and Power plane.
The 3 button trace for SW pin need to be same width, length.
8
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
Regulatory Requirements
Passes FCC B and worldwide analogous emission limits when assembled into a mouse with shielded cable and
following Pixart recommendations.
Passes EN61000-4-4/IEC801-4 EFT tests when assembled into a mouse with shielded cable and following Pixart
recommendations.
UL flammability level UL94 V-0.
Provides sufficient ESD creepage/clearance distance to withstand discharge up to 8 kV when assembled into a mouse
with trim lens according to usage instructions above.
Lens
Z
Object Surface
Figure 9. Distance from lens reference plane to object surface
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
9
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
AC Electrical Specifications
Electrical Characteristics over recommended operating conditions. Typical values at 25° C, VDDA5 = 5.0 V.
Parameter Symbol Minimum Typical Maximum Units Notes
Wakeup Delay from Rest Mode T WUPP 1 2 ms
Due to Motion
Power Up Delay TPUP 50 ms
Debounce Delay on TDBB 23 ms “Maximum” specified at 8 ms
Button Inputs polling rate.
Scroll Wheel Sampling Period TSW 150 200 300 s ZA PIN
Transient Supply Current IDDT 60 mA Max. supply current during
a VDDA5 ramp from 0 to 5.0 V
with > 500 s rise time. Does
not include charging currents
for bypass capacitors.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
10
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
D+
VOH
90% 90%
VCRS
10% 10%
VOL
D
TLR TLF
Rise Time Fall Time
Figure 10. Data Signal Rise and Fall Times
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
11
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
VOH (min)
VIH (min)
VIL (max)
VOL (max)
GND
tLST
Figure 11. Data Signal Voltage Levels
Differential Output
Crossover
Voltage Range
-1.0 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 2.2 2.4 2.6 2.8 3.0 3.2 4.6
TPERIOD
Consecutive Transitions
N * TPERIOD + TDJR1
Paired Transitions
N * TPERIOD + TDJR2
Figure 13. Receiver Jitter Tolerance
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
12
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
TPERIOD
Crossover Point
Crossover Point Extended
Differential
Data Lines
TPERIOD
Differential
Data Lines
Consecutive Transitions
N * TPERIOD + TUDJ1
Paired Transitions
N * TPERIOD + TUDJ2
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
13
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
DC Electrical Specifications
Electrical Characteristics over recommended operating conditions. Typical values at 25° C, VDDA5 = 5.0 V.
Parameter Symbol Minimum Typical Maximum Units Notes
System Current, Mouse Moving IDD5 35 50 mA Includes XY_LED current
System Current, Mouse Not IDD5N 15 30 mA Includes XY_LED current
Moving
System Current, USB Suspend IDD5S 500 A Includes XY_LED current and
Mode, Remote Wakeup Enabled D- pullup resistor.
Supply Current (Sensor only), IDDS 4.5 8 mA No load on SW, XY-LED, ZA, ZB,
Mouse Moving D+, D-
Supply Current (Sensor only), IDDSN 3.9 7.5 mA No load on SW, XY-LED, ZA, ZB,
Mouse Not Moving D+, D-
Sensor Supply Current, IDDSS 320 A No load on SW, XY-LED, ZA, ZB,
USB Suspend Mode D+,D-
XY_LED Current ILED 30 mA
XY_LED Output Low Voltage VOL 1.1 V
Input Low Voltage VIL 0.5 V Pins: ZA, ZB
VIL max of 0.5 VDC is at VDDA5 min
of 4 V DC, with a typical of 0.8 VDC
at VDDA5 of 5 VDC
Input High Voltage VIH 0.6*VDDA5 V Pins: ZA, ZB
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
14
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
repeat = 1
Yes
OTP write pass OTP write fail
Bad Chip
more Yes
bytes?
No
Done
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
15
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
OTP Byte Read Operation 2. After OTP write to OTPLOCK1 register, set OTP enable
bit in OTP_CONFIG register, 0x51: OTP_EN = 1.
OTP read operation flow chart is shown in Figure 17.
3. Set OTP lock bit in OTP_CTRL register, 0x54 to enable
1. Set OTP Clock enable bit in OTP_CLOCK register, 0x42: OTP lock command: LOCK_L1 = 1.
OTP_CLOCK_EN = 1.
4. Read the OTP lock bit status in OTP_CTRL register, 0x54.
2. Set OTP enable bit in OTP_CONFIG register, 0x51: OTP_ If LOCK_L1 = 1, repeat reading the bit status until it is
EN = 1. clear.
3. Write the OTP register address byte to OTP_ADDR 5. Read the lock status and CRC bits in OTP_CTRLSTAT
register, 0x52. register, 0x58.
4. Set read enable bit in OTP_CTRL register, 0x54 to enable a. If both L1_LOCK_OK and L1_CRC_OK = 1, OTP lock
write command to OTP: RD = 1. operation is completed.
5. Read the read enable bit status in OTP_CTRL register, b. If either L1_LOCK_OK or L1_CRC_OK = 0, repeat Step
0x54. If RD = 1, repeat reading the bit status until it is 2 until both bits are set.
clear. Read the OTP data byte from OTP_DATA register,
6. If Step 4b is repeated up to 10 times, OTP lock operation
0x53 to complete the OTP read operation.
is failed and the chip is confirmed as defective unit.
6. Read the OTP data byte from OTP_DATA register, 0x53
7. Read the CRC result stored in register 0xE9, 0xEA, 0xEB,
to complete the OTP read operation.
0xEC, if four register values not 0x00 means CRC has
7. Repeat Step 2 for more OTP read operations been generated correctly and verified as lock operation
Start success. Start
0x54: REGA_OTP_CTRL[1]=1 Write OTP read bite 0x54: REGA_OTP_CTRL[3]=1 Write OTP lock bit
Yes No
more
bytes? No
Repeat = 10? lock & crc = 1?
No
Yes Yes
Done
OTP write fail OTP lock
Figure 17. OTP Byte Read Flow Chart
OTP Lock Operation Bad Chip
Yes
more lock?
OTP lock operation MUST be performed once OTP write to
OTPLOCK1 register for the sensor to function. DO not reset
32 bit CRC results stored in register
or power up the chip right after OTP write to OTPLOCK1 0xE9 0xEA 0xEB 0xEC Compare CRC
register, otherwise the chip will be malfunction. The OTP
lock operation flow chart is shown in Figure 18. No
CRC Correct?
1. Set OTP Clock enable bit in OTP_CLOCK register, 0x42: Figure 18. OTP Byte Lock Flow Chart
Yes
OTP_CLOCK_EN = 1
Done
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
16
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
BL BR BM
The following graphs are the typical performance of the sensor, assembled as shown in the 2D assembly drawing with
trim lens, clip, and LED.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
17
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
1000
Resolution (DPI)
800
600
400
White Formica Spruce/White Pine
200 White Paper Black Formica
Manila
0
1.8 1.9 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 3.0 3.1 3.2
Distance from Lens Reference Plane to Surface, Z (mm)
Figure 20. Typical Resolution vs. Z Height
Avg+3sigma
50
0
1.6 1.8 2.0 2.2 2.4 2.6 2.8 3.0 3.2 3.4
Distance from Lens Reference Plane to Surface, Z (mm)
Figure 21. Mean shutter vs Z height over white paper
Notes:
1. The sensor is designed for optimal performance when used with the specified LED.
2. Z = distance from Lens Reference Plane to Surface.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
18
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
USB Commands
Mnemonic Command Notes
USB_RESET D+/D- low > 18.7 s Device Resets; Address=0
USB_SUSPEND Idle state > 3 mS Device enters USB low-power mode
USB_RESUME Non-idle state Device exits USB low-power mode
Get_Status_Device 80 00 00 00 00 00 02 00 Normally returns 00 00, Self powered 00 00,
Remote wakeup 02 00
Get_Status_Interface 81 00 00 00 00 00 02 00 Normally returns 00 00
Get_Status_Endpt0 82 00 00 00 xx 00 02 00 OUT: xx=00, IN: xx=80
Normally returns 00 00
Get_Status_Endpt1 82 00 00 00 81 00 02 00 Normally returns 00 00, Halt 00 01
Get_Configuration 80 08 00 00 00 00 01 00 Return: 00=not config., 01=configured
Get_Interface 81 0A 00 00 00 00 01 00 Normally returns 00
Get_Protocol A1 03 00 00 00 00 01 00 Normally returns 01, Boot protocol 00
Get_Desc_Device 80 06 00 01 00 00 nn 00 See USB command details
Get_Desc_Config 80 06 00 02 00 00 nn 00 See USB command details
Get_Desc_String 80 06 xx 03 00 00 nn 00 See USB command details
Get_Desc_HID 81 06 00 21 00 00 09 00 See USB command details
Get_Desc_HID_Report 81 06 00 22 00 00 nn 00 See USB command details
Get_HID_Input A1 01 00 01 00 00 nn 00 Return depends on motion & config
Get_Idle A1 02 00 00 00 00 01 00 Returns rate in multiples of 4 ms
Get_Vendor_Test C0 01 00 00 xx 00 01 00 Read register xx
Set_Address 00 05 xx 00 00 00 00 00 xx = address
Set_Configuration 00 09 xx 00 00 00 00 00 Not configured: xx=00
Configured: xx=01
Set_Interface 01 0B 00 00 00 00 00 00 Only one interface supported
Set_Protocol 21 0B xx 00 00 00 00 00 Boot: xx=00, Report: xx=01
Set_Feature_Device 00 03 01 00 00 00 00 00 Enable remote wakeup
Set_Feature_Endpt0 02 03 00 00 xx 00 00 00 Halt. OUT: xx=00, IN: xx=80
Set_Feature_Endpt1 02 03 00 00 81 00 00 00 Halt
Clear_Feature_Device 00 01 01 00 00 00 00 00 Disable Remote wakeup
Clear_Feature_Endpt0 02 01 00 00 xx 00 00 00 Clear Halt; OUT: xx=00, IN: xx=80
Clear_Feature_Endpt1 02 01 00 00 81 00 00 00 Clear Halt
Set_Idle 21 0A 00 rr 00 00 00 00 rr = report rate in multiples of 4 ms
Set_Vendor_Test 40 01 00 00 xx yy 00 00 Write yy to address xx
Poll_Endpt1 Read buttons, motion, & Z-wheel
Note:
The last two bytes in a command shown as “nn 00” specify the 16-bit data size in the order of “LowByte HighByte.” For example a two-byte data size
would be specified as “02 00.” The sensor will not provide more bytes than the number requested in the command, but it will only supply up to a
maximum of 8 bytes at a time. The sensor will re-send the last packet if the transfer is not acknowledged properly.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
19
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
20
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
Get_Status_Endpt0 82 00 00 00 xx 00 02 00
82 00 00 00 00 00 02 00
82 00 00 00 80 00 02 00
xx = 00 = Endpt0 OUT
xx = 80 = Endpt0 IN
Returns: xx yy
xx[0] = Halt
xx[7:1] = 0
yy = 00 (Reserved)
Default: Accept (undefined in USB Spec)
Addressed: Accept
Configured: Accept
Notes: Use Set_Feature_Endpt0/Clear_Feature_Endpt0 to (try to) set/clear Halt bit. According to USB, “It is
neither required or recommended that the Halt feature be implemented for the Default Control Pipe.”
Since a new SETUP command will clear any Endpt0 halt bit, it is impossible to tell if there really is a
halt bit.
Get_Status_Endpt1 82 00 00 00 81 00 02 00
Returns: xx yy
xx[0] = Halt
xx[7:1] = 0
yy = 00 (Reserved)
Default: Stall (undefined in USB Spec)
Addressed: Stall
Configured: Accept
Notes: Use Set_Feature_Endpt1/Clear_Feature_Endpt1 to set/clear Halt bit.
Get_Configuration 80 08 00 00 00 00 01 00
Returns: xx
xx = config value
Default: Accept (undefined in USB Spec) – returns 00
Addressed: Accept – returns 00
Configured: Accept – returns 01
Notes: Use Set_Configuration to change.
Get_Interface 81 0A 00 00 00 00 01 00
Returns: 00
Default: Stall (undefined in USB Spec)
Addressed: Stall
Configured: Accept – returns 00
Notes: Command has no alternate interfaces, so only valid value is 00
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
21
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
Get_Protocol A1 03 00 00 00 00 01 00
Returns: xx
xx = 00 = Boot protocol
xx = 01 = Report protocol
Default: Accept
Addressed: Accept
Configured: Accept
Notes: Defaults to Report protocol after USB Reset. Use Set_Protocol to change.
Get_Desc_Device 80 06 00 01 00 00 nn 00
80 06 00 01 00 00 12 00
Returns: 12 01 00 02 00 00 00 08
vv vv pp pp dd dd mm PP
ss 01
Example: vv vv = vendor id
pp pp = product id (vendor specified)
dd dd = device id (vendor specified) (bcd rev_id byte)
mm = iManufacturer
PP = iProduct
ss = iSerialNumber (00 – no string)
Example for Multi-button: 12 01 00 02 00 00 00 08
6D 04 pp pp 00 54 01 02
00 01
// Device Descriptor
| 12 // bLength (18 decimal)
| 01 // bDescriptorType
| 00 // bcdUSB (Release ##.## = 02.00)
| 02
| 00 // bDeviceClass
| 00 // bDeviceSubClass
| 00 // bDeviceProtocol
| 08 // bMaxPacketSize0
| 2F // idVendor
| 19 // idVendor
| 16 // idProduct // based on #buttons & wheel
| 09 // idProduct
| 00 // bcdDevice (Dev Rel 54.00)
| 54
| 00 // iManufacturer
| 02 // iProduct
| 00 // iSerialNumber
| 01 // bNumConfigurations
Default: Accept
Addressed: Accept
Configured: Accept
Get_Desc_String will return “stall” if Manufacturer string is queried when iManufacturer = 0x00.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
22
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
Get_Desc_Config 80 06 00 02 00 00 nn 00
80 06 00 02 00 00 22 00
Returns: 09 02 22 00 01 01 00 A0
32 09 04 00 00 01 03 01
02 00 09 21 11 01 00 01
22 rr 00 07 05 81 03 05
00 0A
rr = HID Report descriptor length
47 = 12 bit motion reporting
Default: Accept
Addressed: Accept
Configured: Accept
Notes: This is the concatenation of 4 descriptors:
Configuration
Interface
HID
Endpt
Get_Desc_String 80 06 xx 03 00 00 nnl nnh
xx= 00 Language String
01 Manufacturer String
02 Product String
Command Option: xx= 00 => Language String
01 => Manufacturer String
02 => Product String
Nnl nnh = varies with the string length
Returns: ss 03 “unicode string”
ss = String descriptor length
For xx = 00: 04 03 09 04 // Language ID
For xx = 01: default: stall
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
23
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
Get_Desc_HID 81 06 00 21 00 00 09 00
Returns: 09 21 11 01 00 01 22 rr 00
rr = HID Report descriptor length
40 = 12bit reporting
Get_Desc_HID_Report 81 06 00 22 00 00 nn 00
Returns: This returns a report descriptor that describes how many buttons and x, y, z data.
12 bit reporting: 05 01 09 02 A1 01 09 01
A1 00 05 09 19 01 29 03
15 00 25 01 75 01 95 03
81 02 75 05 95 01 81 01
05 01 09 30 09 31 16 01
F8 26 FF 07 75 0C 95 02
81 06 09 38 15 81 25 7F
75 08 95 01 81 06 C0 C0
// HID Report
| 05 01 // USAGE_PAGE (Generic Desktop)
| 09 02 // USAGE (Mouse)
| A1 01 // COLLECTION (Application)
| 09 01 // USAGE (Pointer)
| A1 00 // COLLECTION (Physical)
| 05 09 // USAGE_PAGE (Button)
| 19 01 // USAGE_MINIMUM (Button 1)
| 29 03 // USAGE_MAXIMUM (Button #3)
| 15 00 // LOGICAL_MINIMUM (0)
| 25 01 // LOGICAL_MAXIMUM (1)
| 75 01 // REPORT_SIZE (1)
| 95 03 // REPORT_COUNT (3)
| 81 02 // INPUT (Data,Var,Abs)
| 75 05 // USAGE PAGE
| 95 01 // REPORT COUNT(1)
| 81 01 // INPUT (CNST,ARR,ABS)
| 05 01 // USAGE PAGE (Generic Desktop)
| 09 30 // USAGE (X)
| 09 31 // USAGE (Y)
| 16 01 F8 // LOGICAL MINIMUM (-127)
| 26 FF 07 // LOGICAL MAXUMUN (128)
| 75 0C // REPORT_SIZE (12)
| 95 02 // REPORT_COUNT (2)
| 81 06 // INPUT (Data,Var,Rel)
| 09 38 // USAGE (Zwheel)
| 15 81 // LOGICAL MINIMUM(-127)
| 25 7F // LOGICAL MAXIMUM(127)
| 75 08 // REPORT_SIZE(8)
| 95 01 // REPORT_COUNT(1)
| 81 06 // INPUT(Data,Var,Rel)
| C0 // END_COLLECTION
| C0 // END_COLLECTION
Default: Accept
Addressed: Accept
Configured: Accept
Notes: The length of this report is needed in the HID descriptor.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
24
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
Get_HID_Input A1 01 00 01 00 00 nn 00
nn = 06 (12 bit reporting)
Returns: bb xx yx yy zz
bb = button byte
xx = X motion byte
yx = XY motion byte
yy = Y motion byte
zz = Z motion byte
Default:
Stall
Addressed:
Stall
Configured:
Accept
Notes:
If the device is configured, it will always respond with a report for this command, even if no motion
or button changes have occurred. In this case, it would report 00 for motion and simply report the
current button state. If a report is pending on endpt1, the data there will be reported and the report
on endpt1 cleared.
The mouse will only create new button/motion packets when it is in the Configured state
Get_Idle A1 02 00 00 00 00 01 00
Returns: rr
rr = rate in multiples of 4 mS
Default: Accept
Addressed: Accept
Configured: Accept
Notes: The third byte of the command is to select the Report ID. There is only one for the mouse – so, using
00 or 01 will work. See also Set_Idle.
Get_Vendor_Test C0 01 00 00 xx 00 01 00
ii = ignore
xx = address of register to read
Returns: rr (depends on register read)
Default: Accept
Addressed: Accept
Configured: Accept
Notes: Address range (xx) is datasheet register range
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
25
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
Set_Address 00 05 xx 00 00 00 00 00
xx = new device address, from 00 to 7F
Default: Accept
Addressed: Accept
Configured: Accept (undefined in USB Spec)
Chip gets new address, but stays in “Configured” mode.
Notes: If device is not configured, the device will be given the new address and put in the addressed state
(or default if new address = 00). If the device is already configured, the device will be given the new
address state and remain configured.
Set_Configuration 00 09 xx 00 00 00 00 00
xx = 00 = not configured
xx = 01 = configured
Default: Accept (undefined in USB Spec)
Addressed: Accept
Configured: Accept
Notes: Invalid config values will cause stall. Chip will stall invalid value in configured mode, and leave device
in old (configured) mode.
Set_Interface 01 0B 00 00 00 00 00 00
Default: Stall (undefined in USB Spec)
Addressed: Stall
Configured: Accept
Notes: Mouse has only one valid interface (00) and alternate setting (00). Invalid values will cause stall. Chip
retains previous (valid) interface state after executing this command in configured mode even if invalid
values are given and command was stalled.
Set_Protocol 21 0B xx 00 00 00 00 00
xx = 00 = Boot protocol
xx = 01 = Report protocol
Default: Accept (Not in USB Spec)
Addressed: Accept (Not in USB Spec)
Configured: Accept
Notes: 3 byte data packets will be reported in boot mode. These bytes are button, XX data, and YY data.
Set_Feature_Device 00 03 01 00 00 00 00 00
Default: Accept (undefined in USB Spec)
Addressed: Accept
Configured: Accept
Notes: This sets the remote wakeup bit.
Set_Feature_Endpt0 02 03 00 00 xx 00 00 00
02 03 00 00 00 00 00 00
02 03 00 00 80 00 00 00
xx = 00 = Endpt0 OUT
xx = 80 = Endpt0 IN
Default: Stall (undefined in USB Spec)
Addressed: Stall
Configured: Stall
Notes: This (tries to) sets the halt bit. The chip always stalls the status stage for this command. The chip never
reports the halt bit set for Endpt0 with the Get_Status_Endpt0 command, as any new SETUP command
will clear Endpt0 stall.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
26
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
Set_Feature_Endpt1 02 03 00 00 81 00 00 00
Default: Stall (undefined in USB Spec)
Addressed: Stall
Configured: Accept
Notes: Sets the halt bit for Endpt1.
Clear_Feature_Device 00 01 01 00 00 00 00 00
Default: Accept (undefined in USB Spec)
Addressed: Accept
Configured: Accept
Notes: This clears the remote wakeup bit.
Clear_Feature_Endpt0 02 01 00 00 xx 00 00 00
02 01 00 00 00 00 00 00
02 01 00 00 80 00 00 00
xx = 00 = Endpt0 OUT
xx = 80 = Endpt0 IN
Default: Accept (undefined in USB Spec)
Addressed: Accept
Configured: Accept
Notes: The chip does NOT stall like it does for Set_Feature_Endpt0.
Clear_Feature_Endpt1 02 01 00 00 81 00 00 00
Default: Stall (undefined in USB Spec)
Addressed: Stall
Configured: Accept
Notes: See Set_Feature_Endpt1.
Set_Idle 21 0A 00 rr 00 00 00 00
rr = rate in multiples of 4 mS
Default: Accept
Addressed: Accept
Configured: Accept
Notes: The third byte of the command is to select the Report ID. There is only one for the mouse – so, using
either 00 or 01 will work.
The fourth byte of the command sets the rate in multiples of 4 mS. The initial value for mice will be x00
which means “infinite” – that is packets only come out when there is a change in data.
Data will only be allowed to come out when the device is configured. However, the chip will accept the
command in Default or Addressed mode and use that value when the device is later configured.
Set_Vendor_Test 40 01 00 00 xx yy 00 00
xx = address
yy = data
Default: Accept
Addressed: Accept
Configured: Accept
Notes: Address range for “xx” should be 0x00 to 0x3F. Addresses above this are reserved for possible future
use. See also Get_Vendor_Test.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
27
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
Poll_Endpt1
Returns: bb xx yx yy zz
bb = button byte
xx = X motion byte
yx = XY motion byte
yy = Y motion byte
zz = Z motion byte (if Z-Wheel)
Default:
Ignore request
Addressed:
Ignore request
Configured:
Accept (NAK if no data; Send packet if available)
Notes:
See also Get_HID_Input. Endpt will only stall if halt bit is set by Set_Feature_Endpt1. Details of data
packet are below.
Endpt1 should be polled at least every 10 frames (mS). It is typically polled every 8 frames on Windows
machines. For internal testing, Endpt1 can be continuously polled if desired.
The chip will not generate any report packets unless in the Configured state.
If Endpt1 is currently empty, any motion or button change will be loaded into the Endpt1 buffers. Once
the Endpt1 buffers are full, any further motion events will get accumulated. When the Endpt1 buffers
are later polled and emptied, the current accumulated X/Y/Z values will be loaded into the Endpt1
buffers. After transferring their data, the accumulation registers are reset so they are ready to start ac-
cumulating new motion events.
Button information is handled a bit differently. If the Endpt1 buffers are empty, and a button change
event occurs, the new button state is put into the Endpt1 buffers. At the same time, the button state
that is put in Endpt1 is copied for later use. While Endpt1 is full, changes in button state are essentially
ignored. When Endpt1 is emptied, if the current button state is different than that which was last
loaded into Endpt1, then the new state will be loaded and a new copy saved. Basically, the button
state that is loaded into Endpt1 is always the current button state at that point in time. It should also
be noted that there is hardware on the chip to help de-bounce the buttons.
Special note on wLength: The wLength paramater in commands specifies the maximum number of bytes a device should send
back. The commands listed below are not able to handle a wLength of 0 correctly.
Get_Status_Device
Get_Status_Interface
Get_Status_Endpt0
Get_Status_Endpt1
Get_Configuration
Get_Interface
This chip will send one byte of data rather than none when wLength = 0 is requested for the above
commands.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
28
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
Registers
The sensor can be programmed through registers, via the USB port, and configuration and motion data can be read from
these registers. The registers will be “disabled” by VDDA5 going low or sending a USB reset command.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
29
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
30
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
DZ Address: 0x06
Access: Read Reset Value: 0x00
Bit 7 6 5 4 3 2 1 0
Field Z7 Z6 Z5 Z4 Z3 Z2 Z1 Z0
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
31
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
32
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
33
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
342 323 304 285 266 247 228 209 190 171 152 133 114 95 76 57 38 19 0 Top Xray View of Mouse
343 324 305 286 267 248 229 210 191 172 153 134 115 96 77 58 39 20 1
344 325 306 287 268 249 230 211 192 173 154 135 116 97 78 59 40 21 2
345 326 307 288 269 250 231 212 193 174 155 136 117 98 79 60 41 22 3
P LB RB
346 327 308 289 270 251 232 213 194 175 156 137 118 99 80 61 42 23 4 O
347 328 309 290 271 252 233 214 195 176 157 138 119 100 81 62 43 24 5 S
348 329 310 291 272 253 234 215 196 177 158 139 120 101 82 63 44 25 6 I
T
349 330 311 292 273 254 235 216 197 178 159 140 121 102 83 64 45 26 7 I 4
350 331 312 293 274 255 236 217 198 179 160 141 122 103 84 65 46 27 8 V 5
3
351 332 313 294 275 256 237 218 199 180 161 142 123 104 85 66 47 28 9 E 6
2
7
352 333 314 295 276 257 238 219 200 181 162 143 124 105 86 67 48 29 10 Y 1
8
353 334 315 296 277 258 239 220 201 182 163 144 125 106 87 68 49 30 11
354 335 316 297 278 259 240 221 202 183 164 145 126 107 88 69 50 31 12
355 336 317 298 279 260 241 222 203 184 165 146 127 108 89 70 51 32 13
356 337 318 299 280 261 242 223 204 185 166 147 128 109 90 71 52 33 14
357 338 319 300 281 262 243 224 205 186 167 148 129 110 91 72 53 34 15
358 339 320 301 282 263 244 225 206 187 168 149 130 111 92 73 54 35 16 POSITIVE X
359 340 321 302 283 264 245 226 207 188 169 150 131 112 93 74 55 36 17
360 341 322 303 284 265 246 227 208 189 170 151 132 113 94 75 56 37 18
Figure 20. Pixel Map. Sensor looking at the navigation surface through the lens from top of mouse.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
34
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
35
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
36
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
37
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
Note: Sensor orientation setting by changing bit 6,5 and 4. The SwapXY operation is always performed before
INV_X and INV_Y inversion operations.
Rotation 0° 90° 180° 270°
Bit[6:4] 101 000 110 011
Motion
Reporting
A2700 XYYWWZE
A2700 XYYWWZE
+X +X
+X +X
A2700 XYYWWZE
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
38
PixArt Imaging Inc.
ADNS-2700 Single Chip USB Optical Mouse Sensor
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw