Roving robot

Sorry I've been too busy with my uni project to browse the arduino forums lately.

Fredrik, thanks for the answer, you are exactly right!

I bought my ultrasonic sensor here:

I've connected the analog output directly to an analog-in to read the distance.

Good luck!

-Z-