Hello!
Some context: I have a vl53l0x TOF distance sensor wired into an Arduino Uno (5V -> 5V, GND -> GND, SCL -> A5, and SDA ->A4). I'm running the Adafruit code and getting good results!
The issue I'm having relates to the range in degrees that the sensor can reach. I am trying to use this to sense the distance of an object in a tube, or in other words a set boundary side-to-side. The sensor is reading incorrect data only when pointed down a fixed straight boundary, like this tube. Just to clarify, when pointed at an object in an open environment the distance is read correctly and the tube I'm using is larger than the sensor itself so there's nothing obstructing the view of the sensor in front of it. I was wondering if there's any way to have the sensor only read distance directly in from of it (0 degrees) in order to alleviate this issue or if there's a way to collimate the data.
I've included a quick sketchup of what I'm trying to do for clarification.
Please let me know if anyone knows anything, thanks!