OPTICAL MOUSE SENSOR
Optical mouse sensor
M16192
OPTICAL MOUSE SENSOR
NST TECHNOLOGIES
M16192
Series DataSheet
USB INTERFACE
Version 1.10
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without
permission.
page1
Optical mouse sensor
M16192
1. Description
M16192 is a low-cost CMOS optical sensor SOC for USB optical computer mouse. It
provides an all-in-one solution including controller and sensor.
M16192 is based on algorithm which measures changes of sequential surface images
and then determines the movement. It has 1200 CPI resolution and it's max motion
speed can reach 28 inches per second and it's max acceleration can reach 20g.
M16192 is in a 12-pin optical DIP package and provides full mouse function
including five buttons, X-Y motion and Z axis wheel. It has a built-in LED driver and
internal oscillator to minimize the external components.
M16192 is a USB interface SOC sensor and has completely USB HID ver1.1
compatibility. It is compatible with Microsoft 3D IntelliMouse.
2. Feature
z
z
z
z
z
z
z
z
z
z
z
z
z
z
5.0 V power supply
USB interface
X/Y/Z three axis
Support up to SIX buttons (R, M, L, K4, K5,T1)
One dedicated pin for CPI switch and indication
3 types CPI available: 800/1200(default)/1600
Up to 4000 frame/second
Max speed 28 inch/second
Support windows OS , including WIN7, Vista, 2000, XP, Linux and MacOS
Low speed USB1.1 compatibility
Movement Algorithm technology
Built-in LED driver
Built-in oscillator
Minimal number of external components
3. Application
z
z
Computer mice for desktop PCs, workstation and portable computers
Integrated input devices
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without
permission.
page2
Optical mouse sensor
M16192
4. Pin Configuration
4.1 Pin Assignment
Figure 1.
Figure 2.
Top View Pinout
Top View of Mouse
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without
permission.
page3
Optical mouse sensor
M16192
4.2 Pin Description
Pin
Name
Directio
n
Description
1
LED
I/O
LED driver output
2
VDD
PWR
Power supply, 4.5V~5.5V
3
ZB
INPUT
Z axis inputB
4
ZA
INPUT
Z axis inputA
5
K4
INPUT
Button 4th key input
6
LED
I/O
CPI switch input and indication(PWM)output
7
T1
I/O
Button 6th key input
8
K5
INPUT
Button 5th key input
9
SW
I/O
LED control pin/Left button and right buttun
10
GND
PWR
System ground
11
DM
I/O
USB interface D+
12
DP
I/O
USB interface D-
5. Block Diagram
VDD5V
CMOS
IMAGE
SENSER
VSS
Z-AXIS
CONTROL
ZB
LED DRIVE
VREFP
ZA
LED
VERFN
BL
BM
BR
K4
K5
T1
T2
BUTTON
CONTROL
DIGITAL
SIGNAL
PROCESSOR
INTERNAL
OSC
POWER
ON RESET
USB MOUSE
CONTROLLER
DP
DM
Figure 3. Block Diagram
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without
permission.
page4
Optical mouse sensor
M16192
6. Electrical Characteristics
Absolute Maximum Ratings
Parameter
Symbol
Min
Max
Units
VDD
-0.5
5.5
V
Operating Temperature
TO
-15
+55
℃
Storage Temperature
TS
-40
+85
℃
260
℃
5.5
V
Supply voltage
Lead Solder Temp
Input voltage
VIN
-0.5
ESD
VESD
2
Notes
All pins, human body model,
MIL STD 883G method 3015.7
kV
Recommend Operating Conditions
Parameter
Symbol
Min
Typical
Max
Units
VDD
4.5
5.0
5.5
V
Operating Temperature
TA
0
25
40
℃
Distance from lens reference
plane to surface
Z
2.2
2.3
2.4
mm
CLK
22
24
26
MHz
Speed
S
-
28
Inch/Sec
Resolution
R
800
1600
CPI
Supply Voltage
System clock
1200
Notes
DC Electrical Specifications (VDD = 5.0V, Temperature = 25℃ )
Parameter
Symbol
Min
Typical
Supply current (in motion)
Max
Units
IDD
-
16.5
-
mA
Supply current (no motion)
IDD1
-
7.8
-
mA
Input voltage High (input port)
VIH1
2.0
-
-
V
Input voltage Low (input port)
VIL1
-
-
0.8
V
Input voltage High (I/O port)
VIH2
2.0
-
-
V
Input voltage Low (I/O port)
VIL2
-
-
0.8
V
Output voltage High (I/O port)
VOH1
2.8
-
3.6
V
Output voltage Low (I/O port)
VOL1
0
-
0.3
V
Notes
AC Electrical Specifications (VDD = 5.0V, Temperature = 25℃ )
Parameter
Symbol
Min
Typical
Max
Units
Power up delay
TPU
-
10
-
us
Debounce time on button
TDB
9.5
11.5
13.5
ms
Notes
POR signal
from 0 to 3.5
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without
permission.
page5
Optical mouse sensor
Z wheel sampling period
TZ
-
125
-
M16192
us
7. CPI Switch and Indication
The M16192 supports CPI switch function that allows user change resolution between
1200/1600/800 through pressing the CPI button. And the corresponding indications
will be shown by using PWM output on the same pin, i.e. outputting different duty
cycles for different resolution at fixed 1 KHz frequency. It will cause the different
brightness on LED. The CPI indication (PWM) output timing and relationship
between resolution and duty cycle are as follows.
Td
Tpwm
Figure 4. CPI Indication Timing
Resolution
PWM low duty (Td/Tpwm)
LED status
1200CPI
15%
Less Brightness
1600CPI
80%
Much Brightness
800CPI
0%
Dark
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without
permission.
page6
Optical mouse sensor
M16192
8. Sensor Pixels Array Mapping
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
51
53
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Figure 5. Sensor Pixels Array Mapping
9. PCB Assembly
Figure 6.
Recommended PCB Mechanical Drawing (Unit: mm)
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without
permission.
page7
Optical mouse sensor
10.
Assembly Drawing (Unit: mm)
Figure 7.
11.
M16192
Assembly Drawing
USB Interface
11.1 USB Command Set Description (USB Descriptor)
The USB HOST detects USB mouse device plug-in and assigns a new unique
address to the USB mouse device, then asking USB mouse device for information
about the device description, configuration description, and assigning a configuration
value for USB mouse device during enumeration period. After enumeration, the USB
mouse device is able to transfer motion and button value to the USB host.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without
permission.
page8
Optical mouse sensor
M16192
■ USB Descriptors for 3D5K++/4D5K++/4D5K+++, 16-Bit XY Device
Descriptor Type
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Device Descriptor
12
01
10
01
00
00
00
08
5D
27
29
0A
00
01
00
01
00
01
Configuration
09
02
22
00
01
01
01
A0
Descriptor (9 bytes)
32
Interface Descriptor
09
04
00
00
01
03
01
02
(9 bytes)
00
Human Interface
09
21
11
01
00
01
22
4F
07
05
81
03
06
00
0A
05
01
09
02
A1
01
09
01
A1
00
05
09
19
01
29
05
15
00
25
01
95
05
75
01
81
02
95
01
75
03
81
01
05
01
09
30
09
31
16
00
F8
26
FF
07
75
0C
95
02
81
06
09
38
15
81
25
7F
75
08
95
01
81
06
05
0C
0A
38
02
95
01
75
08
15
81
25
7F
81
06
C0
C0
04
03
09
04
(18 bytes)
Device Descriptor
(9 bytes)
Endpoint Descriptor
00
(7 bytes)
Human Interface
Device Report
Descriptor (79 bytes,
3D3B, 16-bit XY)
Language String
Descriptor (4 bytes)
Product String
USB OPTICAL MOUSE
Descriptor
Configuration String
HID-compliant MOUSE
Descriptor
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without
permission.
page9
Optical mouse sensor
M16192
11.2 USB Data Report Format
The USB report has two data formats, depending on boot or report protocol is
selected. One kind of data format is the boot protocol used in legacy environment as
11.2.1. The other kind of data format is USB report protocol format which includes
Z-wheel movement data as 11.2.2 If the Z-wheel is scrolled upward the corresponding
report data will be 01H. If the Z-wheel is scrolled downward the corresponding report
data will be FFH. And the report data will be 00H if Z-wheel is idle.
11.2.1 USB Boot Protocol for Legacy Operation
Byte
Bit
Symbol
1
7-3
NC
Reserved
2
BM
1 = Middle button pressed
1
BR
1 = Right button pressed
0
BL
1 = Left button pressed
7-0
X7 - X0
2
Description
X data (X7 - X0). A positive value indicates device was moved to the right;
a negative value indicates device was move to the left. Bit 0 = LSB.
3
7-0
Y7 - Y0
Y data (Y7 - Y0). A positive value indicates device was moved upward;
a negative value indicates device was moved downward. Bit 0 = LSB.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without
permission.
page10
Optical mouse sensor
M16192
11.2.2 USB Report Protocol
■USB report protocol for 3D5K++/4D5K++/4D5K+++, 16-Bit XY Device.
Byte
Bit
Symbol
1
7-5
NC
Reserved
4
K5
Reserved
3
K4
Reserved
2
BM
1 = Middle button pressed
1
BR
1 = Right button pressed
0
BL
1 = Left button pressed
7-0
X7 -
X data (D7 - D0). A positive value indicates motion to the right; a negative
X0
value indicates motion to the left. Bit 0 = LSB.
Y7 -
Y data (D7 - D0). A positive value indicates device motion upward; a negative
Y0
value indicates motion downward. Bit 0 = LSB.
2
3
4
7-0
7-0
Z7 - Z0
Description
Z-wheel motion data (D7 - D0). A positive value indicates device motion
downward; a negative value indicates motion upward. The Z7 - Z0 limit value
is ±7. Bit 0 = LSB.
5
6
7
8
7-0
7-0
7-0
7-0
X7 -
X data (D7 - D0). A positive value indicates motion to the right; a negative
X0
value indicates motion to the left. Bit 0 = LSB.
X15 -
X data (D15 - D8). A positive value indicates motion to the right; a negative
X8
value indicates motion to the left. Bit 0 = LSB.
Y7 -
Y data (D7 - D0). A positive value indicates device motion upward; a negative
Y0
value indicates motion downward. Bit 0 = LSB.
Y15 Y8
Y data (D15 - D8). A positive value indicates device motion upward; a
negative value indicates motion downward. Bit 0 = LSB.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without
permission.
page11
Optical mouse sensor
12.
M16192
Application Circuit
12.1 3D5K++/4D5K++/4D5K+++ Application Circuit
R2
BM
ENC
COM
D1 R1
51K
51ohm
R3
51K
R4
51K
1
2
LED
DP
VDD5V
12
DM
VDD5V
BR
C4
20p
U1
C2
104
1
BL
C3
20p R5 22ohm
1
R6 22ohm
2
11
J1
VBUS
GND
VDD5V
2
3
3
4
K4
VDD5V
R10
BD
51K
D2 R7
VDD5V
5
6
ZB
GND
ZA
SW
K4/BD
K5/BF
LED/CPI
T1/T2
3
10
4
9
VDD5V
K5
8
BF
R9
7
DM
R8 10ohm 5
DP
C1 +
USB
51K
10uF
M16192
470
Shiled
CPI
Notes:
1.For EMC immunity option componts:R5,R6,R8,C3,C4.
2.Connector J1 is suggested to has the pin sequence like:DP,DM,Shield,GND,VBUS.
Figure 8.
R2
BM
ENC
COM
3D5K+ ++ USB optical mice application.
D1 R1
51K
U1
C2
104
1
1
2
LED
VDD5V
51ohm
DP
DM
R3
51K
R4
51K
C4
20p
12
BL
VDD5V
BR
C3
20p R5
22ohm
5
R6
22ohm
4
11
J1
DP
DM
VDD5V
2
3
3
4
K4
VDD5V
5
D2 R7
VDD5V
CPI
470
6
ZB
GND
ZA
SW
K4
K5
LED/CPI
T1/T2
M16192
3
10
9
K5
8
7
R9
51K
R10
51K
2
VDD5V
T1
R8 10ohm 1
C1 +
VDD5V
T2
10uF
Shiled
GND
VBUS
USB
Notes:
1.For EMC immunity option componts:R5,R6,R8,C3,C4.
2.Connector J1 is suggested to has the pin sequence like:DP,DM,Shield,GND,VBUS.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without
permission.
page12
Optical mouse sensor
Figure 9
R2
BM
ENC
COM
4D5K++ USB optical mice application.
D1 R1
51K
51ohm
R3
51K
R4
51K
C4
20p
U1
C2
104
1
M16192
1
2
LED
VDD5V
DP
12
DM
BL
VDD5V
BR
C3
20p R5 22ohm
5
R6 22ohm
4
11
J1
DP
DM
VDD5V
2
3
3
4
K4
VDD5V
R10
BD
51K
D2 R7
VDD5V
5
6
470
ZB
GND
ZA
SW
K4/BD
LED/CPI
3
10
2
9
K5/BF
8
T1/T2
VDD5V
K5
BF
R9
R8 10ohm
C1
51K
7
T1
T2
M16192
1
+
VDD5V 10uF
Shiled
GND
VBUS
USB
R11 51K
R12 51K
CPI
Notes:
1.For EMC immunity option componts:R5,R6,R8,C3,C4.
2.Connector J1 is suggested to has the pin sequence like:DP,DM,Shield,GND,VBUS.
Figure 10
12.2
4D5K+++ USB optical mice application.
PCB Layout Guideline
The following guidelines apply to component placement and routing on the PCB. That
will get an optimum EMC solution and tracking performance.
12.2.1 Key Components Placement Rules
1. Place bulk capacitor C1 near the USB CABLE.
2. Place C2 near SENSOR’s pin2.
3. The C3/C4 and R5/R6 should be placed as close to the USB CABLE.
12.2.2 Routing Rules
Caps for pins VDD5V, VBUS trace length must be less than 5 mm.
12.3 Recommended Value for R1
The value of LED current-limitting resistance R1 , VDD=5V.
Component
R1
Min
-
Typical
51
Max
-
Units
Ohm
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without
permission.
page13
Optical mouse sensor
13.
M16192
Package Information
Figure 11. Package Information
14.
Version History
Version
Description
Date
M16192_V1.00
Create the preliminary version
2013/01/14
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without
permission.
page14
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising