PAN3203DI PAN3203DI WIRELESS OPTICAL MOUSE SINGLE CHIP General Description The PAN3203DI optical mouse sensor is a CMOS wireless mouse single chip that serves as a non-mechanical motion estimation engine for implementing a wireless mouse. Key Specification Features Single power supply 27MHz FSK wireless protocol No mechanical parts Complete 2-D motion sensor Precise optical motion estimation technology Accurate motion estimation over a wide range System Clock of surfaces Frame Rate High resolution up to 1000cpi Power Supply Range 1.73V~1.87V (VDDD,VDDA, VDD) 2.5V~2.9V (VDD) Optical Lens 1:1 Interface 27MHz FSK wireless protocol 27 MHz 3000 frames/sec High speed motion detection up to 28 inches/sec Speed Supports five buttons (R, M, L, B4, B5) and Acceleration three axes (X, Y, Z) output 28 inches/sec Mouse operation condition, RF protocol timing Resolution and sensor chip turn function can be power-up loaded from external EEPROM Operating Support I2CTM EEPROM interface Current Battery low detection Package 400/600/800(default)/1000 CPI TBD 5mA @Mouse moving (Normal) 800uA @Mouse not moving (Sleep1) 150uA @Mouse not moving (Sleep2) Shrunk DIP24 Ordering Information Order number PAN3203DI Resolution (cpi) 800 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: [email protected] 1 V0.1 Jan. 2006 PixArt Imaging Inc. PAN3203DI Wireless Optical Mouse Single Chip 1. Pin Configuration 1.1 Pin Assignment 1.2 Pin Description Pin # Name 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 ZY1 ZY2 BL B4 LED OSCOUT OSCIN VDDD VSS VDD VDDA VREF B5 NC ISCK ISDA RFID RFDATA RFEN BR BM NC RFU BATLow Type Definition IN IN IN IN I/O OUT IN PWR GND PWR PWR BYPASS IN IN I/O IN OUT OUT IN IN IN IN Z axis, scroller input, internal pull-low (50k), support mechanical encoder only Z axis, scroller input, internal pull-low (50k), support mechanical encoder only Button left key input, internal pull-high (50k), press connect to low Button 4 key input, internal pull-high (50k), press connect to low LED driver control Oscillator output, connect to 27MHz crystal Oscillator input, connect to 27MHz crystal Digital circuit voltage power, 1.8V Chip ground Chip I/O power voltage, 1.73V~1.87V(Vdd1) or 2.5V~2.9V(Vdd2) Analog circuit voltage power, 1.8V Analog circuit voltage reference Button 5 key input, internal pull-high (50k), press connect to low No connection I2C serial clock, internal pull-high (5k) I2C bi-directional input/output pin, internal pull-high (5k) RFID resynchronization, internal pull-high (50k), press connect to low RF data output, CMOS output RF power control, CMOS output Button right key input, internal pull-high (50k), press connect to low Button middle key input, internal pull-high (50k), press connect to low No connection Reserve for future use Battery low detection input 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: [email protected] 2 V0.1 Jan. 2006 PixArt Imaging Inc. PAN3203DI Wireless Optical Mouse Single Chip 2. Block Diagram and Operation LED WHEEL LED DRIVER ZY1 POWER ON RESET VDD CMOS IMAGE SENSOR VDDA VDDD ZY2 1.8V POWER VSS BL VSSLED BM BUTTON VREF BR DIGITAL SIGNAL PROCESSOR B4 B5 RFID RF INTERFACE RFDATA RFEN EEPROM CONTROLLER ISCK ISDA OSCIN WIRELESS MOUSE CONTROLLER OSCILLATOR CRYSTAL OSCOUT Figure1. Block Diagram The PAN3203DI is a 27MHz wireless CMOS optical mouse single chip that serves as a non-mechanical motion estimation engine for implementing a wireless mouse. PAN3203DI supports X, Y, Z three axes, and L, R, M, B4, and B5 five buttons. PAN3203DI is in a 24-pin optical package and comes with the resolution of 800 counts per inch (cpi) and the rate of motion up to 28 inches per second. PAN3203DI embedded mouse controller in it so that no additional controller and its component needed. 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: [email protected] 3 V0.1 Jan. 2006 PixArt Imaging Inc. PAN3203DI Wireless Optical Mouse Single Chip 3. Specifications Absolute Maximum Ratings Stresses above those listed under "Absolute Maximum Rating" may cause permanent damage to the device. These are stress ratings only. Functional operation of this device at these or any other conditions above those indicated in the operational sections of this specification is not implied and exposure to absolute maximum rating conditions for extended periods may affect device reliability. Symbol Parameter Min. Max. Unit Notes TSTG Storage temperature -40 85 °C TA Operating Temperature -15 55 °C VDC DC supply voltage -0.5 Vdd1 + 0.2 V -0.5 Vdd2 + 0.3 V VIN DC input voltage -0.5 VDC V All I/O pin Lead Solder Temp - 260 °C For 10 seconds, 1.6mm below seating plane - - 2 kV All pins, human body model MIL 883 Method 3015 Min. Typ. Max. Unit 0 - 40 °C 1.73 1.8 1.87 2.5 2.7 2.9 - - 100 mV Peak to peak within 0-100 MHz Refer to Figure2 ESD Recommend Operating Condition Symbol Parameter TA Vdd1 Operating Temperature Power supply voltage Vdd2 V Notes VDDD, VDDA, VDD short VDD VN Supply noise Z Distance from lens reference plane to surface 2.3 2.4 2.5 mm R Resolution 400 800 1000 cpi A Acceleration - - TBD g FCLK Clock Frequency 26.995 27.042 27.245 MHz FR Frame Rate - 3000 - Frames/s S Speed - - 28 Inches/sec Set by crystal 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: [email protected] 4 V0.1 Jan. 2006 PixArt Imaging Inc. PAN3203DI Wireless Optical Mouse Single Chip Package Lid Lens Z OBJECT SURFACE Figure2. Distance from Lens Reference Plane to Surface +X +Y ESD LENS RING CLIP PLASTIC SPRING BASE PLATE LED SURFACE IS 0 REF. PCB SENSOR BASE PLATE ALIGNMENT POST Unit: mm Figure3. 2D Assembly 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: [email protected] 5 V0.1 Jan. 2006 PixArt Imaging Inc. PAN3203DI Wireless Optical Mouse Single Chip DC Electrical Characteristics Electrical characteristics over recommended operating conditions. Typical values at 25 °C, Vdd1 = 1.8 V, FCLK = 27MHz Symbol Parameter Type: Mouse Power Supply Current IDD Mouse moving (Normal) Supply Current IDD Mouse not moving (Sleep1) Supply Current IDD Mouse not moving (Sleep2) Type: BL, BM, BR, B4, B5, RFID RPH Internal Pull-up Resistance Min. Typ. Max. Unit - 5 - mA - 800 - uA - 150 - uA - 50 - Kohm - 50 - Kohm - 5 - Kohm Notes Type: ZY1, ZY2 RPD Internal Pull-down Resistance Type: ISCK, ISDA RPH Internal Pull-up Resistance Type: BL, BM, BR, B4, B5 VIH Input High Voltage 1.3 - - V VIL Input Low Voltage - - 0.5 V - - 300 Type: LED VOL Output Voltage Low mV @I OL = 25mA 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: [email protected] 6 V0.1 Jan. 2006 PixArt Imaging Inc. PAN3203DI Wireless Optical Mouse Single Chip 4. Referencing Application Circuit 4.1 1.8V Application Circuit (with Red LED) #1. Battery Power Circuit Optional power source: A or B A. DC/DC Converter BAT_3.0V VIN PAD 220uH D3 1N5819 VCC_1.8V VOUT SW 47uF U1 VCC_1.8V Q4 100K C31 GND C30 VR1 2N3906 C32 R14 100K ELM9818 R9 Q4 2N3906 C33 22uF 100K VCC_1.8V 170K VCC_1.8V BatDetect VR2 100uF ELM9318 BAT_3.0V U5 GND VIN VOUT L2 B. Regulator BAT_1.5V BAT_1.5V 22uF R10 BatDetect 470K R11 100K A #2. EEPROM & LED-POWER Circuit 24AA02 BAT_1.5V A0 VCC A1 WP A2 SCL VSS SDA LED_2.7V D2 VCC_1.8V L1 200uH VOUT ISCK C5 ISDA 0.1uF SW C3 U2 47uF #3. RF TX Circuit R4 R20 short/open R21 open/short C8 BAT_3.0V RFosc R3 10K C10 + + 0.1uF 1uF R8 0.1uF R6 2K 10K RFcarrier 1 Z2 2 B4 D1 3 4 5 RFcarrier C18 10pF 6 X1 7 27.042MHZ 8 * C19 + C20 1uF VCC_1.8V 9 10 11 + 100pF Q3 3904 VCC_1.8V Z1 LKEY C22 100pF U4 #4. Sensor Circuit C21 C13 C12 10K RFosc 1uF C9 R7 R1 C11 RFEN 22pF Q2 3904 * R5 open 47uF C6 Q1 2N3906 RFDATA C4 ELM9327 10R VCC_1.8V LED_2.7V 1N5819 GND U3 C23 12 + ZY1 BATLow ZY2 RFU BL NC B4 BM LED BR OSCOUT OSCIN RFEN RFDATA VDDD RFID VSS ISDA VDD ISCK VDDA NC VREF B5 C24 10uF 0.1uF 1uF 0.1uF 24 BatDetect 23 RFU ENSW1 Z1 Z2 COM Z1 Z2 22 ENCODER 21 MKEY 20 RKEY LKEY SW1 19 RFEN RKEY SW2 18 RFDATA 17 RFID 16 ISDA 15 ISCK MKEY SW3 B4 SW4 B5 SW5 14 13 B5 RFID SW6 RFU * SW7 PAN3203DI Note1: R20 R21 short open ==>VDD_1.8V open short ==>BAT_3.0V Note2: Please reserve C19,R5,SW7 for future use Figure4. Application Circuit for 1.8V (with Red 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: [email protected] 7 V0.1 Jan. 2006 PixArt Imaging Inc. PAN3203DI Wireless Optical Mouse Single Chip 4.2 1.8V Application Circuit (with IR LED) #1. Battery Power Circuit Optional power source: A or B A. DC/DC Converter BAT_1.5V L2 220uH D2 1N5819 VCC_1.8V VCC_1.8V VR1 BAT_3.0V Q4 100K VOUT C30 SW 47uF U1 C31 BAT_3.0V ELM9818 IR_1.8V + 100K R9 VCC_1.8V 170K VCC_1.8V Q4 2N3906 BatDetect VR2 100uF ELM9318 U5 2N3906 + GND + B. Regulator VIN PAD IR_1.8V GND VIN VOUT BAT_1.5V + R14 C32 C33 100K 22uF 22uF R10 BatDetect 470K R11 100K #2. EEPROM Circuit U3 24AA02 VCC_1.8V A0 VCC A1 WP A2 SCL VSS SDA ISCK C5 ISDA 0.1uF #3. RF TX Circuit R4 10R VCC_1.8V R20 short/open C8 BAT_3.0V R21 open/short RFosc R3 10K 1uF C9 0.1uF R8 R6 2K 10K R7 RFcarrier 10K Z1 1 Z2 2 LKEY 3 B4 R1 4 D1 5 RFcarrier C18 10pF 6 X1 RFosc 7 27.042MHZ 8 * C19 + C20 9 1uF VCC_1.8V 10 11 C21 + C22 C23 12 + 1uF C12 C13 100pF 100pF Q3 3904 ZY1 VCC_1.8V BATLow ZY2 RFU BL NC B4 BM LED BR OSCOUT OSCIN RFEN RFDATA VDDD RFID VSS ISDA VDD ISCK VDDA NC VREF B5 C24 10uF 0.1uF 1uF C11 U4 #4. Sensor Circuit IR_1.8V + RFEN 22pF Q2 3904 * R5 open 0.1uF C6 Q1 2N3906 RFDATA C10 + 0.1uF 24 BatDetect 23 RFU ENSW1 Z1 Z2 COM Z1 Z2 22 ENCODER 21 MKEY 20 RKEY LKEY SW1 19 RFEN RKEY SW2 18 RFDATA 17 RFID 16 ISDA 15 ISCK MKEY SW3 B4 SW4 B5 SW5 14 13 B5 RFID SW6 RFU * SW7 PAN3203DI Note1: R20 R21 short open ==>VDD_1.8V open short ==>BAT_3.0V Note2: Please reserve C19,R5,SW7 for future use Figure5. Application Circuit for 1.8V (with IR 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: [email protected] 8 V0.1 Jan. 2006 PixArt Imaging Inc. PAN3203DI Wireless Optical Mouse Single Chip 4.3 2.7V Application Circuit (with Red LED) #1. Battery Power Circuit DC/DC Converter BAT(1.5V) BAT(1.5V) L1 VCC_2.7V 200uH D2 VCC_2.7V LED_2.7V VR1 1N5819 500K VOUT SW C1 U1 47uF 2N3906 GND + Q4 + ELM9327 VR2 BatDetect C2 500K R11 47uF 100K #2. EEPROM Circuit U3 24AA02 VCC_2.7V A0 VCC A1 WP A2 SCL VSS SDA ISCK C5 ISDA 0.1uF #3. RF TX Circuit R4 10R VCC_2.7V C8 RFosc R3 10K 22pF C11 1uF RFEN Q2 3904 * R5 open 0.1uF 1uF + C6 Q1 2N3906 RFDATA C10 + C9 R8 0.1uF R6 2K 10K R7 RFcarrier 10K C12 C13 100pF 100pF Q3 3904 U4 #4. Sensor Circuit VCC_2.7V Z1 1 Z2 2 LKEY B4 LED_2.7V R1 D1 4 5 RFcarrier C18 10pF 6 X1 RFosc 3 7 27.042MHZ 8 * C19 + C20 1uF VCC_2.7V 9 10 11 C21 + C22 C23 12 + ZY1 BATLow ZY2 RFU BL NC B4 BM LED BR OSCOUT OSCIN RFEN RFDATA VDDD RFID VSS ISDA VDD ISCK VDDA NC VREF B5 24 BatDetect 23 RFU 22 ENSW1 Z1 Z2 ENCODER 21 MKEY 20 RKEY LKEY SW1 19 RFEN RKEY SW2 18 RFDATA 17 RFID 16 ISDA 15 ISCK MKEY SW3 B4 SW4 B5 SW5 14 13 B5 RFID SW6 C24 10uF 0.1uF 1uF 0.1uF Z2 COM Z1 RFU * SW7 PAN3203DI Note1: Please reserve C19,R5,SW7 for future use Figure6. Application Circuit for 2.7V (with Red 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: [email protected] 9 V0.1 Jan. 2006 PixArt Imaging Inc. PAN3203DI Wireless Optical Mouse Single Chip 4.4 PCB Layout Consideration 1. Caps for pins 8, 10, 11, 12 MUST have trace lengths LESS than 5mm. 2. The trace lengths of OSCOUT, OSCIN must less than 6mm. 3. The trace length of RFosc, RFcarrier must as short as possible. 4.5 Recommended Value for R1 4.5.1 Using Red LED Radiometric intensity of red LED Bin limits (mW/Sr at 20mA) LED Bin Grade Min. Typ. Max. N 14.7 - 17.7 P 17.7 - 21.2 Q 21.2 - 25.4 Note: Tolerance for each bin will be ± 15% Suggested R1: Red LED Bin Grade Suggested R1 (ohm) N 12 P 12 Q 12 4.5.2 Using IR LED Suggested R1: IR LED Bin Grade Suggested R1 (ohm) TBD 0 It is not guaranteed that the performance of PAN3203DI with IR LED is as good as PAN3203DI with red LED. PAN3203DI is designed to a very good match with red LED, and this combination has the best performance. 4.5.3 Summary Light Source LED Bin Grade VDD R1 (ohm) Red LED N, P, Q 2.7 12 IR LED TBD 1.8 0 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: [email protected] 10 V0.1 Jan. 2006 PixArt Imaging Inc. PAN3203DI Wireless Optical Mouse Single Chip 6. EEPROM Table 1. 2. 3. After power on, PAN3203DI will check EEPROM, if EEPROM address=0x01 and data=0xAA, continue to read EEPROM address 0x02. When reading successive data is zero, PAN3203DI stop read data from EEPROM. Placing updated address and data continuously. Address Description Default 06H Resolution 00H 80H 81H 82H 83H 84H 85H 86H 87H 88H 89H 8DH Sleep1 entry time Sleep1 period Sleep1 pd low time to check sensor motion status Sleep2 pd low time to check sensor motion status Sleep2 entry time Sleep2 period (6bits, range: 0~63) Manchester code 1T time (8051 timer0 timer) Preamble total time Preamble counts Chip turn RFID timer 17H 1CH 05H 05H 3CH 28H D8H 0FH 06H 55H 0FH 00H=800, 01H=400, 02H=400, 03H=600, 20H=1000 8.88ms*23 = 200ms 1ms*(28+2) = 30ms (Refer to the Figure7) 1ms*5 = 5ms (Refer to the Figure7) 1ms*5 = 5ms (Refer to the Figure7) 1s*60 = 60s 8ms*(40+1) = 328ms (Refer to the Figure7) 4us*(FFH-D8H)=160us 1T*15=15T 2T*(6-1)=10T 15H=-90°, 55H=0°, D5H=+90° 200ms *15= 3sec Sleep1 period LED OFF SLEEP1 LED ON Sleep1 pd low time to check sensor motion status Sleep2 period LED OFF SLEEP2 LED ON Sleep2 pd low time to check sensor motion status Figure7. Sleep period For example: EEPROM Address Sensor Address Data Description RF ID code, 0xNN = 0x01~0xFF If the data is 0xAA, then PAN3202 continue to read EEPROM address 0x02, else stop to read any data from EEPROM 800cpi Sleep1 entry time Sleep1 period Sleep1 pd low time to check sensor motion status Sleep2 pd low time to check sensor motion status Sleep2 entry time Sleep2 period (6bits, range: 0~63) Manchester code 1T time (8051 timer0 timer) Preamble total time Preamble counts Chip turn 0° RFID timer Ending code Ending code 0 - 0xNN 1 - 0xAA 2, 3 4, 5 6, 7 8, 9 10, 11 12, 13 14, 15 16, 17 18, 19 20, 21 22, 23 24, 25 26 27 0x06 0x80 0x81 0x82 0x83 0x84 0x85 0x86 0x87 0x88 0x89 0x8D - 0x00 0x17 0x1C 0x05 0x05 0x3C 0x28 0xD8 0x0F 0x06 0x55 0x0F 0x00 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: [email protected] 11 V0.1 Jan. 2006 PixArt Imaging Inc. PAN3203DI Wireless Optical Mouse Single Chip 7. Package Information 7.1 Package Outline Drawing 24 13 1 12 Θ 1 12 24 13 Θ Figure8. Package Outline Drawing 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: [email protected] 12 V0.1 Jan. 2006 PixArt Imaging Inc. PAN3203DI Wireless Optical Mouse Single Chip 7.2 Recommended PCB Mechanical Cutouts and Spacing 4.064 0.160 15.494 0.610 10.998 0.433 6.985 0.275 27.153 1.069 2.286 0.090 7.544 0.297 26.010 1.024 0 ref. 16.942 0.667 4.445 0.175 1.194 0.047 0.711 0.028 Optical Center 0 ref. 1.194 0.047 4.445 0.175 6.985 0.275 0.711 0.028 7.544 0.297 3.251 0.128 All Dimensions : mm / inch Figure9. Recommended PCB Mechanical Cutouts and Spacing 8. Update History Version V0.1 Update Date st Creation, Preliminary 1 version 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: [email protected] 01/16/2006 13 V0.1 Jan. 2006