Datasheet

Color/proximity sensor
P12347-01CT
Color sensor, proximity sensor, and 3-color LED
incorporated into a single package
This is a multifunctional sensor that incorporates a color sensor, proximity sensor, and 3-color LED in a small package (5.5 ×
1.7 × 1.0 mm). It can be used to adjust the display image quality, perform touchscreen on/off control, indicate incoming calls,
and so forth on smartphones and the like. The color sensor not only detects the RGB ratios of ambient light but also functions
as an illuminance sensor. This feature enables image quality to be adjusted in fine detail. In smartphone applications, the
proximity sensor detects when a face draws near and turns off the touchscreen function and the LCD backlight. We provide an
evaluation kit for this product as well as an evaluation board. Contact us for detailed information.
Features
Applications
I2C interface: 400 kHz, Fast mode
Smartphones, TV and PC displays, tablets, etc.
(image quality adjustment, touchscreen on/off control,
incoming call indication)
Low supply voltage: Vdd=2.25 V to 3.63 V
I2C bus voltage: 1.65 V
Low current consumption
Small package (5.5 × 1.7 × 1.0 mm)
Supports lead-free reflow soldering
Absolute maximum ratings (Ta=25 °C)
Parameter
Symbol
Condition
Value
Unit
Supply voltage
Vdd
-0.3 to +4
V
Load current
Io
±10
mA
Power dissipation
P
100
mW
°C
Operating temperature
Topr
No dew condensation*1
-30 to +80
°C
Storage temperature
Tstg
No dew condensation*1
-40 to +85
LED forward current
IF
Red: 30, Green, Blue: 20*2
mA
LED pulse forward current
IF
100*2 *3
mA
LED reverse voltage
VR
5*2
V
Tsol
Peak temperature 260 °C max., 3 times
Reflow soldering conditions*4
*1: When there is a temperature difference between a product and the surrounding area in high humidity environment, dew condensation
may occur on the product surface. Dew condensation on the product may cause deterioration in characteristics and reliability.
*2: When driven externally
*3: Duty ratio ≤ 10%, pulse width ≤ 0.1 ms
*4: Moisture absorption and reflow conditions: JEDEC J-STD-020D LEVEL3
Note: Exceeding the absolute maximum ratings even momentarily may cause a drop in product quality. Always be sure to use the
product within the absolute maximum ratings.
Recommended operating conditions
Parameter
Symbol
Condition
Min.
Typ.
Max.
Unit
Supply voltage
Vdd
2.25
3.63
V
I2C bus pull-up voltage*5
Vbus
Rp=2.2 kΩ
1.65
Vdd + 0.5
V
V
High level input voltage (SDA, SCL)
Vih
1.55
Vdd + 0.5
Low level input voltage (SDA, SCL)
Vil
-0.5
0.3 × Vbus
V
Bus capacitance (SDA, SCL)
Cbus
400
pF
*5: The pull-up resistance is determined by the Cbus capacitance and Vbus voltage. Satisfy the following condition: Vdd - Vbus < 1.2 V.
1
Color/proximity sensor
P12347-01CT
Electrical and optical characteristics
Color sensor area [Ta=25 °C, Vdd=3.3 V, light source A (initial setting: low gain, integration time: 100 ms/ch), unless otherwise noted]
Parameter
Symbol
Spectral response range
λ
Peak sensitivity wavelength
λp
Current consumption
Operation mode
Standby mode
Dark count
Photosensitivity
High gain
High/Low sensitivity gain ratio
Red/Blue sensitivity ratio
Red/Green sensitivity ratio High gain
Blue/Green sensitivity ratio
Condition
Blue
Green
Red
Blue
Green
Red
E=0 lx (dark state), excluding
output current
E=0 lx (dark state), initial setting
Blue
Green
Integration time=100 ms/ch
Red
Infrared
Idd
Idds
Sd
Sbh
Sgh
Srh
Sirh
Srh/Sbh
Integration time=100 ms/ch
Srh/Sgh
Same chip
Sbh/Sgh
Min.
30
0.1
63.8
67.5
121.5
39.9
4.8
1.43
1.36
0.71
Typ.
395 to 530
490 to 600
590 to 660
465
540
635
75
1.0
116
122.6
220.8
72.4
5.3
1.91
1.81
0.95
Max.
Unit
nm
150
3.0
5
168.1
177.7
320.1
104.9
5.8
2.38
2.25
1.18
nm
μA
counts
counts/lx
times
-
I2C area (Ta=25 °C, Vdd=Vbus=3.3 V, unless otherwise noted)
Parameter
Symbol
Condition
Min.
I2C address
ADDR
7-bit
I2C clock frequency
fclk
1
High level
Voh
Rp=2.2 kΩ
0.8Vbus
SDA, SCL output
voltage
Low level
Vol
Rp=2.2 kΩ
0
I/O terminal capacitance
Ci
SDA/SCL output fall time*5
tf
Rp=2.2 kΩ, Cp=400 pF
*5: The SCL/SDA output rise time is determined by the time constant defined by Cbus × Rp.
Note: I2C interface (SDA, SCL) timing complies with “The I2C-bus specification version 2.1.”
Typ.
0x2A
-
Max.
Unit
400
0.4
20
250
kHz
V
V
pF
ns
Typ.
635
0.4
1000
16
96
400
-
Max.
5000
30
Unit
nm
A/W
μA
μs
mA
lx
μs
mm
Typ.
1.85
2.7
2.75
40
220
65
615
530
470
-
Max.
2.4
3.1
3.1
100
2
2
625
540
477
100
Proximity sensor area (Ta=25 °C, Vdd=3.3 V, unless otherwise noted)
Parameter
Symbol
Condition
Min.
Peak sensitivity wavelength
λ
Photosensitivity
R
λ=630 nm
Distance measurement current consumption
Iddp
During operation
High level LED pulse width
Tw
LED drive current
ILED
When set to maximum*6
Allowable background light level
Ex
Measurement time
Tm
When set to minimum (3 pulses)
Detection distance
ILED=32 mA, TH=32, reflector=white
*6: Set the LED drive current to 100 mA or less. Set the red LED register to 0x0C or less.
LED area (Ta=25 °C, Vdd=3.3 V, unless otherwise noted)
Parameter
Symbol
Forward voltage
VF
Reverse current
IR
Luminous intensity
Iv
Dominant wavelength
λd
Pulse forward current
IFP
Condition
Red
IF=5 mA
Green
Blue
Red
VR=5 V
Green
Blue
Red
IF=5 mA
Green
Blue
Red
IF=5 mA
Green
Blue
Duty ratio < 10%, pulse width < 0.1 ms
Min.
1.4
2.4
2.4
605
520
463
-
Unit
V
μA
mcd
nm
mA
2
Color/proximity sensor
P12347-01CT
Register map
Adrs
Function
00
RGB sensor control
01
02
03
04
05
06
07
08
09
0A
Manual timing (high byte)
Manual timing (low byte)
Output data (high byte)
Output data (low byte)
Output data (high byte)
Output data (low byte)
Output data (high byte)
Output data (low byte)
Output data (high byte)
Output data (low byte)
0B
Proximity sensor control 1
0C
0D
Proximity sensor control 2
Proximity sensor threshold
0E
3-color LED drive control 1*9
0F
3-color LED drive control 2
10
Monitor
7
6
Color sensor
reset
Sleep
function
bit
5
4
3
Color sensor
Color sensor
Gain
sleep function
register reset selection
monitor
2
1
0
Integration
Integration time setting
mode
Manual timing (low byte)
Red channel data (16-bit)
Green channel data (16-bit)
Blue channel data (16-bit)
Infrared channel data (16-bit)
Proximity
sensor
Red LED drive current selection for proximity sensor
sleep
function
Proximity sensor duration selection
Pulse count selection
Proximity sensor threshold control (8-bit)*8
3-color LED
3-color LED
sleep
DC mode 1/10 mode
Red LED drive current selection
reset
function
Green LED drive current selection
Blue LED drive current selection
Color sensor
INT
Pulse count monitor
sleep function
monitor
monitor
Proximity
sensor
reset
*8: Set the threshold level to 0x10 (10000 in binary notation) or higher.
*9: With the initial setting, the 3-color LED emits pulses. When set to DC mode, it emits DC light.
Note: When using the LED in DC mode, set the current for red to 30 mA or less and that for green and blue to 20 mA or less.
If the LED forward current is set to a high level, the LED will illuminate brightly. Be careful as the bright light may be hazardous
to the eyes if viewed directly.
Register map (initial settings)
bit
5
4
3
Color sensor Color sensor
Color sensor
0
Sleep function sleep function
register
Gain selection
reset
monitor
reset
Initial setting
1
1
1
0
Adrs
7
0: operation
1: reset
6
0: operation
1: sleep
Read only
0: reset release
1: address 03-0A
0: high gain
1: low gain
2
Integration
mode
1
0: fixed time
mode
1: manual
setting mode
1
0
Integration time setting
0
0
Integration time setting
(00) 32 μs (01) 0.5 ms
(10) 8.2 ms (11) 65.5 ms
Proximity
Proximity
sensor
sensor
Red LED drive current selection for proximity sensor
reset
sleep function
Initial setting
1
1
0
0
0
0
0
0
0: operation 0: operation
0: 0 mA
0: 0 mA
0: 0 mA
0: 0 mA
1: reset
1: sleep
1: 64 mA
1: 32 mA
1: 16 mA
1: 8 mA
0C
Proximity sensor duration selection
Pulse count selection
Initial setting
1
1
1
1
0
0
0
1
0: 0 s
0: 0 s
0: 0 s
0: 0 s
0: 0
0: 0
0: 0
0: 0
1: 524 ms
1: 262 ms
1: 131 ms
1: 64 ms
1: 24 pulses
1: 12 pulses
1: 6 pulses
1: 3 pulses
0D
Proximity sensor threshold control (8-bit)
Initial setting
0
0
0
0
0
0
0
0
Threshold
0: 0 s
0: 0 s
0: 0 s
0: 0 s
0: 0
0: 0
0: 0
0: 0
voltage
1: 825 mV
1: 413 mV
1: 206 mV
1: 103 mV
1: 51.6 mV
1: 25.8 mV
1: 12.9 mV
1: 6.4 mV
0B
Note: The initial settings may vary depending on the product.
3
Color/proximity sensor
P12347-01CT
Register map (initial settings)
bit
Adrs
0E
Initial
setting
Threshold
voltage
0F
Initial
setting
Threshold
voltage
7
3-color LED
reset
6
3-color LED
sleep function
0
0
0: operation
1: reset
5
4
3
DC mode
1/10 mode
0
0
2
1
0
Red LED drive current selection
0
0: operation 0: pulse mode 0: normal mode
1: 1/10 mode
1: sleep
1: DC mode
Green LED drive current selection
0
0: 0
1: 64 mV
0
0
0: 0
0: 0
0: 0
1: 32 mV
1: 16 mV
1: 1.8 mV
Blue LED drive current selection
0
0
0
0
0
0
0
0
0: 0 mA
1: 64 mA
0: 0 mA
1: 32 mA
0: 0 mA
1: 16 mA
0: 0 mA
1: 8 mA
0: 0 mA
1: 64 mA
0: 0 mA
1: 32 mA
0: 0
1: 16 mA
0: 0
1: 8 mA
Program example
Condition 1: Initial settings [manual setting mode, Tint=00 (32 μs), integration time=100 ms/ch (manual timing register set to 0x0C30)]
Command
Action
Address call (0x2A)
Register call (0x00)
Register write (0x84)
Address call (0x2A)
Register call (0x00)
Register write (0x04)
S
0
0
1
Sr
0
0
0
Stands by for
Address call (0x2A)
S
0
Register call (0x03)
0
Address call (0x2A)
Sr
0
Data read out (Red: high byte)
X
Data read out (Red: low byte)
X
Data read out (Green: high byte)
X
Data read out (Green: low byte)
X
Data read out (Blue: high byte)
X
Data read out (Blue: low byte)
X
Data read out (infrared: high byte)
X
Data read out (infrared: low byte)
X
1
0
0
1
0
0
longer
1
0
1
X
X
X
X
X
X
X
X
0
0
0
0
0
0
than
0
0
0
X
X
X
X
X
X
X
X
Data body
Ack
Remark
1
0
1
0
W
A 7-bit address
0
0
0
0
0
A Specifies the control byte
0
0
1
0
0
A ADC reset, standby release
1
0
1
0
W
A Restart, address
0
0
0
0
0
A Specifies the control byte
0
0
1
0
0
A
P ADC reset release, bus release
the integration time (standby time > 400 ms)
1
0
1
0
W
A 7-bit address
0
0
0
1
1
A Specifies the output data byte
1
0
1
0
R
A Changes to read mode
A
X
X
X
X
X
Red data output
A
X
X
X
X
X
A
X
X
X
X
X
Green data output
A
X
X
X
X
X
A
X
X
X
X
X
Blue data output
A
X
X
X
X
X
A Infrared data output
X
X
X
X
X
Ā
X
X
X
X
X
P
S=Start condition, Sr=Restart condition, A=Acknowledge, A=Acknowledge by host, P=Stop condition, R=Read mode (1), W=Write mode (0),
Ā=not acknowledge
Format
S
0x2A (7-bit)
Sr
W
0x2A (7-bit)
0x00
A
W
A
A
0x84
A
0x00
A
0x04
A
P
Standby
S
0x2A (7-bit)
A
0x03
A
Sensor data
A
Sensor data
A
Sensor data
A
Sensor data
A
Sensor data
A
Sensor data
A
Sensor data
A
Sensor data
A
from master to slave
W
Sr
0x2A (7-bit)
R
A
P
from slave to master
4
Color/proximity sensor
P12347-01CT
Condition 2: [Fixed time mode, Tint=01 (1.0 ms), integration time=1.0 ms/ch]
Command
Action
Data body
Ack
Remark
Address call (0x2A)
S
0
1
0
1
0
1
0
W
A 7-bit address
Register call (0x00)
0
0
0
0
0
0
0
0
A Specifies the control byte
Register write (0x81)
1
0
0
0
0
0
0
1
A ADC reset, standby release
Address call (0x2A)
Sr
0
1
0
1
0
1
0
W
A Restart, bit address
Register call (0x00)
0
0
0
0
0
0
0
0
A Specifies the control byte
Register write (0x01)
0
0
0
0
0
0
0
1
A
P ADC reset release, bus release
Stands by for longer than the integration time Measurement takes place during standby (standby time > 4 ms). Measurements are repeated continuously.
Address call (0x2A)
S
0
1
0
1
0
1
0
W
A 7-bit address
Register call (0x03)
0
0
0
0
0
0
1
1
A Specifies the sensor data byte
Address call (0x2A)
Sr
0
1
0
1
0
1
0
R
A Changes to read mode
A
Data read out (Red: high byte)
X
X
X
X
X
X
X
X
Red data output
A
Data read out (Red: low byte)
X
X
X
X
X
X
X
X
A
Data read out (Green: high byte)
X
X
X
X
X
X
X
X
Green data output
A
Data read out (Green: low byte)
X
X
X
X
X
X
X
X
A
Data read out (Blue: high byte)
X
X
X
X
X
X
X
X
Blue data output
A
Data read out (Blue: low byte)
X
X
X
X
X
X
X
X
A Infrared data output
Data read out (infrared: high byte)
X
X
X
X
X
X
X
X
Ā
Data read out (infrared: low byte)
X
X
X
X
X
X
X
X
P
S=Start condition, Sr=Restart condition, A=Acknowledge, A=Acknowledge by host, P=Stop condition, R=Read mode (1), W=Write mode (0),
Ā=not acknowledge
Format
S
0x2A (7-bit)
Sr
W
0x2A (7-bit)
0x00
A
W
A
A
0x81
A
0x00
A
0x01
A
P
Standby
S
0x2A (7-bit)
A
0x03
A
Sensor data
A
Sensor data
A
Sensor data
A
Sensor data
A
Sensor data
A
Sensor data
A
Sensor data
A
Sensor data
A
from master to slave
W
Sr
0x2A (7-bit)
R
A
P
from slave to master
5
Color/proximity sensor
P12347-01CT
Condition 3: [Manual setting mode, Tint=01 (1.0 ms), integration time=357 ms/ch]
Command
Action
Data body
Ack
Remark
Address call (0x2A)
S
0
1
0
1
0
1
0
W
A 7-bit address
Register call (0x00)
0
0
0
0
0
0
0
0
A Specifies the control byte
Register write (0x85)
1
0
0
0
0
1
0
1
A ADC reset, standby release
Register write (0x01)
0
0
0
0
0
0
0
1
A Manual timing high byte
Register write (0x65)
0
1
1
0
0
1
0
1
A Manual timing low byte
Address call (0x2A)
Sr
0
1
0
1
0
1
0
W
A Restart, 7-bit address
Register call (0x00)
0
0
0
0
0
0
0
0
A Specifies the control byte
Register write (0x05)
0
0
0
0
0
1
0
1
A
P ADC reset release, bus release
Stands by for longer than the integration time. Measurement takes place during standby (standby time > 1428 ms). Measurements are repeated continuously.
Address call (0x2A)
S
0
1
0
1
0
1
0
W
A 7-bit address
Register call (0x03)
0
0
0
0
0
0
1
1
A Specifies the sensor data byte
Address call (0x2A)
Sr
0
1
0
1
0
1
0
R
A Changes to read mode
A
Data read out (Red: high byte)
X
X
X
X
X
X
X
X
Red data output
A
Data read out (Red: low byte)
X
X
X
X
X
X
X
X
A
Data read out (Green: high byte)
X
X
X
X
X
X
X
X
Green data output
A
Data read out (Green: low byte)
X
X
X
X
X
X
X
X
A
Data read out (Blue: high byte)
X
X
X
X
X
X
X
X
Blue data output
A
Data read out (Blue: low byte)
X
X
X
X
X
X
X
X
A Infrared data output
Data read out (infrared: high byte)
X
X
X
X
X
X
X
X
Ā
Data read out (infrared: low byte)
X
X
X
X
X
X
X
X
P
S=Start condition, Sr=Restart condition, A=Acknowledge, A=Acknowledge by host, P=Stop condition, R=Read mode (1), W=Write mode (0),
Ā=not acknowledge
Format
S
0x2A (7-bit)
0x01
Sr
W
0x00
A
A
0x65
0x2A (7-bit)
W
A
0x85
A
A
A
A
0x00
0x05
A
P
Standby
S
0x2A (7-bit)
A
0x03
A
Sensor data
A
Sensor data
A
Sensor data
A
Sensor data
A
Sensor data
A
Sensor data
A
Sensor data
A
Sensor data
A
from master to slave
W
Sr
0x2A (7-bit)
R
A
P
from slave to master
6
Color/proximity sensor
P12347-01CT
Condition 4: [Red LED drive current=0xC (96 mA), proximity cycle=0x01 (64 ms), pulse count=0x01 (3 times), threshold level=0x20 (32)]
Command
· Starting operation
Action
Address call (0x2A)
Register call (0x0B)
Register write (0x8C)
Register write (0x11)
Register write (0x20)
Address call (0x2A)
Register call (0x0B)
Register write (0x0C)
S
0
0
1
0
0
0
0
0
Sr
1
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
Data body
1
0
0
1
0
1
1
0
0
0
1
0
0
1
0
1
1
0
1
0
0
1
0
1
0
1
0
0
0
0
1
0
W
1
0
1
0
W
1
0
Ack
A
A
A
A
A
A
A
A
Remark
7-bit address
Specifies the control byte
Sleep release, drive current
Proximity cycle, pulse count
Threshold level
Restart, 7-bit address
Specifies the control byte
P Proximity reset release, bus release
· Monitor bit 7 at address 0x10 to read the value of INT from I2C.
Action
Address call (0x2A)
Register call (0x10)
Address call (0x2A)
Data read out
S
Sr
0
0
0
X
1
0
1
X
0
0
0
X
Data body
1
0
1
0
1
0
X
X
1
0
1
X
0
0
0
X
W
0
R
X
Ack
Remark
A 7-bit address
A Specifies the output data byte
A Changes to read mode
Ā
P
0
0
1
1
0
1
0
0
0
Data body
1
0
0
1
0
1
1
0
1
0
1
0
W
1
0
Ack
Remark
A 7-bit address
A Specifies the output data byte
A
P Sleep
· Ending operation
Action
Address call (0x2A)
Register call (0x0B)
Register write (0xCC)
S
S=Start condition, Sr=Restart condition, A=Acknowledge, A=Acknowledge by host, P=Stop condition, R=Read mode (1), W=Write mode (0),
Ā=not acknowledge
Format
· Starting operation
S
0x2A (7-bit)
W
A
A
0x11
Sr
0x20
0x2A (7-bit)
A
0x0B
W
0x8C
A
A
A
0x0B
A
0x0C
A
P
A
P
· Reading INT from I2C
S
0x2A (7-bit)
Sensor data
W
A
A
0x10
A
Sr
0x2A (7-bit)
R
A
P
· Ending operation
S
0x2A (7-bits)
from master to slave
W
A
0x0B
A
0xCC
from slave to master
7
Color/proximity sensor
P12347-01CT
Condition 5: [Red LED light emission pulse width=0x01 (16 μs), green LED light emission pulse width=0x01 (16 μs), blue LED light emission pulse width=0x01 (16 μs)]
Command
· Starting operation
Action
Address call (0x2A)
Register call (0x0E)
Register write (0x81)
S
1
0
0
0
0
0
0
0
0
1
Sr
0
0
0
1
0
0
0
0
0
1
0
0
S
0
0
1
1
0
1
0
0
0
Register write (0x11)
Address call (0x2A)
Register call (0x0E)
Register write (0x01)
Data body
1
0
0
1
0
0
0
0
1
1
1
0
0
1
0
W
0
1
0
0
0
1
0
1
0
1
1
0
0
1
0
W
0
1
Ack
Remark
A 7-bit address
A Specifies the control byte
A Sleep release, red light emission pulse width
Green light emission pulse width, blue light
A
emission pulse width
A Restart, 7-bit address
A Specifies the control byte
A
P LED driver reset release, bus release
1
1
0
0
1
0
W
0
1
Ack
Remark
A 7-bit address
A Specifies the control byte
A
P Sleep
· Ending operation
Action
Address call (0x2A)
Register call (0x0E)
Register write (0xC1)
Data body
1
0
0
1
0
0
S=Start condition, Sr=Restart condition, A=Acknowledge, A=Acknowledge by host, P=Stop condition, R=Read mode (1), W=Write mode (0),
Ā=not acknowledge
Format
· Starting operation
S
0x2A (7-bit)
0x11
Sr
W
0x0E
A
A
0x81
A
A
0x2A (7-bit)
W
A
0x0E
A
0x01
A
P
0x2A (7-bit)
W
A
0x0E
A
0xC1
A
P
· Ending operation
S
from master to slave
from slave to master
8
Color/proximity sensor
P12347-01CT
Flowcharts
Color sensor
1. Power-on
2. Power-on reset, initialize
3. ADC reset = “1”, color sleep release
4. Set measurement conditions
Gain, integration mode, integration time
setting, integration timing register setting
5. ADC reset = “0”
Integration mode?
Manual setting mode
Fixed time mode
6. Measure
6. Measure
7. Save data to register
7. Save data to register
Color sleep= “1” ?
After power-on, the built-in power-on reset circuit operates to set
all registers to their initial conditions (2.).
With the initial settings, the product is in sleep mode, waiting for
commands.
To set measurement conditions, enter commands via the I2C bus.
This product starts measuring when ADC reset changes from 1 to 0.
Therefore, to write to registers, ADC reset must be set to 1 (3.).
After setting measurement conditions (4.), release ADC reset to
start measuring (5.). There are two operation modes: fixed time
mode and manual setting mode. In manual setting mode, the product automatically enters sleep mode after completing a single measurement. In fixed time mode, the product repeats measurement
and data storage. During this repetition, if ADC reset or Color sleep
is set to 1 with an I2C command, the product stops its operation.
No
Yes
8. Stop (sleep mode)
Proximity sensor
With the initial settings, the proximity sensor is in sleep mode.
Therefore, first disable the sleep mode (3.). Next, set the drive current, pulse count, pulse cycle, and the like. Then, release the reset
to start measuring (4. 5.). Proximity sensor continues to measure
until it is set to sleep mode. To end measurement, enable sleep
mode.
1. Power-on
2. Power-on reset, initialize
3. Prox. reset = ”1”, prox. sleep release
4. Set measurement conditions
Red LED drive current, prox. period, pulse count
5. Prox. reset = “0”
Proximity detected?
Yes
6. INT=1
No
6. INT=0
No
Prox. sleep = “1”?
Yes
Stop (sleep mode)
9
Color/proximity sensor
P12347-01CT
3-color LED
With the initial settings, the 3-color LED driver is in sleep mode.
Therefore, first disable the standby mode (3). Next, set the light
emission pulse width of each color, 1/10 mode, and the like. Then,
release the reset to start measuring (4, 5). 3-color LED drivers continue to operate until they are set to sleep mode. To end operation,
enable standby mode.
1. Power-on
2. Power-on reset, initialize
3. 3-color LED reset = “1”, 3-color LED sleep release
4. Set measurement conditions
1/10, DC mode, light emission
pulse width (red, green, blue)
5. 3-color LED reset = “0”
3-color LED driver circuit operation
No
3-color LED sleep = “1”?
Yes
Stop (sleep mode)
Spectral response
Linearity
(Typ. Ta=25 °C)
200
180
Green
105
Red
Red
160
104
Blue
140
Converted count
Relative sensitivity (%)
(Typ. Ta=25 °C)
106
Green
120
100
Blue
80
60
103
102
101
10
10-1
40
Infrared
10-2
20
0
200 300 400 500 600 700 800 900 1000 1100
10-3
10-4
10-3
10-2
10-1
100
101
102
103
104
Illuminance (lx)
Wavelength (nm)
KPICB0179EC
KPICB0183EA
10
Color/proximity sensor
P12347-01CT
Proximity distance vs. LED current
Proximity distance vs. LED current (by color)
(Typ. Ta=25 °C, Vdd=3.3 V, white reflection plate)
100
90
80
80
When moved from far to near
70
60
50
When moved away from 0 mm
40
30
Proximity distance (mm)
Proximity distance (mm)
(Typ. Ta=25 °C, Vdd=3.3 V, threshold level=20)
90
20
70
50
20
0
60
80
100
Dark skin
30
0
40
Neutral
40
10
20
Light skin
60
10
0
White
Black
0
120
10
20
30
40
50
60
70
80
LED current (mA)
LED current (mA)
KPICB0180EA
KPICB0186EA
LED power dissipation vs. ambient temperature
(typical example)
35
140
30
120
Power dissipation (mW)
Maximum forward current (mA)
Maximum LED forward current vs. ambient temperature
(typical example)
Red
25
20
15
Blue
Green
10
100
80
60
40
20
5
0
-20
90 100
0
20
40
60
80
100
0
-20
0
20
40
60
80
100
Ambient temperature (°C)
Ambient temperature (°C)
KPICB0184EA
KPICB0185EA
11
Color/proximity sensor
P12347-01CT
Block diagram
VDD
A/D converter
R
SCL
INT
Red LED
2
G
16
I C interface
Current-to-frequency
conversion
Register
Counter
SDA
B
Timer
Green LED
R
IR
Anode
G
Color sensor
Proximity sensor
LED
Driver
circuit
B
Blue LED
LED
GND
KPICC0206EA
Timing chart
Color sensor (manual mode)
Current consumption
Idd
Start mode
Idds
Time
Integration
time
(sum of the integration times of each color)
The color sensor only has a single ADC port. As such, photometry is performed consecutively for each color. The data
of each color is stored temporarily in buffer registers (not
the I2C register). After the completion of the infrared measurement, the entire set of data is stored in the I2C register.
If this product is set to manual mode, after the integration
time elapses, it will automatically switch to sleep mode. The
integration time per cycle is the sum of the detection time
of each color.
I2C
command
Standby time
Initialization,
measurement instruction
Readout
KPICC0214EA
Current consumption
Color sensor (fixed time mode)
The measurement time is the shortest under the following
conditions.
Idd
Start mode
<Conditions>
Time
Integration
time
(1 cycle)
· Initialization measurement instruction: 135 μs
· Standby time (>integration time): 32 × 4=128 μs
· Readout: 274.5 μs
I2C
command
Standby time
Initialization,
measurement instruction
· Fixed time mode, Tint=00 (32 μs)
· Integration time: 32 μs/color
· SCL frequency: 400 kHz
Readout
Measurement time: 537.5 μs
KPICC0215EA
12
Color/proximity sensor
P12347-01CT
Proximity sensor
I2C
command
Initialization, measurement instruction
Distance measurement
current consumption
Readout
Red LED drive current
Pulse number 3 to 45
LED
LAT
In the proximity sensor, the light emission pulse count is designed to be adjustable in integer multiples of 3 from 3 to 45
in order to increase measurement precision. The interrupt
signal (INT) is set to 1 only when all pulses are detected.
A red LED is used for light emission. The drive current can
be changed in the range of 8 mA to 96 mA in 8-mA steps.
The proximity cycle can be changed in the range of 65.5 ms
to 982.5 ms in 65.5-ms steps. Measurement is performed
every proximity cycle. When measurement is not performed,
the sensor automatically switches to sleep mode.
DAT
INT
65.5 ms to 982.5 ms
Proximity cycle
KPICC0216EA
3-color LED driver
I2C
command
Initialization,
measurement instruction
Readout
1.6 ms (625 Hz fixed)
Red LED pulse width
Red LED
Green LED pulse width
Green LED
Blue LED pulse width
Blue LED
The 3-color LED emits light in the order red, green, and
blue. The light emission pulse width can be set in the range
of 0 μs to 240 μs in 16-μs steps (16 levels total). The light
emission pulse width can be set for each color. The light
emission cycle is fixed at approximately 1.6 ms, and the
drive current is fixed at 8 mA.
If set to low current mode, the forward current of each color
LED is set to 0.8 mA, which is 1/10 the initial setting. If set
to DC mode, the drive current is set to direct current and
can be set in the range of 8 mA to 120 mA in 8-mA steps.
In DC mode, set the forward current to 30 mA or less for
red and 20 mA or less for green and blue.
LED: sleep
KPICC0217EA
Connection example
Vbus (1.65 V to Vdd+0.5)
Vdd (2.25 to 3.63 V)
Rp (3 kΩ)
Vdd
0.1 uF
10 uF
Vanode
(3.3 to 5.0 V)
0.1 uF
SCL
SCL
SDA
SDA
INT
GND
P12347-01CT
Red LED
Anode
Rp (3 kΩ)
Microcontroller
Green LED
Blue LED
KPICC0218EA
Note: When the LED is emitting light or when the proximity sensor is in use, do not externally drive the LED.
Set the LED’s anode voltage to 3.3 V or higher.
13
Color/proximity sensor
P12347-01CT
Dimensional outline (unit: mm)
5.5
Photosensitive
area
Photosensitive surface
3-color LED
Shielded area
0.3
1.0
0.7
(0.5)
1.7
2.18
0.8
Vdd
Anode
NC
Green LED
INT
GND
Blue LED
SDA
Red LED
SCL
Tolerance unless otherwise noted: ±0.2
P0.8 × 4=3.2
(×10) ϕ0.3
KPICA0098EA
Note: When using this product, contact us for technical information. Please check the technical information first, and then create an
appropriate device design.
Enlarged view of photosensitive area (unit: mm)
0.32
0.19 0.19
0.07
1.1
0.19
0.635
KPICC0213EA
Recommended land pattern (unit: mm)
0.8
4 × P0.8=3.2
(10×)ϕ0.4
KPICC0251EA
14
Color/proximity sensor
P12347-01CT
Standard packing specifications
Reel
Dimensions
180 mm
Hub diameter
60 mm
Tape width
12 mm
Material
PS
Electrostatic characteristics
Conductive
4.0 ± 0.1
+0.1
5.8 ± 0.05
2.0 ± 0.05
5.5 ± 0.05
4.0 ± 0.1
+0.3
12.0 -0.1
+0.1
ϕ1.50-0
1.75 ± 0.1
Embossed tape (unit: mm, material: PS, conductive)
0.25 ± 0.05
ϕ1.00-0
Reel feed direction
1.3 ± 0.05
2.0 ± 0.05
KPICC0219EA
Packing quantity
2000 pcs/reel
Packing type
Reel and desiccant in moisture-proof packaging (vacuum-sealed)
15
Color/proximity sensor
P12347-01CT
Measured example of temperature profile with our hot-air reflow oven for product testing
Peak temperature - 5 °C 30 s max.
Temperature (°C)
Peak temperature: 260 °C
217 °C
200 °C
3 °C/s max.
-6 °C/s max.
150 °C
Preheating
60 to 120 s
Actual heating
60 to 150 s
25 °C to peak temperature: 8 min max.
Time (s)
KPICC0220EA
· This product supports lead-free soldering. After unpacking, store it in an environment at a temperature of 30 °C or less and a humidity
of 60% or less, and perform soldering within 168 hours.
· The effect that the product receives during reflow soldering varies depending on the circuit board and reflow oven that are used. Before
actual reflow soldering, check for any problems by testing out the reflow soldering methods in advance.
16
Color/proximity sensor
P12347-01CT
RGB color sensor lineup
Photodiode
1.0 × 1.0
3 × 1.6 × 1.0t
COB
(on-chip filter)
*
Photodiode
ϕ2.0
4 × 4.8 × 1.8t
6 pin
(filter 0.75t)
S10942-01CT
Photodiode
1.0 × 1.0
3 × 1.6 × 1.0t
COB
(on-chip filter)
S9706
Digital
photo IC
1.2 × 1.2
4 × 4.8 × 1.8t
6 pin
(filter 0.75t)
S11012-01CR
Digital
photo IC
1.2 × 1.2
3.43 × 3.8 × 1.6t
COB
(on-chip filter)
S11059-02DT
/-03DS
I2C
compatible
color
sensor
0.56 × 1.22
3 × 4.2 ×1.3t
10 pin
(on-chip filter)
B
G
R
B
G
R
IR
465
540
615
Photosensitivity
B
G
R
B
G
R
B
G
R
B
G
R
*
Low
(mm)
460
530
615
855
Low
(mm)
B
G
R
B
G
R
B
G
R
IR
Photo
0.18 (A/W) [λ=460 nm]
0.23 (A/W) [λ=540 nm]
0.16 (A/W) [λ=620 nm]
0.18 (A/W) [λ=460 nm]
0.23 (A/W) [λ=540 nm]
0.16 (A/W) [λ=620 nm]
0.2 (A/W) [λ=460 nm]
0.23 (A/W) [λ=540 nm]
0.17 (A/W) [λ=620 nm]
0.21 (A/W) [λ=460 nm]
0.25 (A/W) [λ=540 nm]
0.45 (A/W) [λ=640 nm]
B
0.21 (LSB/lx)
1.9 (LSB/lx)
G
0.45 (LSB/lx)
4.1 (LSB/lx)
R
0.64 (LSB/lx)
5.8 (LSB/lx)
B
0.3 (LSB/lx)
2.6 (LSB/lx)
G
0.6 (LSB/lx)
5.3 (LSB/lx)
R 12.9 (LSB/lx)
1.4 (LSB/lx)
B 44.8 (count/lx)
4.4 (count/lx)
G 85.0 (count/lx)
8.3 (count/lx)
R 117.0 (count/lx)
11.2 (count/lx)
IR 30.0 (count/lx)
3.0 (count/lx)
High
S10917-35GT
Package
High
1.0 × 1.0
Photosensitive area
High
Photodiode
S9032-02
Type
Low
S9702
3 × 4 × 1.3t
4 pin
(filter 0.75t)
Peak sensitivity
wavelength
(nm)
B 460
G 540
R 620
B 460
G 540
R 620
B 460
G 540
R 620
Type no.
* Refer to the spectral response of each product’s datasheet.
Related information
www.hamamatsu.com/sp/ssd/doc_en.html
Precautions
· Disclaimer
· Surface mount type products
Information described in this material is current as of February, 2016.
Product specifications are subject to change without prior notice due to improvements or other reasons. This document has been carefully prepared and the
information contained is believed to be accurate. In rare cases, however, there may be inaccuracies such as text errors. Before using these products, always
contact us for the delivery specification sheet to check the latest specifications.
The product warranty is valid for one year after delivery and is limited to product repair or replacement for defects discovered and reported to us within that
one year period. However, even if within the warranty period we accept absolutely no liability for any loss caused by natural disasters or improper product use.
Copying or reprinting the contents described in this material in whole or in part is prohibited without our prior permission.
www.hamamatsu.com
HAMAMATSU PHOTONICS K.K., Solid State Division
1126-1 Ichino-cho, Higashi-ku, Hamamatsu City, 435-8558 Japan, Telephone: (81) 53-434-3311, Fax: (81) 53-434-5184
U.S.A.: Hamamatsu Corporation: 360 Foothill Road, Bridgewater, N.J. 08807, U.S.A., Telephone: (1) 908-231-0960, Fax: (1) 908-231-1218
Germany: Hamamatsu Photonics Deutschland GmbH: Arzbergerstr. 10, D-82211 Herrsching am Ammersee, Germany, Telephone: (49) 8152-375-0, Fax: (49) 8152-265-8
France: Hamamatsu Photonics France S.A.R.L.: 19, Rue du Saule Trapu, Parc du Moulin de Massy, 91882 Massy Cedex, France, Telephone: 33-(1) 69 53 71 00, Fax: 33-(1) 69 53 71 10
United Kingdom: Hamamatsu Photonics UK Limited: 2 Howard Court, 10 Tewin Road, Welwyn Garden City, Hertfordshire AL7 1BW, United Kingdom, Telephone: (44) 1707-294888, Fax: (44) 1707-325777
North Europe: Hamamatsu Photonics Norden AB: Torshamnsgatan 35 16440 Kista, Sweden, Telephone: (46) 8-509-031-00, Fax: (46) 8-509-031-01
Italy: Hamamatsu Photonics Italia S.r.l.: Strada della Moia, 1 int. 6, 20020 Arese (Milano), Italy, Telephone: (39) 02-93581733, Fax: (39) 02-93581741
China: Hamamatsu Photonics (China) Co., Ltd.: B1201, Jiaming Center, No.27 Dongsanhuan Beilu, Chaoyang District, Beijing 100020, China, Telephone: (86) 10-6586-6006, Fax: (86) 10-6586-2866
Cat. No. KPIC1084E03 Feb. 2016 DN
17