Skip to main content
Visitor
July 1, 2026
Question

VL53L8CX and Sunlighg

  • July 1, 2026
  • 1 reply
  • 10 views

Hello, 
I have tested, the VL53L8CX tof sensor in interior (fixation at 3m10), and the visualization of the matrices works very well, in an empty scene or with a person pass under the sensor. 

When my sensor is fixed at the same height, but light up with daylight, next to the window, my matrices are noised, and when a person pass under it, there are some noise with the passage of the person. 

For example, the sensor create lots of pixels with this situation rather than the other. 
How to reduce this noise and this sensibility to the daylight ? 

1 reply

ST Technical Moderator
July 2, 2026

Hi:

What you observe is expected in a strong daylight environment, especially near a window. Higher ambient IR can reduce the signal-to-noise ratio and may generate more noisy zones or additional responses in the matrix.

To improve the behavior, we recommend the following:

1. Use 4x4 resolution

This is generally more robust than 8x8 under strong ambient light.

vl53l8cx_set_resolution(&Dev, VL53L8CX_RESOLUTION_4X4);

2. Use Continuous mode

Continuous mode usually provides better ambient light immunity than Autonomous mode.

vl53l8cx_set_ranging_mode(&Dev, VL53L8CX_RANGING_MODE_CONTINUOUS);

3. Reduce the ranging frequency

For example, try 5 Hz or 10 Hz.

vl53l8cx_set_ranging_frequency_hz(&Dev, 5);

4. Increase the sharpener

This can help reduce the spreading of a target into neighboring zones.

vl53l8cx_set_sharpener_percent(&Dev, 20);

5. Use Strongest target order

This is often more stable in difficult conditions.

vl53l8cx_set_target_order(&Dev, VL53L8CX_TARGET_ORDER_STRONGEST);

6. If Autonomous mode must be used, try increasing the integration time

For example:

vl53l8cx_set_integration_time_ms(&Dev, 10);

or try higher values such as 15 ms or 20 ms.

7. Filter the output using output date

Also, if possible, please check the mechanical setup to reduce direct or reflected daylight entering the FoV.

Hope these can help you, Thanks~

Best regards.

Bin FAN

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.