|
S11059-01WT_15 Datasheet, PDF (3/11 Pages) Hamamatsu Corporation – Color sensor | |||
|
◁ |
Color sensor
S11059-01WT
I2C section (Ta=25 °C, Vdd=3.3 V, unless otherwise noted)
Parameter
Symbol
Condition
Min.
Typ.
Max.
Unit
I2C address
ADDR 7 bits
0x2A (0101010)
I2C clock frequency
fclk
1
-
400
kHz
SDA, SCL output
High level Voh Rp=2.2 kΩ
0.7Vbus
-
-
V
voltage
Low level Vol Rp=2.2 kΩ
0
-
0.4
V
Input/output terminal capacitance Ci
-
-
20
pF
SDA/SCL output fall time*6
tf Rp=2.2 kΩ, Cp=400 pF
-
-
250
ns
*6: SCL/SDA output rise time is determined by a time constant of Cbus à Rp.
Note: The I2C interface (SDA, SCL) timings conform to the "I2C bus speciï¬cation version 2.1".
Register map
Adrs
00
01
02
03
04
05
06
07
08
09
0A
Function
bit
7
6
5
4
3
2
1
0
Control
ADC reset
1: Reset
0: Operation
Standby function
1: Standby mode
0: Operating mode
Standby function
monitor
-
Gain selection Integration mode Integration time setting
1: High gain 1: Manual setting mode (00) 87.5 μs, (01) 1.4 ms
0: Low gain 0: Fixed period mode (10) 22.4 ms, (11) 179.2 ms
Manual timing register
Integration time manual setting register (MSB)
Integration time manual setting register (LSB)
Sensor data register
Output data (red, MSB)
(red)
Output data (red, LSB)
Sensor data register
(green)
Output data (green, MSB)
Output data (green, LSB)
Sensor data register
Output data (blue, MSB)
(blue)
Output data (blue, LSB)
Sensor data register
Output data (infrared, MSB)
(infrared)
Output data (infrared, LSB)
Adrs 00 bit 7: Asserting this bit to â1â, the ADC block is reset. The register data is not reset. To start the operation, set this bit to â0â.
Adrs 00 bit 6: Asserting this bit to â1â the device goes into standby mode. The ADC block stops its operation. The register data is not
reset. To start the operation, set this bit to â0â.
Adrs 00 bit 5: This monitors auto standby function. â1â means standby mode. This is read only.
Adrs 00 bit 3: Gain selection bit. â1â is high gain mode and â0â is low gain mode. This bit is selecting the photodiode area. The size ratio
of high gain photodiode area and low gain photodiode area is 10 : 1. Therefore the gain ratio is 10 times from low to
high.
Adrs 00 bit 2: Asserting this bit to â1â, the device goes into manual setting mode. Deasserting this bit to 0, goes into ï¬xed period mode.
In manual setting mode, the S11059-01WT automatically goes to standby mode after a measurement is made. In ï¬xed
period mode, measurements are continuously repeated.
Adrs 00 bit 1,0: These bits select the period of internal basis clock. The period is equal to integration time per color in ï¬xed period mode.
â00â is 87.5 us, â01â is 1.4 ms, â10â is 22.4 ms, â11â is 179.2 ms. In manual setting mode, â00â is 175 μs, â01â is 2.8 ms, â10â
is 44.8 ms, â11â is 368 ms. The integration time per color is set to multiple value (Adrs 01 & 02) with the period.
Adrs 01 & 02: This is a multiple value setting in manual setting mode, and can be set to a minimum of 0x0000 and a maximum of
0xFFFF (65535). This is used to set how far to expand the integration time per color which speciï¬ed by âIntegration time
settingâ (Tint). For example, if you want to set the integration time per color to 546 ms, set 175 μs by Tint=â00â and then
set this register to N=3120 (0xC30).
Mode
Manual timing register
(Adrs 01 & 02)
Integration time setting (Tint)
00
01
10
11
Fixed period mode
Disabled
87.5 μs
1.4 ms
22.4 ms
179.2 ms
Manual setting mode
N
175 à N μs
2.8 Ã N ms
44.8 Ã N ms 358.4 Ã N ms
Adrs 03 to 0A: These bytes are register for sensor data. S11059-01WT measurement result is stored in these registers when the I2C
command is changed to read mode. The values are kept until next read cycle.
Initial setting [Low gain, manual setting mode, Tint=00 (175 μs), integartion time 546 ms/ch]
Adrs
Function
7
6
5
bit
4
3
2
1
0
Hex
00 Control
1
1
1
-
0
1
0
0
0xE4
01
02
Manual timing register
0
0
0
0
0
1
0
1
1
0
1
0
0
0
0
0x0C
0
0x30
3
|
▷ |