playing with a HC-SR04 Ultrasonic sensor and a external library new ping: https://code.google.com/p/arduino-new-ping/