This project is used to measure the distance of the obstacles.Ultrasonic range module is used to measure the distance.The video contains complete tutorial.
Ultrasonic Rangefinder with Processing
Obstacle distance is measured using ultrasonic sensor and Arduino. The data is processed using Processing and the distance is marked.
AdvancedShowcase (no instructions)11,177
Thanks to Vaisakh .