APDS-9950 Digital Proximity, RGB and Ambient Light Sensor Data Sheet Description Features The APDS-9950 device provides red, green, blue, and clear RGB and Clear Color Sensing and Proximity Detector (RGBC) light sensing and proximity detection. The devices and IR LED in an Optical Module detect light intensity under a variety of lighting conditions Color Light Sensing with IR Blocking Filter and through a variety of attenuation materials, including - Programmable Analog Gain and Integration Time dark glass. The proximity detection feature allows a - Very High Sensitivity Ideally suited for Operation large dynamic range of operation for accurate distance Behind Dark Glass detection, such as in a cell phone, for detecting when the user positions the phone close to their ear. IR LED sink Proximity Detection current is factory-trimmed to provide consistent proximity - Trimmed for Calibrated 100 mm Detection response without requiring customer calibrations. An - Ambient Light Rejection internal state machine provides the ability to put the - Integrated IR LED and LED Driver device into a low power state in between proximity and RGBC measurements, providing very low average power Maskable Light and Proximity Interrupt consumption. - Programmable Upper and Lower Thresholds with Persistence Filter The color-sensing feature is useful in applications such as LED RGB backlight control, solid-state lighting, reflected Power Management LED color sampler, or fluorescent light color temperature - Low Power 2.5 A Sleep State detection. The integrated IR blocking filter makes this - 85 A Wait State with Programmable Wait State device an excellent ambient light sensor and color Timer from 2.4 ms to > 7 sec temperature monitor sensor. 2 I C-bus Fast Mode Compatible Interface Ordering Information - Data Rates up to 400 kHz - Input Voltage Levels Compatible with V or 1.8 V DD Part Number Packaging Quantity V BUS APDS-9950 Tape & Reel 5000 per reel - Dedicated Interrupt Pin Small Package L 3.94 W 2.36 H 1.35 mm Applications OLED Display Control RGB LED Backlight Control Ambient Light Color Temperature Sensing Cell Phone Touch-screen Disable Automatic Speakerphone Enable Automatic Menu Pop-up Mechanical Switch Replacement Industrial Process ControlFunctional Block Diagram V DD Regulated IR Interrupt INT LEDA LED Current Driver Prox Control Upper Limit Prox Prox Prox Integration ADC Data LED K SCL Lower Limit LDR Wait Control GND Upper Limit RGBC Control SDA Clear ADC Clear Data Clear Lower Limit Red ADC Red Data Red Green Data Green ADC Green Blue ADC Blue Data Blue Description Proximity detection is done using a dedicated proximity The APDS-9950 is a next-generation digital color light photodiode centrally located beneath an internal lens, an sensor device containing four integrating analog-to- internal LED, and a driver circuit. The driver circuit requires digital converters (ADCs) that integrate currents from no external components and is trimmed to provide a photodiodes. Multiple photodiode segments for red, calibrated proximity response. Customer calibrations are green, blue, and clear are geometrically arranged to usually not required. reduce the reading variance as a function of the incident light angle. Integration of all color sensing channels occurs The number of proximity LED pulses can be programmed simultaneously. Upon completion of the conversion cycle, from 1 to 255 pulses. Each pulse has a 14 s period. the conversion result is transferred to the corresponding This LED current coupled with the programmable number data registers. The transfers are double-buffered to of pulses provides a 2000:1 contiguous dynamic range. ensure that the integrity of the data is maintained. Communication with the device is accomplished through 2 a fast (up to 400 kHz), two-wire I C serial bus for easy connection to a microcontroller or embedded controller. The APDS-9950 provides a separate pin for level-style interrupts. When interrupts are enabled and a preset value is exceeded, the interrupt pin is asserted and remains asserted until cleared by the controlling firmware. The interrupt feature simplifies and improves system efficiency by eliminating the need to poll a sensor for a light intensity or proximity value. An interrupt is generated when the value of a clear channel or proximity conversion exceeds either an upper or lower threshold. In addition, a programmable interrupt persistence feature allows the user to determine how many consecutive exceeded thresholds are necessary to trigger an interrupt. Interrupt thresholds and persistence settings are configured independently for both clear and proximity. 2 2 I C-bus Interface