Product Specifications
Copyright©Terabee2016
** Remember to execute the daemon roscore before running the rosrun command and change the USB port to the appropriate
one.
5 Protocol description
The TeraRanger One can be read out and controlled via either UART or I2C. Even though
both interfaces are activated in parallel, we recommend the use of only one interface at a
time. Usage in parallel can lead to erroneous behaviour and is not supported by us. If you
want to switch from one interface to the other, please power cycle the sensor in between the
switch.
5.1 UART interface
The UART is configured to send and receive at 115200 bit/s, 8 data bits, no parity bit and
one stop bit (1152008N1). Please consult section 2 to see how you can connect the
TeraRangerOnetoyourPCrunningWindows,LinuxorMacOS.
UARTcommandsandoutputformat
InallUARTmodes,thesensorisfreerunning,thatmeansyoudonotneedtosendanything
tostartameasurement.Onceameasurementinthemodeyouselectedisfinished,the
sensorwillsendthedataintheformatyouselectedandimmediatelystartanew
measurement.
Two operating modes can be selected for either type A and type B sensors by sending the
correspondinguppercasecharactertotheTeraRangerOneviatheserialport:
SensortypeA
P
Precise
mode
The TeraRanger One adapts its internal parameters to provide the best
available accuracy. This improved accuracy results in a decrease of the
measurement repetition rates, and therefore in increased reaction times.
The delay between two measurements is variable and depends on the
target distance and properties. This mode offers an optimized
performanceinindoorenvironments.
90 Rue Henri Fabre Website:
01630 St. Genis‐Pouilly Technical support:
France (next to CERN) Commercial:
www.teraranger.com
support@teraranger.com
teraranger@terabee.com
11