Use Maxbotix Maxsonar and Arduino as a proximity sensor.