Arduino – Interface with Sharp GP2Y0A02 (infrared distance sensor)
If you plan to measure the distance you can always use a cheap infrared distance sensor like Sharp GP2Y0A02. It is really easy to make an interface to it using Arduino. Link to the project : click here