Question
Inconsistent behaviour of VL53L1X ToF Sensors
Hi, We have been testing the VL53L1X for a while. The primary intend is to measure liquid level. Liquid can be water, coffee, windshield washer fluid, etc. We are seeing some issues that we cannot seem to figure out. Hoping for any insights.
Premise.
- We are using Arduino platform for testing.
- We have tried multiple libraries (sparkfun, polulu, etc)
- Test involves a large container filled with liquid (say 10 inches), and sensors are placed above the liquid at 3-5 inches from the surface of the liquid (13-15 inches from the bottom of the container). Readings are taken every few seconds.
Concerns.
- When we have multiple identical sensors placed over the liquid, We observe a variation in measurement of upto an inch in some sensors, which is a huge percentage error. Is this normal? Just need to set offset adjustment?
- We did read somewhere that liquids can absorb some light. However, when we start the test, it looks like the sensor readings make sense. ie IT measures around 4 inches. (disregarding offsets). But after a week or so, some sensors start to pick up 10 to 14 inches. The only thing we can think of is that the light is bouncing from the bottom? Nothing has changed as far as the setup and liquid content goes. What could be causing this sudden difference?
- Say if a sensor has an offset of 10mm, is it necessary/mandatory that we do the offset calibration on the sensor itself, or can we get the reading and correct it at a later stage in software? In other words, is this just an offset adjustment or a calibration where there is some kind of calibration curve that is being adjusted?
