how to Measure distance with photo transistor and led

google -optical or ultrasonic distance meter arduino