TeraBee TeraRanger Neo ES Скачать руководство пользователя страница 12

low power mode

DEVICE RESET

Performs a soft reset

0x02 0x05 0x31

The device performs a software reset.

Normal startup logic follows (200ms

delay until data starts streaming).

Table 5 - Valid sensor commands

Please refer to

Connecting the TeraRanger Neo ES to a Host Computer

for instructions

on how to send commands to the sensor using a host computer and the HTerm
emulation software

3.4. Sensor payload

This mode provides users with measured distances displayed in the form of binary
messages using 5 bytes:

TXXSCRC8

.

The Payload will contain 3 bytes of data (2 for

distance in mm

, 1 status byte), and 2

metadata bytes (header and checksum).

Status byte: Two bits to indicate overtemperature (>50°C) and critical temperature
(>60°C) , three bits to indicate the status of distance measurement and three bits to
indicate the quality factor of the distance measurement.

The checksum byte is calculated out of the first 4 bytes of the message (header byte,
distance reading bytes, and status code byte)

Header (1 byte)

:

T (84 decimal / 0x54 hex)

Distance reading in mm (2 bytes)       :

XX (MSB, LSB)

Status Code Byte (1 Byte)

:

S (One byte to indicate code status of distance

measurement. See the Status Codes section below)

.

Checksum (1 byte)

:

CRC8

Byte 1

“T”

FRAME HEADER

Byte 2

MSB
DISTANCE

Byte 3

LSB
DISTANCE

Byte 4

STATUS CODE

Byte 5

CRC-8

3.5. Status codes

Certain status codes will be detected and reported by the firmware using the 4th byte of
the payload. Each bit in the byte represents a status flag as described below.

High nibble

Low nibble

Copyright © Terabee 2022
Terabee, 90 rue Henri Fabre
01630 Saint-Genis-Pouilly, France (next to CERN)

12 / 17

Содержание TeraRanger Neo ES

Страница 1: ...TeraRanger Neo ES User manual Version 1 0 Technical support support terabee com Sales and commercial support terabee sales terabee com...

Страница 2: ...wer consumption The front panel is designed to enable integrations that can achieve IP65 protection This guide provides you with all the information needed to use and fully integrate our sensor in you...

Страница 3: ...HTerm output 8 3 UART Communication 9 3 1 UART pinout 9 3 2 Electrical characteristics 10 3 3 Configuration commands 10 3 3 1 Command composition 10 3 3 2 List of commands 11 3 4 Sensor payload 12 3 5...

Страница 4: ...m Accuracy Approx 1 2 of measured value Field of View Approx 2 2 Electronics Supply voltage 5V DC 5 Supply current min max 250 mW on 5V rail 50 mA average Communication Interface LP UART 3 3 V level 5...

Страница 5: ...n Two LED indicators are present on the PCB and are visible through the back side The LED indicators can be used to troubleshoot the sensor LED designator Description Action Green LED flashes 8 times...

Страница 6: ...lder open it and double click on the HTerm exe document Connect the TeraRanger Neo ES to a computer and select the corresponding USB port click R button to refresh the port list Please configure the s...

Страница 7: ...s HEX as an option selected Figure 3 shows an example of the command which enables low power mode Figure 3 Example of command which enables low power mode The data output format is in Hexadecimal Ther...

Страница 8: ...ance measured is 1601 millimeters FRAME HEADER T MSB DISTANCE 0x06 LSB DISTANCE 0x41 STATUS CODE 0xC0 16 1100 0000 2 QF 6 10 value is between 90 100 CRC 0xD9 Refer to the section Sensor payload which...

Страница 9: ...stability of the mated connectors and avoid any kind of excess force on the connector during installation and once integrated Pin Designator Description 1 5 V 5 V supply input 2 Tx UART transmits outp...

Страница 10: ...frame in the last byte for the commands that only read data the query will not include any data bytes but the response will The Response R The response contains The length of the reply message withou...

Страница 11: ...byte and the actual data sent or an unknown command or command not executed The reply will be a 4 bytes frame Length Command Command Error 0x00 No Error No data 0xFF NACK 0xCC Crc mismatch 0xEE Unknow...

Страница 12: ...temperature 60 C three bits to indicate the status of distance measurement and three bits to indicate the quality factor of the distance measurement The checksum byte is calculated out of the first 4...

Страница 13: ...5 0 25 50 1 50 60 2 60 70 3 70 80 4 80 90 5 90 100 6 DISTANCE_STATUS Gives the status of the distance measurement using values between 0 and 4 where 0 no error 1 min range 2 out of range 3 ambient lig...

Страница 14: ...the error will change to Invalid reading 3 7 Sample Python script to read data This sample code is a goodwill gesture to our customers It is made to help our customers speed up their applications This...

Страница 15: ...status list raw 2 status full_status status_mask qf full_status quality_factor_mask if status 0x00 status_response Reading status No error elif status 0x04 status_response Reading status Minimum Range...

Страница 16: ...setup Ensure correct PIN 1 position RX from the TeraRanger Neo ES goes to TX of FTDI TX from the TeraRanger Neo ES goes to RX of FTDI Sensor needs to be powered with 5V and not with 3 3 V Ensure that...

Страница 17: ...e the final IP rating of the sensor integration We suggest tightening the screws included gently with a maximum torque of 0 1Nm The use of a washer is recommended not included The name TERABEE and the...

Отзывы: