Distance sensor

Hello everyone,
for a xbee project I have to find a sensor that has the following characteristics:

  • Able to detect a large object at a distance of between 30 and 50 cm
    -Economic
  • Is suitable with Xbee
  • Is suitable for outdoor use
    What do you recommend?
    hello and thanks

I would think any one of the average ultrasonic sensors out there would fit the bill, provided the object will reflect ultrasound.

You could try re-purposing one of the cheap vehicle-reversing alarms that consist of 4 ultrasound transducers and a control module... I think these are down to £20 or so these days.