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)10,450
Thanks to Vaisakh .