I have got a strange problem trying to use a VL53LOX flight of time sensor for messuring the distance to an object.
My problem is that when I put the object I want to locate in the direction of the laser I get a correct reading ... but when there is no object in the direction of the sensor I get readings arround 170 mm.
This is extremly annoying as I have no way to know if there really is an object located in 170 mm distance or if there i no object at all. (In the beginning I thought that 170 mm might be the max disctance that I can meassure with this sensor but when I move an object in the beam "behind" the 170 mm I get instantly a reading of e.g. 240 mm.
Any idea what could cause this problem and how to fix it?
I want to use the laser to locate an object in a field (by rotating the laser) ... therefore I need some value that tells me that no object was in range (either 999, or Timer Overflow,... or whatever).