I have to choose between the following two distance sensors:
https://www.pololu.com/catalog/product/1136
https://www.pololu.com/catalog/product/1137
One has range 4-30 cm but greater accuracy and the other has range 20-150 but less accuracy.
I want to make a robot that moves towards a wall and stops when 25cm from it.
If I am using the 20-150 range one, I get less accuracy.
If I am using the 4-30 range one, the initial position of the robot will be out of range for the sensor:
**broken link removed**
When out of range, if the sensor gives an output which is less than 0.3V we can still compare the distance of the robot from the wall with a reference voltage.
BUT
If it actually goes above 0.3V (breaks the trend of the graph beyond its range), then it can cause trouble. Does this happen or can I confidently use this sensor beyond its range?
https://www.pololu.com/catalog/product/1136
https://www.pololu.com/catalog/product/1137
One has range 4-30 cm but greater accuracy and the other has range 20-150 but less accuracy.
I want to make a robot that moves towards a wall and stops when 25cm from it.
If I am using the 20-150 range one, I get less accuracy.
If I am using the 4-30 range one, the initial position of the robot will be out of range for the sensor:
**broken link removed**
When out of range, if the sensor gives an output which is less than 0.3V we can still compare the distance of the robot from the wall with a reference voltage.
BUT
If it actually goes above 0.3V (breaks the trend of the graph beyond its range), then it can cause trouble. Does this happen or can I confidently use this sensor beyond its range?