SJ-PM-TFmini-S A01 Product Manual
Benewake (Beijing) Co. Ltd.
Page13
performance in the ranging state, the “acquired ranging result” data frame requires a short waiting time. It
is recommended to wait for 1ms and then read the result after sending commands.
In order to ensure that the ranging result is read correctly, it is necessary to set the frame rate of the
radar to be greater than or equal to 2.5 times the frame rate of the I
2
C reading ranging result by the command
"ID_SAMPLE_FREQ=0x03". Data are detailed in Table 10.
Table 10 Timing sequence of the I
2
C mode
Start
Addr
W A
Byte0
A
---
ByteN
A
Stop
Wait 100ms
Start
Addr
R
A
Byte0
A
---
ByteN
A
Stop
5.7 I/O mode description
I/O output mode is supported and could be enabled by related command. See detail in chapter
Command open mode (Mode), critical distance (Dist) and hysteresis zone (Zone) could be configurable:
Mode: 0(data output mode), 1(I/O mode, high level near and low level far), 2(I/O mode, low level near
and high level far); default value is 0.
Dist: critical value, near end value in hysteresis zone, unit is cm, default number is 0.
Zone: hysteresis zone range, unit is cm; default value is 0(there is no hysteresis zone)
The hysteresis zone could be set by this command, when output is near zone level, output will be
switched to far zone level if measured result is higher than far end point; when output is far zone level,
output is switched to near zone level if measured result is lower than near end point.(high level:3.3V,low
level:0V)
6 Quick Test
6.1 Required Tools of Product Test
TFmini-S
Data wire
TTL - USB
converter
USB cable
PC
PC software
6.2 Test Procedures
①
Download the Test software
Please download the Test software of TFmini-S at our official website (en.benewake.com).