ADNK-2052 HP | Alldatasheet

Document overview

  • Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
  • PDF pages: 51

Technical content

Solid-State Optical Mouse Sensor Sample Kit Kit Components See table below. Sensor The sensor technical information is contained in the ADNS-2051 Data Sheet. Lens The lens information is contained in the HDNS-2100/HDNS- 2100#001 Data Sheet. LED Assembly Clip The assembly information is con- tained in the HDNS-2200/HDNS- 2200#001 Technical Data Sheet. LED Information on the LED is con- tained in the HLMP-ED80-XXXXX Data Sheet. Base Plate Feature IGES File The IGES file provides recom- mended base plate molding fea- tures to ensure optical alignment. Part Number Description Name Quantity ADNS-2051 Solid-State Optical Mouse Sensor 5 Sensor HDNS-2100 Lens Plate (Round Lens) Lens 5 HDNS-2100#001 Lens Plate (Trimmed Lens) Lens 5 HDNS-2200 LED Assembly Clip (Black Clip) LED Clip 5 HDNS-2200#001 LED Assembly Clip (Clear Clip) LED Clip 5 HLMP-ED80-XXXXX 639 nm T-1 3/4 (5 mm) Diameter LED 5 LED Documentation ADNS-2051 Data Sheet — 1 Documentation HDNS-2100/HDNS-2100#001 — 1 Data Sheet Documentation HDNS-2200/HDNS-2200#001 — 1 Data Sheet Documentation HLMP-ED80-XXXXX LED Data Sheet — 1 Floppy Diskette Base Plate Feature IGES File — 1 www.agilent.com/semiconductors For product information and a complete list of distributors, please go to our web site. For technical assistance call: Americas/Canada: +1 (800) 235-0312 or (408) 654-8675 Europe: +49 (0) 6441 92460 China: 10800 650 0017 Hong Kong: (+65) 6756 2394 India, Australia, New Zealand: (+65) 6755 1939 Japan: (+81 3) 3335-8152(Domestic/International), or 0120-61-1280(Domestic Only) Korea: (+65) 6755 1989 Singapore, Malaysia, Vietnam, Thailand, Philippines, Indonesia: (+65) 6755 2044 Taiwan: (+65) 6755 1843 Data subject to change. Copyright © 2003 Agilent Technologies, Inc. Obsoletes 5988-6066EN April 8, 2003 5988-9325EN

Features

  • Precise optical navigation tech- nology
  • No mechanical moving parts
  • Complete 2D motion sensor
  • Serial interface and/or quadrature interface
  • Smooth surface navigation
  • Programmable frame speed up to 2300 frames per sec (fps)
  • Accurate motion up to 14 ips
  • 800 cpi resolution
  • High reliability
  • High speed motion detector
  • No precision optical alignment
  • Wave solderable
  • Single 5.0 volt power supply
  • Shutdown pin for USB suspend mode operation
  • Power conservation mode during times of no movement
  • On chip LED drive with regulated current
  • Serial port registers – Programming – Data transfer
  • 16-pin staggered dual inline package (DIP)

Applications

  • Mice for desktop PCs, workstations, and portable PCs
  • Trackballs
  • Integrated input devices

Description

The ADNS-2051 is a low cost optical sensor used to implement a non-mechanical tracking engine for computer mice. It is based on optical navigation technology, which measures changes in position by optically acquiring sequential surface images (frames) and mathematically deter- mining the direction and magnitude of movement. The sensor is housed in a 16-pin staggered dual inline package (DIP) that is designed for use with the HDNS-2100 Lens and HDNS-2200 Clip and HLMP-ED80-XXXXX (639 nm LED illuminator source). There are no moving parts, and precision optical alignment is not required, facilitating high volume assembly. The output format is two channel quadrature (X and Y direction) which emulates encoder photo- transistors. The current X and Y information are also available in registers accessed via a serial port. Default resolution is specified as 400 counts per inch (cpi), with rates of motion up to 14 inches per second (ips). Resolution can also be pro- grammed to 800 cpi. The part is programmed via a two wire serial port, through registers. Theory of Operation The ADNS-2051 is based on Optical Navigation Technology. It contains an Image Acquisition System (IAS), a Digital Signal Processor (DSP), a two-channel quadrature output, and a two wire serial port. The IAS acquires microscopic surface images via the lens and illumination system provided by the HDNS-2100, 2200, and HLMP-ED80-XXXXX LED. These images are processed by the DSP to determine the direction and distance of motion. The DSP generates the Δx and Δ y relative displacement values that are converted into two channel quadrature signals.

1 SCLK Serial port clock (input)

2 XA XA quadrature output

3 XB XB quadrature output

4 YB YB quadrature output

5 YA YA quadrature output

6 XY_LED LED control

7 REFA Internal reference

8 REFB Internal reference

9 OSC_IN Oscillator input

10 GND System ground

11 OSC_OUT Oscillator output

12 GND System ground

14 R_BIN LED current bin resistor

15 PD Power down pin, active high

