Skip to main content
Visitor II
March 1, 2023
Question

vl53l1x gives an incorrect and very inconsistent distance after 40 cm

  • March 1, 2023
  • 1 reply
  • 1111 views

I have two vl53l1x sensors. At first they were working coorectly. But after a while the first one gives right distance but the second one started to doesn't give right distance after 40cm. its regulators output is 3.3V. here is the vl53l1x code that I used.

Is there a possibility that the second vl53l1x is corrupt or how could it be corrupted?

If it is corrupt, why can it read up to 40cm?

    This topic has been closed for replies.

    1 reply

    ST Employee
    March 6, 2023

    I'm going to guess there is a crosstalk issue. If your coverglass gets dirty, more photons will hit the coverglass and return immediately. This will keep the sensor from 'seeing' very far. And it will tend to under-range as well.

    If you are using a glass, try removing it.

    And give the following article a read.

    https://community.st.com/s/article/Time-of-Flight-Cover-glass