TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 Approximates Human Eye Response to PACKAGE CS 6-LEAD CHIPSCALE (TOP VIEW) Control Display Backlight and Keyboard Illumination Precisely Measures Illuminance in Diverse Lighting Conditions Providing Exposure Control in Cameras Programmable Interrupt Function with User-Defined Upper and Lower Threshold Settings 16-Bit Digital Output with SMBus (TSL2560) or I2C (TSL2561) Fast-Mode at 400 KHz Programmable Analog G
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 Functional Block Diagram Channel 0 Visible and IR VDD = 2.7 V to 3.5 V ADDR SEL Integrating A/D Converter Channel 1 IR Only Address Select Command Register ADC Register Interrupt INT SCL Two-Wire Serial Interface SDA Detailed Description The TSL2560 and TSL2561 are second-generation ambient light sensor devices. Each contains two integrating analog-to-digital converters (ADC) that integrate currents from two photodiodes.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 Terminal Functions TERMINAL NAME CS PKG NO. TYPE T PKG NO. I DESCRIPTION ADDR SEL 2 2 GND 3 3 SMBus device select — three-state INT 5 5 O Level or SMB Alert interrupt. SCL 4 4 I SMBus serial clock input terminal — clock signal for SMBus serial data. SDA 6 6 I/O VDD 1 1 Power supply ground. All voltages are referenced to GND. SMBus serial data I/O terminal — serial data I/O for SMBus. Supply voltage.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 Operating Characteristics, High Gain (16 ), VDD = 3 V, TA = 25 C, (unless otherwise noted) (see Notes 2, 3, 4, 5) TSL2560T, TSL2561T PARAMETER fosc TEST CONDITIONS Oscillator frequency Dark ADC count value Ee = 0 0, Tint = 402 ms Tint > 178 ms Full scale ADC count value (Note 6) Tint = 101 ms Tint = 13.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 NOTES: 2. Optical measurements are made using small-angle incident radiation from light-emitting diode optical sources. Visible 640 nm LEDs and infrared 940 nm LEDs are used for final product testing for compatibility with high-volume production. 3. The 640 nm irradiance Ee is supplied by an AlInGaP light-emitting diode with the following characteristics: peak wavelength λp = 640 nm and spectral halfwidth ∆λ½ = 17 nm. 4.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 AC Electrical Characteristics, VDD = 3 V, TA = 25 C (unless otherwise noted) PARAMETER TEST CONDITIONS MIN TYP MAX UNIT 12 100 400 ms 400 kHz t(CONV) Conversion time f(SCL) Clock frequency t(BUF) Bus free time between start and stop condition 4.7 µs t(HDSTA) Hold time after (repeated) start condition. After this period, the first clock is generated. 4 µs t(SUSTA) Repeated start condition setup time 4.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 PARAMETER MEASUREMENT INFORMATION t(LOW) t(R) t(F) VIH SCL VIL t(HDSTA) t(BUF) t(HIGH) t(SUSTA) t(HDDAT) t(SUSTO) t(SUDAT) VIH SDA VIL P Stop Condition S S Start Condition Start P Stop t(LOWSEXT) SCLACK SCLACK t(LOWMEXT) t(LOWMEXT) t(LOWMEXT) SCL SDA Figure 1.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 TYPICAL CHARACTERISTICS SPECTRAL RESPONSIVITY 1 Normalized Responsivity 0.8 Channel 0 Photodiode 0.6 0.4 0.2 Channel 1 Photodiode 0 300 400 500 600 700 800 900 1000 1100 λ − Wavelength − nm Figure 4 0.8 0.8 Normalized Responsivity 1.0 0.6 0.4 0.2 0 −90 Optical Axis NORMALIZED RESPONSIVITY vs. ANGULAR DISPLACEMENT — TMB PACKAGE 1.0 Optical Axis Normalized Responsivity NORMALIZED RESPONSIVITY vs.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 PRINCIPLES OF OPERATION Analog-to-Digital Converter The TSL256x contains two integrating analog-to-digital converters (ADC) that integrate the currents from the channel 0 and channel 1 photodiodes. Integration of both channels occurs simultaneously, and upon completion of the conversion cycle the conversion result is transferred to the channel 0 and channel 1 data registers, respectively.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 When an SMBus Block Write or Block Read is initiated (see description of COMMAND Register), the byte following the COMMAND byte is ignored but is a requirement of the SMBus specification. This field contains the byte count (i.e. the number of bytes to be transferred). The TSL2560 (SMBus) device ignores this field and extracts this information by counting the actual number of bytes transferred before the Stop condition is detected.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 1 7 1 1 8 1 1 S Slave Address Wr A Data Byte A P Figure 8. SMBus Send Byte Protocol 1 7 1 1 8 1 1 S Slave Address Rd A Data Byte A P 1 Figure 9. SMBus Receive Byte Protocol 1 7 1 1 S Slave Address Wr A 8 Command Code 1 8 1 1 A Data Byte A P Figure 10.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 1 S 1 1 Wr A 7 Slave Address 8 Command Code 1 8 1 8 1 A Byte Count = N A Data Byte 1 A 8 1 Data Byte 2 ... 8 A ... Data Byte N 1 1 A P Figure 14. SMBus Block Write or I2C Write Protocols NOTE: The I2C write protocol does not use the Byte Count packet, and the Master will continue sending Data Bytes until the Master initiates a Stop condition.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 Command Register The command register specifies the address of the target register for subsequent read and write operations. The Send Byte protocol is used to configure the COMMAND register. The command register contains eight bits as described in Table 3. The command register defaults to 00h at power on. Table 3.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 Timing Register (1h) The TIMING register controls both the integration time and the gain of the ADC channels. A common set of control bits is provided that controls both ADC channels. The TIMING register defaults to 02h at power on. Table 5.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 Table 7.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 Table 9. Interrupt Control Select INTR FIELD VALUE READ VALUE 00 Interrupt output disabled 01 Level Interrupt 10 SMBAlert compliant 11 Test Mode: Sets interrupt and functions as mode 10 NOTE: Field value of 11 may be used to test interrupt connectivity in a system or to assist in debugging interrupt service routine software. Table 10.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 ADC Channel Data Registers (Ch − Fh) The ADC channel data are expressed as 16-bit values spread across two registers. The ADC channel 0 data registers, DATA0LOW and DATA0HIGH provide the lower and upper bytes, respectively, of the ADC value of channel 0. Registers DATA1LOW and DATA1HIGH provide the lower and upper bytes, respectively, of the ADC value of channel 1. All channel data registers are read-only and default to 00h on power up.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 APPLICATION INFORMATION: SOFTWARE Basic Operation After applying VDD, the device will initially be in the power-down state. To operate the device, issue a command to access the CONTROL register followed by the data value 03h to power up the device. At this point, both ADC channels will begin a conversion at the default integration time of 400 ms. After 400 ms, the conversion results will be available in the DATA0 and DATA1 registers.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 APPLICATION INFORMATION: SOFTWARE Configuring the Timing Register The command, timing, and control registers are initialized to default values on power up. Setting these registers to the desired values would be part of a normal initialization or setup procedure. In addition, to maximize the performance of the device under various conditions, the integration time and gain may be changed often during operation.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 APPLICATION INFORMATION: SOFTWARE Interrupts The interrupt feature of the TSL256x device simplifies and improves system efficiency by eliminating the need to poll the sensor for a light intensity value. Interrupt styles are determined by the INTR field in the Interrupt Register. The interrupt feature may be disabled by writing a field value of 00h to the Interrupt Control Register so that polling can be performed.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 APPLICATION INFORMATION: SOFTWARE The following example pseudo code illustrates the configuration of an SMB Alert style interrupt when the light intensity changes 20% from the current value, and persists for 3 conversion cycles: // Read current light level Address = 0x39 //Slave addr also 0x29 or 0x49 Command = 0xAC //Set Command bit and Word bit ReadWord (Address, Command, DataLow, DataHigh) Channel0 = (256 * DataHigh) + DataLow //Calcul
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 APPLICATION INFORMATION: SOFTWARE Calculating Lux The TSL256x is intended for use in ambient light detection applications such as display backlight control, where adjustments are made to display brightness or contrast based on the brightness of the ambient light, as perceived by the human eye. Conventional silicon detectors respond strongly to infrared light, which the human eye does not see.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 //**************************************************************************** // // Copyright 2004−2005 TAOS, Inc. // // THIS CODE AND INFORMATION IS PROVIDED ”AS IS” WITHOUT WARRANTY OF ANY // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR // PURPOSE. // // Module Name: // lux.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 #define B2T #define M2T 0x0214 0x02d1 // 0.0325 * 2^LUX_SCALE // 0.0440 * 2^LUX_SCALE #define K3T #define B3T #define M3T 0x00c0 0x023f 0x037b // 0.375 * 2^RATIO_SCALE // 0.0351 * 2^LUX_SCALE // 0.0544 * 2^LUX_SCALE #define #define #define #define #define #define K4T B4T M4T K5T B5T M5T 0x0100 0x0270 0x03fe 0x0138 0x016f 0x01fc // // // // // // #define K6T #define B6T #define M6T 0x019a 0x00d2 0x00fb // 0.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 #define K4C #define B4C #define M4C 0x010a // 0.520 * 2^RATIO_SCALE 0x0282 // 0.0392 * 2^LUX_SCALE 0x03df // 0.0605 * 2^LUX_SCALE #define K5C #define B5C #define M5C 0x014d // 0.65 * 2^RATIO_SCALE 0x0177 // 0.0229 * 2^LUX_SCALE 0x01dd // 0.0291 * 2^LUX_SCALE #define K6C #define B6C #define M6C 0x019a // 0.80 * 2^RATIO_SCALE 0x0101 // 0.0157 * 2^LUX_SCALE 0x0127 // 0.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 break; } // scale if gain is NOT 16X if (!iGain) chScale = chScale << 4; // scale 1X to 16X // scale the channel values channel0 = (ch0 * chScale) >> CH_SCALE; channel1 = (ch1 * chScale) >> CH_SCALE; //−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− // find the ratio of the channel values (Channel1/Channel0) // protect against divide by zero unsigned long ratio1 = 0; if (channel0 != 0) ratio1 = (channel1 << (RAT
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 else if (ratio > K8C) {b=B8C; m=M8C;} break; } unsigned long temp; temp = ((channel0 * b) − (channel1 * m)); // do not allow negative lux value if (temp < 0) temp = 0; // round lsb (2^(LUX_SCALE−1)) temp += (1 << (LUX_SCALE−1)); // strip off fractional portion unsigned long lux = temp >> LUX_SCALE; return(lux); } The LUMENOLOGY Company Copyright 2005, TAOS Inc. www.taosinc.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 APPLICATION INFORMATION: HARDWARE Power Supply Decoupling The power supply lines must be decoupled with a 0.1 µF capacitor placed as close to the device package as possible (Figure 16).
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 APPLICATION INFORMATION: HARDWARE PCB Pad Layout Suggested PCB pad layout guidelines for the TMB-6 surface mount package and CS chipscale package are shown in Figure 17 and Figure 18. 3.80 0.90 0.90 0.25 0.70 0.70 2.60 0.70 NOTES: A. All linear dimensions are in millimeters. B. This drawing is subject to change without notice. Figure 17. Suggested TMB-6 Package PCB Layout 0.50 0.50 6 0.21 0.50 NOTES: A.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 MECHANICAL DATA PACKAGE CS Six-Lead Chipscale Device TOP VIEW PIN OUT BOTTOM VIEW 1398 6 1 5 2 4 3 171 203 465 1250 END VIEW 400 50 700 55 6 100 TYP 30 BOTTOM VIEW SIDE VIEW 375 30 6 210 30 500 1750 500 Pb 375 30 NOTES: A. B. C. D. E. 500 Lead Free All linear dimensions are in micrometers. Dimension tolerance is ± 25 µm unless otherwise noted. Solder bumps are formed of Sn (96%), Ag (3.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 MECHANICAL DATA PACKAGE TMB-6 Six-Lead Surface Mount Device TOP VIEW TOP VIEW 1.90 0.31 PIN 1 R 0.20 6 Pls 2.60 PIN 4 3.80 Photo-Active Area END VIEW 0.88 1.35 0.50 BOTTOM VIEW 0.90 TYP 0.90 TYP 0.60 TYP 0.30 TYP NOTES: A. B. C. D. E. F. G. Pb 0.30 TYP Lead Free All linear dimensions are in millimeters. Dimension tolerance is ± 0.20 mm unless otherwise noted. The photo-active area is 1398 µm by 203 µm.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 MECHANICAL DATA TOP VIEW 2.00 0.05 4.00 1.75 1.50 4.00 B + 0.30 8.00 − 0.10 3.50 0.05 A A DETAIL B DETAIL A 5 Max 5 Max 0.254 0.02 1.42 0.05 Ao NOTES: A. B. C. D. E. F. B 2.08 0.05 Bo 0.91 0.05 Ko All linear dimensions are in millimeters. Dimension tolerance is ± 0.10 mm unless otherwise noted. The dimensions on this drawing are for illustrative purposes only.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 MECHANICAL DATA 0.30 0.050 2.10 SIDE VIEW 1.75 0.100 B 1.50 4 0.100 END VIEW 2 0.100 8 Typ TOP VIEW 12 0.100 5.50 0.100 1.50 R 0.20 TYP B A A DETAIL B DETAIL A 2.90 0.100 Ao 3.09 MAX R 0.20 TYP R 0.20 TYP 4.29 MAX 4.10 0.100 Bo 1.80 Ko NOTES: A. B. C. D. E. F. All linear dimensions are in millimeters. The dimensions on this drawing are for illustrative purposes only.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 MANUFACTURING INFORMATION The CS and T packages have been tested and have demonstrated an ability to be reflow soldered to a PCB substrate. The process, equipment, and materials used in these test are detailed below. The solder reflow profile describes the expected maximum heat exposure of components during the solder reflow process of product on a PCB. Temperature is measured on top of component.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 MANUFACTURING INFORMATION Tooling Required Chipscale − Solder stencil (square aperture size 0.210 mm, stencil thickness of 152 µm) TMB − Solder stencil (aperture size 0.70 mm x 0.90 mm, stencil thickness of 152 µm) Process 1. Apply solder paste using stencil 2. Place component 3. Reflow solder/cure 4.
TSL2560, TSL2561 LIGHT-TO-DIGITAL CONVERTER TAOS059D − DECEMBER 2005 PRODUCTION DATA — information in this document is current at publication date. Products conform to specifications in accordance with the terms of Texas Advanced Optoelectronic Solutions, Inc. standard warranty. Production processing does not necessarily include testing of all parameters.