the data sheet talks about how far it can measure, how much voltage to give it and how reflective surfaces affect it
a diagram showing how reflective surfaces affect it seem to show that it is supposed to be that way but i am not sure if that is just because it is a reflective surface. i built it along with the instructions on the start here bot and code on part 2 suggests i am wrong (ie there is a constant called clear path a head and it is larger than the constant called danger) the graph leads me to think this is how it should be but the start here part 2 code leads me to think it is wrong. that is why i’m confused D:
as stated below, the way it works is by detecting reflected IR light. the closer the object, the more light efficiently light is reflected, the more light shines on the sensor, so the higher the output.
as for the angle of the object, if it is at an angle the ir light will be reflected in that direction, and the beam is strongest in its center. so the more accute the angle, the less light makes it back to the sensor, thus the lower the output signal.
And, it seems to go along with what Davey said. The highest number is the closest measurable range and then from there the numbers decrease as the angle of the beam gets farther away from the center of the sensor.