vl53l0x-arduino icon indicating copy to clipboard operation
vl53l0x-arduino copied to clipboard

Sensor time out after day's of operation

Open martin072 opened this issue 4 years ago • 0 comments

I am using you library with 2 vl53l0x sensors, and noticed a recent change in behaviour. After a random amount of time, ranging from ~20 hours to a few days, the sensors start to time out. I have 2 sensors connected to an wemos d1 mini. The cause might have been related to updating to the latest library.

I've updated the sketch a few days ago, and sinds then the sensors seem to start timing out, i.e giving a range of 65535. Sometimes it is only one of the sensors, but mostly both will stop working.

The Library I used was 1.0.2 and now I am using the latest available. I do not really know if this is the cause, but since nothing else changed, I thought this might be a starting point..

A soft reset will get the sensors back up again, so not a real issue, but it would be nice to run the ESP without resetting it all the time.

any idea why this could be happening?

martin072 avatar Apr 25 '20 11:04 martin072