For my microcontrollers class, our last project involves a robot that is programmed to avoid hitting a wall (just randomly roaming around). My question is, what is the best setup for an IR proximity sensor, or is there a better option? I want to avoid limit switches and anything that involves physical contact with the wall.