Using the HC-SR04 Ultra Sonic sensor with an Arduino we have created a circuit to light an LED when an object is detected less than 30cm away. This is the begining program for creating a obstacle avoidance program for driving an autonomous robot car.