# Lanbao PSK-CM8JL65-CC5

The [Lanbao PSK-CM8JL65-CC5](https://www.seeedstudio.com/PSK-CM8JL65-CC5-Infrared-Distance-Measuring-Sensor-p-4028.html) 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

![PSK-CM8JL65-CC5 ToF IR Distance Sensor - Hero image](https://4155462212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LArEa7z2SPawfl3HpCD%2Fuploads%2Fgit-blob-b9e1a3faddbc9138613226b6f982381be5994d90%2Fpsk_cm8jl65_hero.jpg?alt=media)

## 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:

![PSK-CM8JL65-CC5 ToF IR Distance Sensor - Pinout connections](https://4155462212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LArEa7z2SPawfl3HpCD%2Fuploads%2Fgit-blob-4f4d8986cb6396ca3547b071875d261eec7b22d3%2Fpsk-cm8jl65-cc5-02.jpg?alt=media)

## Parameter Setup

[Configure the serial port](../../../advanced_config/serial_configuration) on which the lidar will run using [SENS\_CM8JL65\_CFG](../../../../advanced_config/parameter_reference#SENS_CM8JL65_CFG).

:::note If the configuration parameter is not available in _QGroundControl_ then you may need to [add the driver to the firmware](../../../../advanced_config/serial_configuration#parameter_not_in_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](../../../../advanced_config/parameter_reference#SENS_CM8JL65_R_0) and [CP\_DIST](../../../../advanced_config/parameter_reference#CP_DIST). For more information see: [Collision Prevention](../../../companion_computer/computer_vision/collision_prevention#rangefinder).
