|
S11059-02DT_15 Datasheet, PDF (3/11 Pages) Hamamatsu Corporation – Digital color sensor | |||
|
◁ |
Digital color sensor
S11059-02DT/-03DS
Register map
Adrs
Function
bit
7
6
5
4
3
2
1
0
00 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
01
02
Manual timing register
Integration time manual setting register (MSB)
Integration time manual setting register (LSB)
03 Sensor data register
04 (red)
05 Sensor data register
06 (green)
Output data (red, MSB)
Output data (red, LSB)
Output data (green, MSB)
Output data (green, LSB)
07 Sensor data register
08 (blue)
Output data (blue, MSB)
Output data (blue, LSB)
09 Sensor data register
0A (infrared)
Output data (infrared, MSB)
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-02DT 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-02DT 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
|
▷ |