An ultrasonic distance sensor can be used to help your robot detect obstacles. This sensor from Seeed Studio is very easy to use and has excellent performance.
Please Note: This sensor doesn't come with a cable, so you will need a 3 wire cable such as this one to connect it to a controller board.
Features
Posted by Unknown on 22nd Sep 2015
used with the Raspberry Pi Camera Robot - Chassis Bundle. Works like a charms
Posted by Raymond Gilchrist on 17th Jun 2014
Brilliant, I had so much fun with this project, Ultrasonic sensor adds a new dimension to the project, the range finder is very useful, my RasPi robot project is very interesting and a great talking point.
https://plus.google.com/u/0/b/108920145672941052693/108920145672941052693/posts