The IR Range Sensor: Data

The Program In Action
           Below is a test video of the program we developed on the previous page. It does exactly what we programmed it to do. The range of this sensor is very limited so even slight movements can have dramatic effects on the ouput.



           Using any of the other sharp IR range sensors would output similar results just at different ranges. Some examples of different ranges are: 10cm-80cm, 20cm-150cm, 1m-5.5m. These can all be purchased for relatively cheap at less than $20.
           One additional thing to note is that the curve shown for the IR sensors follows no known function. This means that it is difficult to model programmatically. One method to cure this is to invert the distance and add an extra parameter. This can be found in the datasheet and provides a linear curve which is exactly what we want.



;