SJ-PM-TF02-Pro Product Manual Alpha
Benewake (Beijing) Co. Ltd.
Page9
Character string data format
The data output is in the format of character string and its unit is m(meter). For example, if the
measurement distance is 1.21m, the string 1.21 will be output, followed by the escape character \r\n.
4.3 Descriptions of default Output Data
Dist(Distance):Represents the output of the distance value detected by TF02-Pro, with the unit in cm by
default. This value is interpreted into the decimal value in the range of 0-4500. When the signal strength is
lower than 60, the detection is unreliable, TF02-Pro will set distance value to 4500.
Strength: Represents the signal strength with the default value in the range of 0-65535. After the distance
mode is set, the longer the measurement distance is, the lower the signal strength will be; the lower the
reflectivity is, the lower the signal strength will be.
Temp(Temperature): Represents the chip temperature of TF02-Pro. Degree centigrade = Temp / 8 -256
4.4 I
2
C data communication
TF02-Pro also supports I
2
C data communication interface, as shown in the table below:
Table 6: TF02-Pro data communication protocol
——
I
²
C
4.5 Timing sequence description of I²C mode
Different from the serial mode, the I
2
C communication is initiated by the master. TF02-Pro as the slave,
can only send and receive data passively. After the sending the config-frame from the master to the slave,
one needs to wait for a period for the command to be processed. Then read feedback operation, the
suggested waiting period is 100ms. Data are detailed in Table 7.
Table 7: Timing sequence of the I2C mode