Ultrasonic Range Finder (#28015)

I have use alot of codes for my school project to detect the distance my arduino have from the object, but my readings has always been zero no matter what code i used. Is there any suitable code that i can use?

is your device like a PING ultrasonic sensor? You can find some tutorial here http://arduino.cc/en/Tutorial/Ping?from=Tutorial.UltrasoundSensor

See:http://learn.parallax.com/KickStart/28015 Arduino use is at the bottom of the page. Google is your friend!