cancel
Showing results for 
Search instead for 
Did you mean: 

What to change in order to range under high ambient light conditions (VL6180x)

Jhern.1
Associate II

Hello,

I am trying some settings on VL6180x for avoing "Max_Signal_To_Noise_Ratio" when ranginf under sunlight conditions.

I have tried to disable DMAX (#define DEF_DMAX_ENABLE     0), but still I get the MAX snr errror.

I have been trying to set other limit to SNR, Which I managed to do it, But no succes when ranging at sunlight.

I do not need high accuracy.

Regards, Ramon.

5 REPLIES 5
Anne BIGOT
ST Employee

Hello Ramon,

You can try to reduce the noise by setting the readout__averaging_sample_period register

readout__averaging_sample_period: The internal readout averaging sample period can be

adjusted from 0 to 255. Increasing the sampling period decreases noise but also reduces the

effective max convergence time and increases power consumption:

You can find more details in the datasheet of the VL6180X here

Anne


Our community relies on fruitful exchanges and good quality content. You can thank and reward helpful and positive contributions by marking them as 'Accept as Solution'. When marking a solution, make sure it answers your original question or issue that you raised.

ST Employees that act as moderators have the right to accept the solution, judging by their expertise. This helps other community members identify useful discussions and refrain from raising the same question. If you notice any false behavior or abuse of the action, do not hesitate to 'Report Inappropriate Content'
Jhern.1
Associate II

Hello Anne,

Thanks for answering.

Note the error is given due to high ambient light.

0693W00000Npuf4QAB.pngDo you think by using longer sampling periods I can minimize the effect of the light?

Regards, Ramon.

Anne BIGOT
ST Employee

Hello,

Unless you really want to use the VL6180X, it is better to switch to the VL53L4CD outdoor. Please buy the evaluation kit and try it : P-NUCLEO-53L4A1.

Anne


Our community relies on fruitful exchanges and good quality content. You can thank and reward helpful and positive contributions by marking them as 'Accept as Solution'. When marking a solution, make sure it answers your original question or issue that you raised.

ST Employees that act as moderators have the right to accept the solution, judging by their expertise. This helps other community members identify useful discussions and refrain from raising the same question. If you notice any false behavior or abuse of the action, do not hesitate to 'Report Inappropriate Content'
Jhern.1
Associate II

Hi,

Thanks for your answer,

I see you can range up to 130cm with this part. I just need to range up to 15 cm. I have a solid obstacle at 15 cm and I need to detect objects between sensor and obstacle.

Do you think this part is ok for ranging at 15 cm maximum?

Regards, Ramon.

Anne BIGOT
ST Employee

Hello,

The VL53L4CD is a close distance sensor so it is OK for ranging at 15 cm.
Regards

 


Our community relies on fruitful exchanges and good quality content. You can thank and reward helpful and positive contributions by marking them as 'Accept as Solution'. When marking a solution, make sure it answers your original question or issue that you raised.

ST Employees that act as moderators have the right to accept the solution, judging by their expertise. This helps other community members identify useful discussions and refrain from raising the same question. If you notice any false behavior or abuse of the action, do not hesitate to 'Report Inappropriate Content'