Copyright©Terabee2016
1.5 UART Data Interface
The default interface is UART on pins 12 and 13. It needs an input voltage level of 5V (logic
high) to run reliably, the output voltage level is 5V. Please use a serial to USB interface (e.g.
FTDI breakout boards or the TeraRanger USB adapter) to connect the TeraRanger One to
your PC. DO NOT connect the TeraRanger One to a real RS232 port of a PC, the voltage
levelsaredifferentandmightdestroythesensor’selectronics.
The UART is configured to send and receive at 115200 bit/s, 8 data bits, no parity bit and
onestopbit(1152008N1).
To transfer data, select one of the operating modes and printout modes that are explained in
chapters4and5inthismanual.
1.6 TWI (I2C) Data Interface
Another way to connect to your TeraRanger One is the TWI (or better known as NXPs I2C)
interface. Using this interface, you can connect multiple TeraRanger Ones to a TWI master
on the same bus. The TWI mode offers external triggering of a measurement via the bus to
exclude crosstalk, allowing the use of multiple TeraRanger Ones at the same time. Please
keep in mind that the TeraRanger One has a relatively narrow field of view. Hence, multiple
TeraRanger Ones looking into opposite or perpendicular directions can be triggered at the
sametime,allowingasignificantlyincreasedreadoutspeed!
Please refer to chapter 1.4 for the the electrical connections to be made for using TWI. The
signal levels are 5V, the maximum bus speed is 100kHz and the pullup resistors (10kOhms)
are already integrated in the TeraRanger One. If you have a 3.3V system as TWI master,
you can try a direct connection if the inputs of your system are 5V tolerant. This configuration
can work, but we do not recommend it since it is not reliable. An I2C adapter for reliable
voltageleveltranslation is available from our website at:
http://www.teraranger.com/product/terarangeri2cadapter/.
To
prepare
the
TeraRanger
One
for
TWI
operation:
Please email [email protected], mention the serial number of your sensor and specify which TWI base address you need.
Multiple addresses are possible if you want to use more than one TeraRanger One on the
same TWI bus. We will then send you the new firmware with I2C and all the necessary
operating instructions. Once you have the firmware file, please upload it to the TeraRanger
Oneasdescribedinchapter6ofthismanual.
In addition you have the option to purchase the TeraRanger Hub. This accessory board
allows you to connect up to eight TeraRanger One sensors and read the data from the