Arduino Code: DOWNLOAD
It is a very popular project. You can get full instructions for making this project on http://www.arduino.cc/en/Tutorial/Ping.
In the site, you can see other projects related to ultrasonic range finder.
You have to connect the range finder to the arduino board in the following way.
Connect SIG pin of range finder to DIG 7 pin of arduino board.
Click on the video to see the output
EasyEDA: Ideas for Circuit Design, Innovation for Electronics Access
Free Circuit Design: Schematic - Simulation - PCB Layout - Gerber Viewer
JLCPCB Prototype & Small-batch PCB: Only $2 for 10pcs 10×10cm PCBs, 24 hours Quick Turn, DHL Delivery in 3 Days