2023-02-28 09:19 PM
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?
2023-03-06 09:28 AM
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