Skip to content

TOF Sensing

Nooploop TOF Sensor

Preparation

  • Rhino Pi A1
  • Nooploop TOFSense series TOF sensor
  • USB TO 4CH TTL serial expansion device
  • Additional cables

Hardware Connection

Use the CH344 serial adapter to connect the TOF sensor VCC, GND, TX, and RX to any UART port on the CH344 device. This example uses UART0.

alt text

Test

After connecting, open minicom in the AidLux terminal. If minicom is not installed, install it with:

shell
sudo apt update; sudo apt install minicom

Open the serial port:

shell
sudo minicom -D /dev/ttyCH343USB0 -b 921600 -H

The TOF sensor default baud rate is 921600 and requires hexadecimal display.

Note: If minicom only shows one line, configure line wrapping:

Press Ctrl-A, then Z, then press W.

The following is an example of received data:

alt text