16 SDIO Serial data (input and output)

Figure 1. Top view. Figure 2. Package outline drawing.

  1. DIMENSIONS IN MILLIMETERS (INCHES).
  2. DIMENSIONAL TOLERANCE: ± 0.1 mm.
  3. COPLANARITY OF LEADS: 0.1 mm.
  4. LEAD PITCH TOLERANCE: ± 0.15 mm.
  5. CUMULATIVE PITCH TOLERANCE: ± 0.15 mm.
  6. ANGULAR TOLERANCE: ± 3.0 DEGREES.
  7. CHAMFER (25 DEGREES x 2) ON THE TAPER SIDE OF THE LEAD.
  1. Insert the sensor and all
  2. Bend the LED leads 90 ° and
  3. Insert the LED/clip assembly
  4. Wave Solder the entire as-

tape during wave soldering).

  1. Place the lens onto the base
  2. Insert PCB assembly over the

should self-align to the lens.

  1. The optical position refer-
  2. Install mouse top case. There

Figure 5. Exploded view drawing.

Figure 6. Block diagram of ADNS-2051 optical mouse sensor. Figure 7. PCB assembly.

5 VOLT

the lens flange can be sealed (i.e.

Figure 8. Application using SDIO pins.

  • Caps for pins 7, 8 and 12, 13 MUST have trace lengths LESS than 5 mm.
  • The 0.1 µF caps must be ceramic.
  • Caps should have less than 5 nH of self inductance
  • Caps should have less than 0.2 Ω ESR Surface mount parts are recommended. Regulatory Requirements
  • Passes FCC B and worldwide analogous emission limits when assembled into a mouse with unshielded cable and fol- lowing Agilent recommenda- tions.
  • Passes EN61000-4-4/IEC801-4 EFT tests when assembled into a mouse with unshielded cable and following Agilent recom- mendations.
  • UL flammability level UL94 V-0.
  • Provides sufficient ESD creep- age/clearance distance to avoid discharge up to 15 kV when assembled into a mouse ac- cording to usage instructions above.
  • For eye safety consideration, please refer to the technical report available on the web site, http://www.agilent.com
  • The 15.0 kΩ resistor is deter- mined by the absolute maxi- mum rating of 50 mA for the HLMP-ED80-XXXXX. The other resistor values for brighter bins will guarantee good signals with reduced power. Recommended Typical Application using SDIO Pins GND GND

18 MHz

Figure 9. Application using quadrature output pins.

  • Caps for pins 7, 8 and 12, 13 MUST have trace lengths LESS than 5 mm.
  • The 0.1 µF caps must be ceramic.
  • Caps should have less than 5 nH of self inductance
  • Caps should have less than 0.2 Ω ESR Surface mount parts are recommended. SDIO and SCLK pins should be grounded if not used. Absolute Maximum Ratings Parameter Symbol Min. Max. Units Notes Storage Temperature T S –40 85 ˚C Operating Temperature T A –15 55 ˚C Lead Solder Temperature 260 ˚C For 10 seconds, 1.6 mm below seating plane. Supply Voltage V DD –0.5 5.5 V ESD 2 kV All pins, human body model MIL 883 Method 3015 Input Voltage V IN –0.5 V DD + 0.5 V PD, SDIO, SCLK, XA, XB, YA, YB, XY_LED, R_BIN Input Voltage V IN –0.5 3.6 V OSC_IN, OSC_OUT, REF_A Alternative Application using Quadrature Output Pins GND GND 2 XA XB3 YB4 YA5

9 CEXT

3.3 V REGULATOR

Electrical Characteristics over recommended operating conditions. Typical values at 25˚C, V DD = 5.0 V, 18 MHz. (power down) or V DD; VDD = 4.25 V to 5.25 V. Output Low Voltage V OL 0.4 V @ I OL = 0.5 mA. Output High Voltage V OH 0.6 * VDD V@ I OH = 0.5 mA . Output Low Voltage V OL 1.1 V Refer to Figure 11. XY LED Current I LED 500 µA R1 < 200 Ω. Figure 11. Typical I-V characteristic of

Figure 12. PD timing normal mode. Figure 13. PD timing sleep mode. Figure 14. PD minimum pulse width. Figure 15. Detail of PD falling edge timing. can exist within one frame time. by the length of the PD time.

75 FRAMES

Figure 16. Quadrature states per frame (400 cpi mode).

Figure 17. Quadrature states per frame (800 cpi mode).

Figure 18. Quadrature states per frame (800 cpi mode).

  1. The ADNS-2051 has a transac-

tion timer for the serial port. address will have no effect. address will return all zeros.

  1. Collision detection on SDIO

communication difficulties).

  1. In case of synchronization
  2. Termination of a transmission
  3. The micro-controller can verify
  4. The micro-controller can verify

Figure 35. Power up serial port watchdog timer sequence.

