background image

 

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) 

Содержание TeraRanger Evo

Страница 1: ...User Manual for TeraRanger Evo People Counter Bidirectional People Counting Technical support support teraranger com S a l e s a n d c o m m e r c i a l s u p p o r t terabee sales terabee com ...

Страница 2: ...ckboard Use 12 I2C UART pinout 12 LED Indicators 13 Normal operation 13 Troubleshooting 14 Electrical characteristics 14 USB UART Normal Operation 15 Operation of the TeraRanger Evo People Counter sensor module 15 Installation of Graphical User Interface Package 15 Linux and Raspberry Pi 15 Windows 16 Graphical User Interface GUI 16 Bidirectional Traffic People Counting 17 Button to reset counters...

Страница 3: ...by but importantly also their direction of travel This extra insight into direction of flow extends the applications beyond people counting measures as it also allows an understanding of how people flow within and around a space Because the Evo People Counter is based on Time of Flight technology personal privacy is protected and its technology is GDPR compliant by design 1 1 About the TeraRanger ...

Страница 4: ...me of Flight Light Source Wavelength 940 nm Use Environment Indoor Field of View 27 Electronics Supply Voltage 5V DC 5 Current Consumption Average 50 mA Initialization Time 1 s Communication Serial Interface USB 2 0 Micro B UART 3 3V level 115200 8 1 None Visual Notification 3 x LEDs built in backboards Mechanical data Dimensions 42 x 30 x 13 mm incl backboard Weight 9 g incl backboard Operating T...

Страница 5: ... Genis Pouilly France next to CERN 5 19 Type of Connection USB Backboard USB 2 0 Micro B I2C UART Backboard DF13 7p connector Conformity Reference Standard CE RoHS Product code TR EVO PPC USB TR EVO PPC UART Performance Mode Detection Output Horizontal Mounting Vertical Mounting 0 05 m to 1 5 m 2 0 m to 2 5 m 25 Hz Sensor ID X People inside In Out Y People IN Z People OUT Evo People Counter Commun...

Страница 6: ...lack and yellow parts Figure 2 Modular design of the TeraRanger Evo People Counter sensor 2 2 Mechanical design and mounting The TeraRanger Evo People Counter sensor offers an ABS housing both sensor and backboard with an option to mount the sensor using two holes compatible with M2 screws Figure 3 illustrates the external dimensions of the TeraRanger Evo People Counter sensor Copyright Terabee 20...

Страница 7: ... 2 Back panel mount using the 2mm ledge on the front side of the sensor Figure 4 illustrates the two different mount methods The first solution 1 allows for easy surface attachment and rapid evaluation of the sensor The second solution 2 provides a more discreet installation and supports design in projects by installing the sensor behind a surface e g panel ideally with 2mm thickness Copyright Ter...

Страница 8: ...isable to avoid having other sources of Continuous Wave or modulated Infrared light sources near the sensor Please consider that dust dirt and condensation can affect sensor performance It is not advised to add an additional cover in front of the sensor without any custom calibration contact Terabee For an optimal placement of the People Counting sensor please follow this application note Copyrigh...

Страница 9: ... is ON whenever the sensor is powered RED Flashes briefly on startup to indicate proper initialization then switches off GREEN Blinks 8 times at power up GREEN LED blinks every 5 seconds when the sensor is streaming data LED designator Sequence Signification Corrective actions RED Continuous blinking Sensor has detected a fault and has stopped functioning Check that the sensor is properly connecte...

Страница 10: ...e execution permission for the file hterm command chmod u x ht erm double click on the hterm file or run it from terminal while in its directory ht erm Connect the TeraRanger Evo People Counter to a computer and select the corresponding USB port click R button to refresh the port list Please configure the software with the following parameters Baud rate 115200 bit s Data bits 8 Stop bit 1 Parity b...

Страница 11: ...er Evo People Counter Once the USB port is selected and the parameters correctly set click on the Connect button The TeraRanger Evo People Counter data will now appear in the Received data box depending on the current working mode see Figure 6 Copyright Terabee 2021 Terabee 90 Rue Henri Fabre 01630 St Genis Pouilly France next to CERN 11 19 ...

Страница 12: ...e using an I2C UART backboard Figure 8 I2C UART backboard front view 4 1 I2C UART pinout The I2C UART backboard uses a single 9 pin Hirose DF13 connector for interfacing to the host system The mating connector is a Hirose DF13 9S 1 25C with crimping contacts Copyright Terabee 2021 Terabee 90 Rue Henri Fabre 01630 St Genis Pouilly France next to CERN 12 19 ...

Страница 13: ...the sensor status Table 7 lists the functionality of each LED of the I2C UART backboard Table 7 LED indicators of the I2C UART backboard Copyright Terabee 2021 Terabee 90 Rue Henri Fabre 01630 St Genis Pouilly France next to CERN 13 19 Pin Designator Description 1 Tx UART transmit output 3 3V logic 2 Rx UART receive input 3 3V logic 3 GND Power supply and interface ground 4 SDA I2C serial data lin...

Страница 14: ...linking Sensor has detected a fault and has stopped functioning Check that the sensor is properly connected to the backboard then restart the sensor RED GREEN Both LEDs blinking continuously Sensor has detected a fault with the sensor initialization process Check I2C UART output for details of the error Verify that the sensor is properly connected and restart Parameter Minimum Maximum Average Powe...

Страница 15: ... to left Out The sensor should be installed with the USB UART Connector placed on the right side as shown in figure 9 Figure 9 Sensor orientation for the Evo People Counter The detection range of this mode can be adjusted from a minimum of 0 05 m to a maximum of 1 7 m To detect a person passing the set detection range has to be breached 5 2 Installation of Graphical User Interface Package 5 2 1 Li...

Страница 16: ...entered a room or zone and the number of people that have left the zone or room A simple subtraction is made to display the number of people calculated to be inside the room or zone in real time The sensor however has 3 outputs including the calculated number of people inside the number of people counted in or the number of people counted out Whilst we use the term In and Out this could be substit...

Страница 17: ...ght In Meter 3 counts people passing by from right to left Out 5 3 2 Button to reset counters Reset Bidirectional Counter reset the counts to 0 0 0 5 4 List of sensor commands available via USB UART The commands listed below can be used to push default parameters to an Evo People Counter sensor via a command line within an HTerm window or through a Python script for example Copyright Terabee 2021 ...

Страница 18: ...tputs 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 BIDIR...

Страница 19: ...r both presence detection and bidirectional people traffic detection modes 5 5 2 Parameters Command PARAMETERS FRAMES BINARY 00 61 01 E7 This command provides users with all parameter values in binary form and returns the following frames 6 General Remarks If the sensor is disconnected powered down the counters are automatically reset Copyright Terabee 2021 Terabee 90 Rue Henri Fabre 01630 St Geni...

Отзывы: