Data Sheet

11/40
Optical Sensor
LTR-559ALS-01
I
2
C Read (Combined format) Protocol:
Slave address
W AS
Register Address
A Sr
7 1 11 8 1 1
Slave address
R A N
7 1 1 8 1
Register Command
P
1
Slave ID (Write) Slave ID (Read)
SCL
1 2 3 4 5 6 7 8 9
SDA
S
6
S
5
S
4
S
3
S
2
S
1
S
0
1 2 3 4 5 6 7 8 9
A
7
A
6
A
5
A
4
A
3
A
2
A
1
A
0
Slave address Register AddressA AS SrW
1 2 3 4 5 6 7 8 9
C
7
C
6
C
5
C
4
C
3
C
2
C
1
C
0
Register CommandA N P
1 2 3 4 5 6 7 8 9
S
6
S
5
S
4
S
3
S
2
S
1
S
0
Slave address AR
……
……
……
……
Slave ID (Write) Slave ID (Read)
A
Acknowledge (0 for an ACK)
N
Non-Acknowledge(1 for an NACK)
S
Start condition
Sr
Repeated Start condition
P
Stop condition
W
Write (0 for writing)
R
Read (1 for read)
Slave-to-master
Master-to-Slave
I
2
C Slave Address
The 7 bits slave address for this sensor is 0x23H. A read/write bit should be appended to the slave address by the master device
to properly communicate with the sensor.
I
2
C Slave Address
Command
Type
(0x29H)
W/R
value
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
Write
0
1
0
0
0
1
1
0
0x46H
Read
0
1
0
0
0
1
1
1
0x47H