Combined Sensor of Color Sensor and Proximity Sensor Bullet-in RGB LED P12347-01CT Features u Ambient light sensor, proximity sensor, and RGB-LED are combined in one small PKG u I2C interface (400kHz Fast mode) u Small package (5.3mm x 1.7mm x 1.0mm) u Low current consumption [typ.1uA (sleep mode), 75uA(operating mode)] Applications u Brightness control of liquid display backlight of cell phone (smart phone) u Display OFF of touch panel display and backlight of cell phone (smart phone) u Call indicator of cell phone (smart phone) etc. Ratings and Characteristics Absolute Maximum Ratings (Ta=25°C) Parameter Symbol Value Units Supply voltage Vdd -0.3 to 4 V Output current Io ±10 mA Power dissipation P 100 mW Operating temperature range Topr -40 to +85 ℃ Storage temperature range Tstg -40 to +100 ℃ Recommended Operating Conditions Parameter Symbol Supply voltage Vdd I2C bus pull-up voltage Vbus High level input voltage Condition Min typ max Unit 2.25 -- 3.63 V Rp=2.2kOhm (Note1) 1.65 -- Vdd+0.5 V Vih SDA, SCL 1.55 Low level input voltage Vil SDA, SCL -0.5 -- 0.3Vdd V Bus capacitance Cbus SDA, SCL -- -- 400 pF Vdd+0.5 Note: Pull-up resistor value is determined by Cbus and Vbus. Use the range that “Vdd-Vbus” is less than 1.2 SOCAY Electronics Co., Ltd. Revision Aug 20, 2015 www.socay.com 1/6 @SOCAY Electronics Co., Ltd. 2015 Specifications are subject to change without notice. Please refer to www.socay.com for current information. Combined Sensor of Color Sensor and Proximity Sensor Bullet-in RGB LED P12347-01CT Electrical and Optical Characteristics Color Sensor Section [Vdd=Vbus=3.3V, Ta=25℃, A light source, Initial setting (Low gain, integration time:100ms/color),unless otherwise noted] Parameter Symbol min typ max Unit Blue -- 390 to 530 -- nm Green -- 490 to 600 -- nm Red -- 590 to 660 -- nm Blue -- 465 -- nm Green -- 540 -- nm Red -- 635 -- nm 30 75 150 uA 0.1 1.0 3.0 uA -- -- 5 counts 1m -- 10K Ix Sbh 33.6 56.0 78.3 counts/Ix Sgh 40.9 68.1 95.4 counts/Ix Srh 92.6 154.4 216.1 counts/Ix Sirh 16.8 27.9 39.1 counts/Ix 4.5 5.0 5.5 time λ Spectral response range λp Peak sensitivity wavelength Current consumption Iddc Current consumption (at sleep mode) Idds Dark count Sd Condition E=0 Ix (dark state), excluding output current E=0 ㏓ (dark state), Initial setting Dynamic range Sensitivity High gain Sensitivity gain ratio High/Low Red/Blue sensitivity ratio Srh/Sbh 2.07 2.76 3.45 -- Red/Green sensitivity ratio Srh/Sgh 1.70 2.27 2.83 -- Blue/Green sensitivity ratio Sbh/Sgh 0.62 0.82 1.03 -- Note: Vdd=Vbus=3.3V, Ta=25℃, A light source, Initial setting (Low gain, integration time:100ms/color),unless otherwise noted I2C Section (Vdd=Vbus=3.3V, Ta=25℃, unless otherwise noted) Parameter Symbol I2C address Condition Min typ 7bit I2C clock frequency fclk SDA, SCL High level output voltage Voh SDA, SCL Low level output voltage Vol Input/output Ci terminal capacitance SDA, SCL output fall time tf max Unit 0x2A 1 -- 400 kHz Rp=2.2kOhm 0.8Vbus -- -- V Rp=2.2kOhm 0 -- 0.4 V 20 pF 250 ns Rp=2.2kOhm, Cp=400pF -- -- Note: SCL/SDA output rise time is determined by a time constant of Cbus x Rp. The I2C interface (SDA, SCL) timings conform to the "The I2C-BUS SPECIFICATION VERSION2.1". SOCAY Electronics Co., Ltd. Revision Aug 20, 2015 www.socay.com 2/6 @SOCAY Electronics Co., Ltd. 2015 Specifications are subject to change without notice. Please refer to www.socay.com for current information. Combined Sensor of Color Sensor and Proximity Sensor Bullet-in RGB LED P12347-01CT Proximity Sensor Section (Vdd=Vbus=3.3V, Ta=25℃, unless otherwise noted) Parameter Symbol (Peak sensitivity wavelength) λp (Photo sensitivity) R Current consumption of measurement distance Iddp High level LED pulse width (LED drive current) Allowable background Measurement time Min typ λ= 630 nm 0.36 A/W At operating 350 uA 16 us 120 mA In case of setting of max. value 10,000 In case of setting of min. value (3pulse) ILED=32mA, TH=32, reflector=white Detection distance Unit nm Ex Tm max 630 Tw ILED light level Condition 100 lx us 30 mm LED Section (Vanode=5V, Ta=25℃, unless otherwise noted) Parameter Symbol Condition Forward voltage Vf If=5mA R G B Reverse current Ir Vr=5V R G B Light intensity Iv If=5mA R G B Dominant wavelength λd If=5mA R G B Pulse forward current Ifp Duty<1/10, width<0.1ms SOCAY Electronics Co., Ltd. Revision Aug 20, 2015 Min typ max Unit 1.4 2.4 2.4 1.85 2.70 2.75 2.4 3.1 3.1 V 100 2 2 uA (40) (220) (65) 605 520 463 615 530 470 mcd 625 540 477 nm 100 mA www.socay.com 3/6 @SOCAY Electronics Co., Ltd. 2015 Specifications are subject to change without notice. Please refer to www.socay.com for current information. Combined Sensor of Color Sensor and Proximity Sensor Bullet-in RGB LED P12347-01CT Connection Example Vbus (1.65V to Vdd+0.5) Vdd (2.25V to 3.63V) Rp(3kΩ) Vdd 0.1uF GND 10uF Rp(3kΩ) SCL SCL SDA SDA INT RLED 0.1uF ANODE GLED BLED Vanode (3.3V to 5.0V) Note:1. In the case of operation of LED or proximity function, please do not control the LED from outside; 2. In the case of operation by different voltage in regard to Vdd and Vbus, please use under Vdd-Vbus<1.2V. 3. Please use anode voltage of LED at 3.3V or more. Register Map HEX functions 00 RGB sensor control 01 manual timing(MSB) 02 manual timing(LSB) 03 output data(MSB) 04 output data(LSB) 05 output data(MSB) 06 output data(LSB) 7 6 color reset sleep 5 4 color sleep moni tor 3 color reg 2 Int. Mode gain 1 0 Integrate time set manual timing (LSB) Red channel data(16bit) 07 output data(MSB) 08 output data(LSB) 09 output data(MSB) 0A output data(LSB) 0B proximity control1 0C proximity control2 0D proximity threshold 0E 3led driver control1 0F 3led driver control2 10 monitor Green channel data(16bit) Blue channel data(16bit) IR channel data(16bit) prox reset prox sleep Rled drive current select prox period select pulse number select proximity threshold control(8bit) 3led reset 3led sleep DC mode 1/10 R current select G current select INT monitor color sleep moni tor B current select pulse number monitor Note:1. In case of operation of LED at DC mode, please change setting of current value as follows; 2. Red : 30mA or less, Green and Blue : 20mA or less. SOCAY Electronics Co., Ltd. Revision Aug 20, 2015 www.socay.com 4/6 @SOCAY Electronics Co., Ltd. 2015 Specifications are subject to change without notice. Please refer to www.socay.com for current information. Combined Sensor of Color Sensor and Proximity Sensor Bullet-in RGB LED P12347-01CT Register Map 7 6 Address 00 Color reset Default 1 1 0:Operation 1:Reset 0:Operation 1:Sleep Address 0B Default 7 proximity reset Sleep 6 5 Color sleep monitor Only readout 4 Color reg reset 3 gain Int. mode 1 0 0:Reset cancel 1:Address 03-0A data reset 0:high gain 1:low gain 4 3 5 proximity Sleep 1 1 0:Operation 1:Reset 0:Operation 1:Sleep 1 Integral time set 1 0:Fixed period mode 1:Manual setting mode 0 0 0 Integration time setting (00) 32us (01)1ms (10)16.4ms (11)131ms 2 1 0 Red LED for proximity drive current select 0 0 0 0:0mA 1:64mA 4 0:0mA 1:32mA 0 0:0mA 1:16mA 3 0:0mA 1:8mA 1 0 Default 1 1 1 1 0 0 0 0 0:0s 1:524ms 0:0s 1:262ms 0:0s 1:131ms 0:0s 1:64ms 0:0 1:24pulse 0:0 1:12pulse 0:0 1:6pulse 0:0 1:3pulse Address 0D 7 6 5 4 3 2 1 0 Default 0 0 0 0 0 0 0 0 Threshold voltage 0:0s 1:825mV 0:0s 1:413mV 0:0s 1:206mV 0:0s 1:103mV 0:0 1:51.6mV 0:0 1:25.8mV 0:0 1:12.9mV 0:0 1:6.4mV 7 6 5 4 3 2 1 0 3LED reset 3LED Sleep DC mode 1/10 mode Proximity period select 2 0 7 Default 5 0 Address 0C Address 0E 6 2 Pulse number select Proximity threshold control Red LED drive current select 1 1 0 0 0 0 0 0 0:Operation 1:Reset 0:Operation 1:Sleep 0:Pulse mode 1:DC mode 0:Standard mode 1:1/10 mode 0:0mA 1:64mA 0:0mA 1:32mA 0:0mA 1:16mA 0:0mA 1:8mA 6 5 4 3 2 1 0 Address 0F 7 Default 0 0 0 0 0 0 0 0 0:0mA 1:64mA 0:0mA 1:32mA 0:0mA 1:16mA 0:0mA 1:8mA 0:0mA 1:64mA 0:0mA 1:32mA 0:0mA 1:16mA 0:0mA 1:8mA Green LED drive current select Blue LED drive current select SOCAY Electronics Co., Ltd. Revision Aug 20, 2015 www.socay.com 5/6 @SOCAY Electronics Co., Ltd. 2015 Specifications are subject to change without notice. Please refer to www.socay.com for current information. Combined Sensor of Color Sensor and Proximity Sensor Bullet-in RGB LED P12347-01CT Block Diagram VDD converter G B SDA I C interface frequency R 16 register Current- SCL INT RLED 2 counter ADC timer R IR G LED Proximity sensor B driver PD GLED ANODE BLED LED GND Dimensional Outline (unit: mm) 5.5 Unit : mm General Tolerance : ±0.2 Sensitive Area GREEN 1.7 RED IR BLUE Isolation Part 1.0 RGB-LED Pin Connection 0.3 0.7 Sensitive Surface ② ③ ④ ⑤ 0.8 ① ⑩ ⑨ ⑧ ⑦ P0.8x4=3.2 VDD ⑥ LED ANODE ② N.C. ⑦ Green LED ③ INT ⑧ GND ④ Blue LED ⑨ SDA ⑤ Red LED ⑩ SCL ⑥ (? 0)φ0.3 SOCAY Electronics Co., Ltd. Revision Aug 20, 2015 ① www.socay.com 6/6 @SOCAY Electronics Co., Ltd. 2015 Specifications are subject to change without notice. Please refer to www.socay.com for current information.