Hello Community,
I have been looking around for a while and there are so many options for distance sensors.
Which sensor would you recommend to measure the distance from my robot to an object, in this case a glass bottle, with the range 0 to 15/20cm?
I say 0, because it would be nice to know when the robot touches or it’s in contact with the bottle.
Thanks for your knowledgeable advice 
Frank
Hello @FrankLG!
As you mentioned, there are many options when it comes to distance sensors, so the choice will depend on the application.
https://www.seeedstudio.com/blog/2019/12/23/distance-sensors-types-and-selection-guide/
Are you planning to use your robot outside? If not a great option could be a sharp sensor, you can find some great options in the Infrared Range Finders section of the store, for example:
https://www.robotshop.com/en/sharp-gp2y0a41sk0f-ir-range-sensor.html
Keep in mind that most sensors have a “dead zone” so if you want to be sure the robot is in contact with an object a better option might be adding a Contact/Proximity Sensor, like a limit switch.
If you are planning to use it outside an ultrasonic sensor could be a better option as it is not affected by sunlight or if you need a lot of precision and your budget is not that limited a LIDAR is a great option.
I hope that helps!
Dear Geraldine,
Thank you so much for your kind support.
We will be using it inside, so I think a mix of limit switch and an IR or ToF range sensor.
Regards
Frank