Switch Value Output of TFmini Plus v1.0
A10,Keshi Building, No.28, Xinxi Rd, Haidian district, Beijing, China. 100084 Page5
102cm, the output state changes to long-distance state; ② the original state is
long-distance state, and when the measurement distance<100 cm, the output state
changes to close-distance state.
- Command: 5A 09 3B EE FF GG HH KK 00. Among them, EE FF GG HH KK
needs to be modified.
EE : Switch value mode. 00 is the close switch value mode, 01 is the
near-high-far-low level switch value mode, 02 is the near-low-far-high level
switch value mode.
FF GG:Critical value. FF is the critical value low 8 bits, GG is the critical
value high 8 bits. For example, the critical value is 500 cm, the HEX is 01F4,
and the corresponding FF GG is F4 01.
HH KK:Hysteretic range. HH is the hysteretic range low 8 bits,KK is the
hysteretic range high 8 bits. For example, the hysteretic range is 10 cm, the
HEX is 000A, and the corresponding HH KK is 0A 00.
- Examples:
threshold is 100cm, hysteresis range is 2cm(When the threshold < 100, the
output level is high; and when the threshold>100, the output level is low.)
the command is:
5A 09 3B 01 64 00 02 00 00
threshold is 300cm, hysteresis range is 5cm, (When the threshold<100, the
output level is low; and when the threshold>100, the output level is high.)
the command is:
5A 09 3B 02 2C 01 05 00 00
threshold is 350cm, hysteresis range is 5cm (When the threshold <100, the