Table 10 - List of commands for TeraRanger Evo People Counter
1
Where MM NN SS TT is max and min of BPTD thresholds in hexadecimal format. (order is very important)
Please refer to Section
Connecting the TeraRanger Evo to a Host Computer
for
instructions on how to send commands to the TeraRanger Evo People Counter sensor
using a host computer and the HTerm emulation software.
5.5.
Details of the sensor output values
When streaming data using HTerm, the TeraRanger Evo People Counter sensor goes on
streaming frames that contain a header of “DD” followed by two distances. Each
distance is represented by two bytes and one CRC byte.
Once the sensor detects and validates the Bidirectional Traffic People Counting, the
sensor outputs the following frame that contains this additional information:
Copyright
©
Terabee 2021
Terabee, 90 Rue Henri Fabre
01630, St Genis-Pouilly, France (next to CERN)
18/19
Command (HEX)
CRC-8
Command description
00 55 03 MM NN SS TT
Dependent
on the
value of:
MM,NN,
SS,TT
1
CHANGE BPTD THRESHOLDS SETTING:
MMNN <= 1700 (millimeters)
50 <= SSTT (millimeters)
(SSTT + 200) <= MMNN (millimeters)
00 55 08 00 00 00 00
7C
RESET BIDIRECTIONAL PEOPLE TRAFFIC COUNTING
00 61 01
E7
OUTPUT SETTING:
BINARY OUTPUT PARAMETERS SETTINGS VALUES
00 61 02
EE
OUTPUT SETTING:
TEXT OUTPUT PARAMETERS SETTINGS VALUES
Each command message frame must be transmitted in a continuous stream, ie.
not byte by byte
It is advised to maintain a time interval of a few microseconds between two
messages for proper command registration
“DD”
Distance 1 (2 bytes)
Distance 2 (2 bytes)
CRC-8 (1 byte)
“PC”
Sensor_id
(4 bytes)
People counter
(4 bytes)
Count IN
(2 bytes)
Count OUT
(2 bytes)
CRC-8 (1
byte)