Watch this video and see how this Arduino compatible tiny proximity sensor runs through the web in real-time. This is really cool!
Other types of micro sensors are also available such as: