cancel
Showing results for 
Search instead for 
Did you mean: 

I have been using vl53l1x TOF sensor for finding distance. When I have tested in an open environment. I'm getting very unusual values, I'm not able to understand this values.

Aperu.11
Associate

0693W000004IF45QAG.pngCould someone explain me what's going on when this sensor is placed in front of uneven surface such as stairs in open area. i'm attaching images of readings X-axis is sample number and y-axis is distance in mm. Samples are taken for every 100msec. Reading are varying from 200 to 4000 mm. I want to know just where the object is. It is tested in ambient light.

2 REPLIES 2
John E KVAM
ST Employee

In order to understand the distance measurement, you have to read the RangeStatus as well.

The RangeStatus will tell you if there is anything odd about your data.

You might find that the signal is completely swamped by the ambient light.

(remember that the only ambient light that counts is at 940nm. Sunlight and strong halogen lights are the only real sources of this.)

Try increasing your timing budget. 4x the timing budget = 2x the accuracy.

If you have the evaluation kit, use that, and turn on logging. Then go to the log tab, and look at the data. Instead of clicking on the log file, try right-clicking and hitting open. It will open the a spreadsheet.

You answer is sure to be in there.

  • john

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'

Thank you @John E KVAM​