SPI communication code for the Cypress CY7C63000 or CY7C63001 (Please consult factory for the CY7C63722 or CY7C63723 codes.) Note: This programming sequence is not covered in Agilent's product warranty. It is only a recommended example when using the mentioned Cypress microcontrollers. For the latest updates on Cypress microcontrollers, please contact Cypress at email: usbapps@cypress.com or call (858) 613-7929 (US). The following code can be used to implement the SPI data communications. See the schematic in Figure 9. ; Notes: ; CY7C63001 20pin package ; ADNS-2051 ; SDIO line connected to pin5 (P1.0) ; PD connected to pin 16 (P1.1) ; SCLK line connected to pin15 (P1.3) ; I/O port Port1_Data: equ 01h ; GPIO data port 1 Port1_Interrupt: equ 05h ; Interrupt enable for port 1 Port1_Pullup: equ 09h ; Pullup resistor control for port 1 ; Port bit definitions SDIO: equ 01h ; bit 0 PD: equ 02h ; bit 1 SCLK: equ 08h ; bit 3 Pt1_Current: equ 00h ; port1 current setting ; GPIO Isink registers Port1_Isink: equ 38h Port1_Isink0: equ 38h Port1_Isink1: equ 39h Port1_Isink3: equ 3Bh ; data memory variables spi_addr: equ 40h ; address of spi writes spi_data: equ 41h ; data of spi writes bit_counter: equ 44h ; SPI bit counter port1_wrote: equ 45h ; what we wrote last ; initialize Port 1 mov A, Pt1_Current ; select DAC setting iowr Port1_Isink0 ; isink current Port 1 bit[0] iowr Port1_Isink1 ; isink current Port 1 bit[1] iowr Port1_Isink3 ; isink current Port 1 bit[3] mov A, 0h ; enable Port 1 bit [7:0] pullups iowr Port1_Pullup mov A, ~(PD|SDIO) ; turn on the ADNS-2051 mov [port1_wrote], A mov A, [port1_wrote] iowr Port1_Data ; PD low, SCLK, SDIO mov A, 0 iowr Port1_Interrupt ; disable port 1 interrupts ; There are possible problems with the SPI port if the microcontroller starts executing ; instructionsbefore the ADNS-2051 sensor has powered up. See page 18 for details. ; It is assumed that power to the microcontroller is OK if the next instructions can be executed. ; These instructions will reset the SPI port of the sensor. Resync_sensor: mov A,~(SCLK|SDIO|PD) ; set the SCLK, SDIO and PD lines low and [port1_wrote], A mov A, [port1_wrote]

