Ultrasonic sensors are not affected by the color of the object and they can detect small objects over long distances. Ultrasonic sensors can measure the distance to a wide range of objects regardless of shape, color or surface texture. They are also able to measure an approaching or receding object.