# Lanbao PSK-CM8JL65-CC5 ToF Infrared Distance Measuring Sensor

The Lanbao PSK-CM8JL65-CC5 is a very small IR distance sensor with a 0.17m-8m range and millimeter resolution. It must be connected to a UART/serial bus.

• Dimensions: 38 mm x 18mm x 7mm
• Weight: ≤10g

## Hardware Setup

PSK-CM8JL65-CC5 can be connected to any unused serial port, e.g.: TELEM2, TELEM3, GPS2 etc.

The pinouts are labeled on the bottom of the sensor:

## Parameter Setup

Configure the serial port on which the lidar will run using SENS_CM8JL65_CFG.

If the configuration parameter is not available in QGroundControl then you may need to add the driver to the firmware: distance_sensor/cm8jl65

In order to use the sensor for collision prevention you will further need to set the parameters SENS_CM8JL65_R_0 and MPC_COL_PREV_D. For more information see: Collision Prevention.