Playground.arduino.cc will be read-only starting December 31st, 2018. For more info pleae look at this Forum Post

SRF08 & SRF02 Ultra Sonic Range Finder

SRF08 SensorSRF02 Sensor

Circuit

Below is the diagram for setting up the SRF08 sensor or the SRF02 sensor for a typical Arduino. The only additional circuitries necessary are two 1.8kOhm pull-up resistors as seen below.

Circuit diagram

BreadBoard

Code

Useful Links