Build a robot that senses obstacles and turns away automatically.
The ultrasonic sensor measures distance. If an object is too close, the robot stops, looks for a safer direction, and turns.