obstacle avoiding robot

If you are just starting out, we recommend that you buy an Arduino and work your way through the examples that come with the software development package -- blink lights, read buttons, read ADC inputs, etc. These will be very important for developing your robot software.