7 / 15
●
Measurement sequence example from "Write instruction" to "Read measurement result"
ex1) Continuously H-resolution mode ( ADDR = 'L' )
①
Send "Continuously H-resolution mode " instruction
ST
0100011
0 Ack
00010000 Ack
SP
②
Wait to complete 1st H-resolution mode measurement.( max. 180ms. )
③
Read measurement result.
ST
0100011
1
Ack
High Byte [ 15:8 ]
Ack
Low Byte [ 7:0 ]
Ack
SP
How to calculate when the data High Byte is "10000011" and Low Byte is "10010000"
( 2
15
+ 2
9
+ 2
8
+ 2
7
+ 2
4
) / 1.2
≒
28067 [ lx ]
The result of continuously measurement mode is updated.( 120ms.typ at H-resolution mode, 16ms.typ at L-resolution
mode )
ex2 ) One time L-resolution mode ( ADDR = 'H' )
①
Send "One time L-resolution mode " instruction
ST
1011100
0 Ack
00100011 Ack
SP
②
Wait to complete L-resolution mode measurement.( max. 24ms. )
③
Read measurement result
ST
1011100
1
Ack
High Byte [ 15:8 ]
Ack
Low Byte [ 7:0 ]
Ack
SP
How to calculate when the data High Byte is "00000001" and Low Byte is "00010000"
( 2
8
+ 2
4
) / 1.2
≒
227 [ lx ]
In one time measurement, Statement moves to power down mode after measurement completion. If updated result is
need then please resend measurement instruction.
from Master to Slave
from Slave to Master
electronic components distributor