iowr Port1_Data ; If the power to the sensor needs more time ; to stabilize, insert a delay here call delay700us ; wait about 4 milliseconds for the sensor call delay700us ; oscillator to stabilize call delay700us call delay700us call delay700us call delay700us mov A, (SCLK|SDIO|PD ; set the SCLK, SDIO and PD lines high or [port1_wrote], A ; this shuts down the oscillator and mov A, [port1_wrote] ; resets the SPI port iowr Port1_Data call delay700us ; wait for the PD to reset the part mov A, ~PD ; set the PD line low to put the sensor and [port1_wrote], A ; back into normal operation mov A, [port1_wrote] iowr Port1_Data call delay700us ; wait about 4 milliseconds for the sensor call delay700us ; oscillator to stabilize call delay700us call delay700us call delay700us call delay700us ; sensor SPI port now in sync ; ReadSPI routine ; Includes delays for long traces or cables between the uP and ADNS-2051 ; Has correct timing of SCLK and SDIO ; On entry: spi_addr = Address of SPI register in the ADNS-2051 ; spi_data = undefined ; On exit spi_addr = undefined ; spi_data = register contents from ADNS-2051 ReadSPI: mov A, 64 ; wait 200us (optional) mov [bit_counter], A ; (about 3us per loop) Waitrspi: nop nop nop nop nop nop dec [bit_counter] jnz Waitrspi ; read address mov A,~80h and [spi_addr], A ; lower MSB of address (read) call writeaddr ; wait 200us (about 3us per loop)(100us minimum required) mov A,64 ; wait for data to be ready mov [bit_counter], A Waitrspi2: nop nop nop nop nop nop dec [bit_counter] jnz Waitrspi2

mov A, 0h ; clear the data mov [spi_data], A mov A, 08h mov [bit_counter], A mov A, SDIO or [port1_wrote], A mov A, [port1_wrote] ; write a 1 to SDIO iowr Port1_Data nextr: mov A, ~SCLK ; lower SCLK and [port1_wrote], A mov A, [port1_wrote] iowr Port1_Data nop ; wait for cable to settle nop ; if ADNS-2051 is connected to nop ; IC via short PCB traces, nop ; then the number of NOPs can nop ; reduced or eliminated nop nop mov A,[spi_data] ; shift next bit asl mov [spi_data], A ; shift next bit iord Port1_Data ; read SDIO and A, SDIO jz rdx rd1: mov A, 01h or [spi_data], A rdx: mov A, SCLK ; raise SCLK or [port1_wrote], A mov A, [port1_wrote] iowr Port1_Data nop ; wait for cable to settle nop nop nop nop nop nop dec [bit_counter] jnz nextr ret ; WriteSPI routine ; Includes delays for long traces or cables between the uP and ADNS-2051. ; Has correct timing of SCLK and SDIO ; On entry: spi_addr = Address of SPI register in the ADNS-2051 ; spi_data = Data to be written to the SPI register ; On exit spi_addr = undefined ; spi_data = undefined WriteSPI: mov A, 64 ; wait 200us (optional) mov [bit_counter], A ; about 3us per loop Waitspi: nop nop nop nop nop nop dec [bit_counter] jnz Waitspi ; write address mov A, 80h

or [spi_addr], A ; set MSB of address (write) call writeaddr jmp wrdata writeaddr: mov A, 08h ; 8 bits to shift out mov [bit_counter], A nexta: mov A, ~SCLK ; lower SCLK and [port1_wrote], A mov A, [port1_wrote] iowr Port1_Data mov A, [spi_addr] ; shift next bit asl mov [spi_addr], A jnc addr0 addr1: mov A, SDIO or [port1_wrote], A ; raise SDIO jmp addrx addr0: mov A, ~SDIO and [port1_wrote], A ; lower SDIO addrx: mov A, [port1_wrote] iowr Port1_Data nop ; wait for cable to settle nop nop nop nop nop nop mov A, SCLK ; raise SCLK or [port1_wrote], A mov A, [port1_wrote] iowr Port1_Data ; ADNS-2051 reads the address bit nop ; wait for cable to settle nop nop nop nop nop nop dec [bit_counter] jnz nexta ret wrdata: mov A, 08h ; 8 bits of data mov [bit_counter], A nextw: mov A, ~SCLK ; lower SCLK and [port1_wrote], A mov A, [port1_wrote] iowr Port1_Data mov A, [spi_data] ; shift next bit asl mov [spi_data], A jnc wr0 wr1: mov A, SDIO or [port1_wrote], A ; raise SDIO jmp wrx wr0: mov A, ~SDIO and [port1_wrote], A ; lower SDIO wrx: mov A, [port1_wrote] iowr Port1_Data nop ; wait for cable to settle nop nop nop nop nop nop mov A, SCLK ; raise SCLK

or [port1_wrote], A mov A, [port1_wrote] iowr Port1_Data ; ADNS-2051 reads the data bit nop ; wait for cable to settle nop nop nop nop nop nop dec [bit_counter] jnz nextw ret delay700us: mov A, ffh ; wait for 710us mov [bit_counter], A ; reuse bit_counter waitd0: nop nop nop nop nop nop ; 2us dec [bit_counter] jnz waitd0 ret Example calling syntax ; WriteSPI ; Set register 0a to 40h, LED blink mode mov A, 0ah ; move address into A mov [spi_addr], A ; move address into spi_addr mov A, 40h ; move data into A mov [spi_data], A ; move data into spi_data call WriteSPI ; call WriteSPI routine, on return, ; spi_addr and spi_data will be undefined ; ReadSPI ; Read register 02h, the motion register mov A, 02h ; move address into A mov [spi_addr], A ; move address into spi_addr call ReadSPI ; call ReadSPI, on return, data is in spi_data, ; spi_addr is undefined

The ADNS-2051 can be programmed through registers, via the serial port, and configuration and motion data can be read from these registers. Address Register 0x00 Product_ID 0x01 Revision_ID 0x02 Motion 0x03 Delta_X 0x04 Delta_Y 0x05 SQUAL Address Register 0x06 Average_Pixel 0x07 Maximum_Pixel 0x08 Reserved 0x09 Reserved 0x0a Configuration_bits 0x0b Reserved Address Register 0x0c Data_Out_Lower 0x0d Data_Out_Upper 0x0e Shutter_Lower 0x0f Shutter_Upper 0x10 Frame_Period_Lower 0x11 Frame_Period_Upper B i t 7654 3210 Field PID 7 PID6 PID5 PID4 PID3 PID2 PID1 PID0 Data Type: Eight bit number with the product identifier. USAGE: The value in this register does not change, it can be used to verify that the serial communications link is OK. Product_ID Address: 0x00 Access: Read Reset Value: 0x02 B i t 7654 3210 Field RID 7 RID6 RID5 RID4 RID3 RID2 RID1 RID0 Data Type: Eight bit number with current revision of the IC. USAGE: NN is a value between 00 and FF which represent the current design revision of the device. Revision_ID Address: 0x01 Access: Read Reset Value: 0xNN Bit 7 6 5 4 3 2 1 0 Field MOT Reserved FAULT OVFY OVFX Reserved Reserved RES Data Type: Bit field USAGE: Register 0x02 allows the user to determine if motion has occurred since the last time it was read. If so, then the user should read registers 0x03 and 0x04 to get the accumulated motion. It also tells if the motion buffers have overflowed and whether or not an LED fault occurred since the last reading. The current resolution is also shown. Motion Address: 0x02 Access: Read Reset Value: 0x00

MOT Motion since last report or PD 0 = No motion 1 = Motion occurred, data ready for reading in Delta_X and Delta_Y registers Reserved Reserved for future FAULT LED Fault detected – set when R_BIN is too low or too high, shorts to V DD or Ground 0 = No fault 1 = Fault detected OVFY Motion overflow Y, Δ Y buffer has overflowed since last report 0 = No overflow 1 = Overflow has occurred OVFX Motion overflow X, ΔX buffer has overflowed since last report 0 = No overflow 1 = Overflow has occurred Reserved Reserved for future Reserved Reserved for future RES Resolution in counts per inch 0 = 400 1 = 800 Notes for Motion: 1. Reading this register freezes the Delta_X and Delta_Y register values. Read this register before reading the Delta_X and Delta_Y registers. If Delta_X and Delta_Y are not read before the motion register is read a second time, the data in Delta_X and Delta_Y will be lost. 2. Agilent RECOMMENDS that registers 0x02, 0x03 and 0x04 be read sequentially. 3. Internal buffers can accumulate more than eight bits of motion for X or Y. If either one of the internal buffers overflows, then absolute path data is lost, and the OVFX or OVFY bit is set. These bits (OVFX and OVFY) are cleared once some motion has been read from the Delta_X and Delta_Y registers, and if the buffers are not at full scale. Since more data is present in the buffers, the cycle of reading the Motion, Delta_X and Delta_Y registers should be repeated until the motion bit (MOT) is cleared. Until MOT is cleared, either the Delta_X or Delta_Y registers will read either positive or negative full scale. If the motion register has not been read for a long time, at 400 cpi it may take up to 16 read cycles to clear the buffers, at 800 cpi, up to 32 cycles. 4. FAULT is a sticky bit that is cleared by reading the Motion register. It signifies that an LED fault has occurred since the last time the motion register was read. Once an LED fault has cleared, the hardware will drive the LED normally. 80 81 FE FF 00 01 02 7E 7F -128 -127 -2 -1 0 +1 +2 +126 +127MOTION DELTA_X B i t 7654 3210 Field X 7 X6 X5 X4 X3 X2 X1 X0 Data Type: Eight bit 2‘s complement number. USAGE: X movement is counts since last report. Absolute value is determined by resolution. Reading clears the register. Delta_X Address: 0x03 Access: Read Reset Value: 0x00

clearly shows that the squal count is dependent on focus distance. This graph is obtained by getting multiple readings over different heights. Figure 38. Typical mean squal vs. Z (white paper). Data Type: Eight bit 2‘s complement number. by resolution. Reading clears the register. Data Type: Eight bit number. acquired SQUAL values, while a sensor was moved slowly over white paper. SQUAL is nearly equal to zero, if there is no surface below the sensor.

Reserved Address: 0x08 Reserved Address: 0x09 0 25 50 75 100 125 150 175 200 225 250 AVERAGE PIXEL VALUE AVERAGE PIXEL (WHITE PAPER) 0 25 50 75 100 125 150 175 200 225 250 MAXIMUM PIXEL VALUE MAXIMUM PIXEL (WHITE PAPER) B i t 7654 3210 Field 0 0 AP 5 AP4 AP3 AP2 AP1 AP0 Data Type: Six bit number. USAGE: Average Pixel value in current frame. Minimum value = 0, maximum = 63. The average pixel value can be adjusted every frame. Shown below is a graph of 250 sequentially acquired average pixel values, while the sensor was moved slowly over white paper. Average_Pixel Address: 0x06 Access: Read Reset Value: 0x00 B i t 7654 3210 Field 0 0 MP 5 MP4 MP3 MP2 MP1 MP0 Data Type: Six bit number. USAGE: Maximum Pixel value in current frame. Minimum value = 0, maximum value = 63. The maximum pixel value can be adjusted every frame. Shown below is a graph of 250 sequentially acquired maximum pixel values, while the sensor was moved slowly over white paper. Maximum_Pixel Address: 0x07 Access: Read Reset Value: 0x00

RESET Power up defaults (bit always reads 0) 0 = No effect 1 = Reset registers and bits to power up default settings (bold entries) LED_MODE LED Shutter Mode 0 = Shutter mode off (LED always on) (even if no motion up to 1 sec.) 1 = Shutter mode on (LED only on when the electronic shutter is open) Sys Test System Tests (bit always reads 0) 0 = No tests 1 = perform all system tests, output 16 bit CRC via Data_Out_Upper and Data_Out_Lower registers. Note: Since part of the system test is a RAM test, the RAM will be overwritten with the default values when the test is done. If any configuration changes from the default are needed for operation, make the changes AFTER the system test is run. This operation requires substantially more time to complete than other register transactions. RES Resolution in counts per inch 0 = 400 1 = 800 Pix Dump Dump the pixel array through Data_Out_Upper and Data_Out_Lower, 256 bytes 0 = disabled 1 = dump pixel array Reserved Reserved Reserved Reserved Sleep Sleep Mode 0 = Normal, fall asleep after one second of no movement (1500 frames/s) 1 = Always awake Reserved Address: 0x0b Bit 7 6 5 4 3 2 1 0 Field RESET LED_MODE Sys Test RES PixDump Reserved Reserved Sleep Data Type: Bit field USAGE: Register 0x0a allows the user to change the configuration of the sensor. Shown below are the bits, their default values, and optional values. Configuration_bits Address: 0x0a Access: Read/Write Reset Value: 0x00

Data_Out_Upper Data_Out_Lower Note System test result 1: FE D4 One of two results returned. These System test result 2: 4D 10 values are subject to change with each device design revision. Pixel Dump command Pixel Address Pixel Data (Lower 6 bits) Once the pixel dump command is given, the sensor writes the address and the value for the first pixel into the Data_Out_Upper and Data_Out_Lower registers. The MSB of Data_Out_Lower is the status bit for the data. If the bit is high, the data are NOT valid. Once the MSB is low, the data for that particular read are valid and should be saved. The pixel address and data will then be incremented on the next frame. Once the pixel dump is complete, the PixDump bit in register 0x0a should be set to zero. To obtain an accurate image, the LED needs to be turned on by changing the sleep mode of the configuration register 0x0a to always awake. B i t 7654 3210 Field DO 7 DO6 DO5 DO4 DO3 DO2 DO1 DO0 Data_Out_Lower Address: 0x0c Access: Read Reset Value: undefined B i t 7654 3210 Field DO 15 DO14 DO13 DO12 DO11 DO10 DO9 DO8 Data Type: Sixteen bit word. USAGE: Data can be written to these registers from the system self test, or the pixel dump command. The data can be read out 0x0d, or 0x0d first, then 0x0c. Data_Out_Upper Address: 0x0d Access: Read Reset Value: undefined

Figure 39. Directions are for a complete mouse, with the HDNS-2100 lens.

black, to 63 for complete white. An internal AGC circuit adjusts the shutter value to keep the brightest feature (max. Figure 40. Pixel dump pictures.

clearly shows that the shutter value is dependent on focus distance. Data Type: Sixteen bit word. frame. When the shutter adjusts, it changes by ±1/16 of the current value. sensor was moved slowly over white paper. Note: This graph shows average readings over different heights. Figure 41. Typical shutter vs. Z (white paper).

← Default Max. Shutter Max Shutter Shutter Frames/second Decimal Hex Upper Lower 2300 5010 0x1392 13 92 2000 6184 0x1828 18 28 1500 9184 0x23E0 23 E0 1000 15184 0x3B50 3B 50 500 33184 0x81A0 81 A0 *Note: To optimize tracking performance on dark surfaces, it is recommended that an adaptive frame rate based on shutter value be implemented, for frame rates greater than 1500. Changing the frame rate results in changes in the maximum speed, acceleration limits, and dark surface performance. To read from the registers, read Frame_Period_Upper first followed by Frame_Period_Lower. To write to the registers, write Frame_Period_Lower first followed by Frame_Period_Upper. The maximum value of the shutter is dependent upon the frame rate and clock frequency. The formula for the maximum shutter value is: Clock Frequency Frame RateMax. Shutter Value = –2816 For a clock frequency of 18 MHz, the following table shows the maxi- mum shutter value. 1 clock cycle is 55.56 nsec. ← Default Frame Time Counts Frame_Period Frames/second Decimal Hex 2‘s Comp Upper Lower 2300* 7826 0x1E92 0xE16E E1 6E 2000* 9000 0x2328 0xDCD8 DC D8 1500 12000 0x2EE0 0xD120 D1 20 1000 18000 0x4650 0xB9B0 B9 B0 500 36000 0x8CA0 0x7360 73 60 ← Minimum Frame Time B i t 7654 3210 Field FP 7 FP6 FP5 FP4 FP3 FP2 FP1 FP0 Frame_Period_Lower Address: 0x10 Access: Read/Write Reset Value: 0x20 B i t 7654 3210 Field FP 15 FP14 FP13 FP12 FP11 FP10 FP9 FP8 Data Type: Sixteen bit 2‘s complement word. USAGE: The frame period counter counts up until it overflows. Units are clock cycles. The formula is: = Counts (decimal) Counts (hex) Counts (2‘s complement hex) For an 18 MHz clock, here are the Frame_Period values for popular frame rates. Frame_Period_Upper Address: 0x11 Access: Read/Write Reset Value: 0xd1 ←←Clock Rate Frame Rate

IC Register State after Reset (power up or setting bit 7, register 0x0a) Address Register Value Meaning 0x0 Product_ID 0x02 Product ID = 2 (Fixed value) 0x01 Revision_ID 0xNN Revision of IC (Fixed value). (For each device design revision.) 0x02 Motion 0x00 No Motion LED = No Fault No X data overflow No Y data overflow Resolution is 400 counts per inch 0x03 Delta_X 0x00 No X motion 0x04 Delta_Y 0x00 No Y motion 0x05 SQUAL 0x00 No image yet to measure 0x06 Average_Pixel 0x00 No image yet to measure 0x07 Maximum_Pixel 0x00 No image yet to measure 0x08 Reserved — 0x09 Reserved — 0x0a Configuration_bits 0x00 Part is not Reset LED Shutter Mode is off No System tests Resolution = 400 counts per inch Pixel Dump is disabled Sleep mode is enabled 0x0b Reserved — 0x0c Data_Out_Lower undefined No data to read 0x0d Data_Out_Upper undefined No data to read 0x0e Shutter_Lower 0x64 Initial shutter value 0x0f Shutter_Upper 0x00 Initial shutter value 0x10 Frame_Period_Lower 0x20 Initial frame period value (corresponds to 1500 fps) 0x11 Frame_Period_Upper 0xd1 Initial frame period value (corresponds to 1500 fps)

Optical Mouse Design References Eye Safety calculation AN1228

Ordering Information

Specify part number as follows: ADNS-2051 = Sensor IC in a 16-pin staggered DIP, 20 per tube. ADNB-2050 = Sensor IC and HDNS-2100 round lens bundle kit, 1000 pc incremental ADNB-2051 = Sensor IC and HDNS-2100#001 Round lens bundle kit, 1000 pc incremental HDNS-2100 = Round Optical Mouse Lens HDNS-2100#001 = Trimmed Optical Mouse Lens HDNS-2200 = LED Assembly Clip (Black) HDNS-2200#001 = LED Assembly Clip (Clear) HLMP-ED80-XXXXX = LED

www.agilent.com/semiconductors For product information and a complete list of distributors, please go to our web site. For technical assistance call: Americas/Canada: +1 (800) 235-0312 or (408) 654-8675 Europe: +49 (0) 6441 92460 China: 10800 650 0017 Hong Kong: (+65) 6756 2394 India, Australia, New Zealand: (+65) 6755 1939 Japan: (+81 3) 3335-8152(Domestic/International), or 0120-61-1280(Domestic Only) Korea: (+65) 6755 1989 Singapore, Malaysia, Vietnam, Thailand, Philippines, Indonesia: (+65) 6755 2044 Taiwan: (+65) 6755 1843 Data subject to change. Copyright © 2003 Agilent Technologies, Inc. Obsoletes 5988-4289EN May 6, 2003 5988-8477EN

Precision Optical Performance HLMP-ED80-xxxxx Radiometrically Tested AlInGaP II LED Lamps for Sensor-Based

  • Characterized by Radiometric Intensity
  • High Optical Power Output
  • Extremely Long Useful Life
  • Low Power Consumption
  • Well Defined Spatial Radiation Patterns
  • 639 nm PEAK Red Color
  • 30° Viewing Angle
  • High Operating Temperature: T jLED = +130°C
  • Superior Resistance to Moisture
  • Suitable for Outdoor Use Benefits
  • Radiometric LED Characterization Decreases System Variability
  • Improved System Reliability
  • Visual Styling
  • Visible Color for Improved Application Safety
  • On / Off Indication
  • Suitable for a Variety of Sensor-Based Applications
  • Photo Sensor Stimulus
  • Infrared Emitter Replacement
  • Solid State Optical Mouse Sensors
  • Surface Imaging Sensors
  • Optical Position and Motion Sensors
  • Human Interface Devices
  • Computer Printer Dot Quality Control
  • Battery Powered Systems

Radiometrically Tested Precision Optical Performance AlInGaP II (aluminum indium gallium phosphide) LEDs offer increased sensor-based application design flexibility. High-resolution radiometric intensity bins (mW/sr) enable customers to precisely match LED lamp performance with sensor functionality. Visible LEDs offer new styling alternatives — light can be leveraged to develop more attractive products. In comparison to invisible infrared sources, safety concerns are significantly improved by the human autonomic pupil response and reflexive movement away from bright light. Visible LEDs further indidcate system on / off status. The AlInGaP II technology provides extremely stable light output over very long periods of time, with low power consumption. These lamps are made with an advanced optical grade epoxy system offering superior high temperature and moisture resistance performance in outdoor systems. The epoxy contains both uv-a and uv-b inhibitors to reduce the effects of long term exposure to direct sunlight. Please contact your Agilent Technologies Representative for more information and design for manufacture advice. Application Brief I-024 Pulsed Operating Ranges for AlInGaP LEDs vs. Projected Long Term Light Output Performance and other application information is available at www.agilent.com/go/led_lamps.

2.35 (0.093) MAX. 5.80 ± 0.20 (0.228 ± 0.008) 5.00 ± 0.20 (0.197 ± 0.008) 31.60 (1.244) MIN. 0.70 (0.028) MAX. 1.00 (0.039)MIN. 2.54 ± 0.38 (0.100 ± 0.015) 0.50 ± 0.10 CATHODE LEAD CATHODE FLAT 8.71 ± 0.20 (0.343 ± 0.008 1.14 ± 0.20 (0.045 ± 0.008) Note: All dimensions are in mm (inches). Part Number Minimum Radiometric Intensity Maximum Forward Voltage (mW/Sr) at 20 mA (V) at 20 mA HLMP-ED80-K0T00 7.2 2.6 HLMP-ED80-K0000 7.2 2.4 Device Selection Guide

Absolute Maximum Ratings at TA = 25°C Reverse Voltage (I [1.59 mm (0.060 in.) below seating plane] Notes: 1. Derate linearly as shown in Figure 4. 2. For long term performance with minimal light output degradation, drive currents between 10 mA and 30 mA are recommended. For more information on recommended drive conditions, please refer to HP Application Brief I-024 (5966-3087E). 3. Please contact your Agilent sales representative about operating currents below 10 mA. Part Numbering System HLMP - x x x x - x x x xx Mechanical Option 00: Bulk VF Bin Selections 0: Maximum VF 2.4 V T: Maximum VF 2.6 V Maximum Intensity Bin 0: No maximum Iv bin limit Minimum Intensity Bin Refer to device selection guide Color D: 630 nm red Package E: T-1 3/4 (5 mm) round lamp

www.agilent.com/semiconductors For product information and a complete list of distributors, please go to our web site. For technical assistance call: Americas/Canada: +1 (800) 235-0312 or (408) 654-8675 Europe: +49 (0) 6441 92460 China: 10800 650 0017 Hong Kong: (+65) 6271 2451 India, Australia, New Zealand: (+65) 6271 2394 Japan: (+81 3) 3335-8152(Domestic/Interna- tional), or 0120-61-1280(Domestic Only) Korea: (+65) 6271 2194 Malaysia, Singapore: (+65) 6271 2054 Taiwan: (+65) 6271 2654 Data subject to change. Copyright © 2002 Agilent Technologies, Inc. Obsoletes 5988-7360EN September 18, 2002 5988-7916EN

Solid-State Optical Mouse Lens Data Sheet The HDNS-2100 Solid-State Optical Mouse Lens is designed for use with Agilent Optical Mouse Sensors and the illumination subsystem provided by the HDNS-2200 or HDNS-2200 #001 LED Assembly Clip and the HLMP-ED80 LED. Together with the LED, the HDNS-2100 provides Specify Part Number as follows: Minimum order quantity of 1000. Flange Part Number Round HDNS-2100 Rectangular HDNS-2100 #001 Outline Drawings HDNS-2100 HDNS-2100 #001 6.00 (0.236) 7.87 (0.310) 8.00 (0.315) OPTICAL AXIS 2.00 (0.079) 14.53 (0.572) 10.45 (0.411) 1.15 (0.045)9.85 (0.388) 5.05 (0.199) 1.30 (0.051) 42.00 ± 0.1 mm (1.654 ± 0.0039)∅ 39.50 ± 0.1 mm (1.555 ± 0.0039) 1.00 (0.039) 6.00 (0.236) 7.87 (0.310) 8.00 (0.315) 0.50 (0.020) 16.00 (0.630) 8.00 (0.315) 13.00 (0.512) 30.50 (1.201) R

4 PLACES

14.53 (0.572) OPTICAL AXIS 10.45 (0.411) 1.15 (0.045) 5.05 (0.199) 1.30 (0.051) 2.30 (0.091) 1.00 (0.037) the directed illumination and optical imaging necessary for proper operation of the Optical Mouse Sensor. The HDNS-2100 is a precision molded optical component and should be handled with care to avoid scratching of the optical surfaces. NOTES: 1. DIMENSIONS IN MILLIMETERS (INCHES). 3. THERE IS ALSO A FLASH TOLERANCE OF –0, +0.2 mm ON THE FLANGE.

HDNS-2200 #001 Solid-State Optical Mouse LED Assembly Clip Technical Data The HDNS-2200 LED Assembly Clip is designed to provide optical and mechanical coupling of a standard T1 3/4 (5 mm diameter) LED to the HDNS-2100 Solid State Optical Mouse Lens. This coupling is essential to achieve the proper illumination required for the HDNS-2000 Sensor to operate on a wide variety of surfaces. The clip also provides a mechanical compression feature which locates over the HDNS-2000 and is used to ensure that a light mechanical contact is always maintained between the HDNS-2000 Sensor and the HDNS-2100 Lens when assembled. The inner surface of the top case of the mouse housing should be designed to lightly compress this feature when the case is closed at final assembly. HDNS-2200 LED Assembly Clip Outline Drawing Specify Part Number as follows: Minimum order quantity of 100. Color Part Number Black HDNS-2200 Clear HDNS-2200 #001 3.76 (0.148) 33.01 (1.300) 2.50 (0.098) SQUARE POST 7.22 (0.284) 6.46 (0.254) 9.42 (0.371) 19.10 (0.752) 12.08 (0.476) 1.24 (0.049) DIMENSIONS IN MILLIMETERS (INCHES)

www.semiconductor.agilent.com Data subject to change. Copyright © 2000 Agilent Technologies 5968-7178E (1/00)