I am young person with a arduino and I would want you help me with program for a robot that I make.
Motor 1 movement front behind.
Motor 2 left right.
The robot is moved front with Motor 1, when finds obstacle the left IR sensor Motor 1 stops, and turns Motor 2 for 1 second right, stops and repeats the movement front in Motor 1 The himself it becomes with the right IR of sensor making him Motor 2 turn for 1 second left.
Start simple and build up.
Don't put it all together and expect it all to work, or be easy to debug.
Make sure you've got simple sketches to test all of your components in isolation from each other.
Gather all of the information that you can about each item you have (the links you provided have lots of information), useful Arduino libraries, similar system forum threads, etc.
Get each item to work on its own and then with the other subassembly parts (i.e. ir led with ir sensor, motor with motor controller). Make code to control each part/subassembly.
Combine all of the parts on a prototype board and try to combine the code so that everything works together how you want it.
Place all of the parts on permanent boards and structures.
I am relatively new to microcontrollers and I find that that is a good strategy. There is a steep learning curve but the more you work with various parts, the easier it is to make larger assemblies work. If your robot project gets too tough for you, think of easier/smaller projects to build up your knowledge.
Thank you very much for the answer but I cannot accomplish alone me such something. I believe that if I had my ready code it would be easier I see that it works. It does not tease, rather him I will abandon because to me it appears very difficult. I thank you, and my apology for English (http://babelfish.yahoo.com)
Have a look around the Playground and at the examples for the libraries.
There is plenty of working code with explanations there.
Until you have a clear idea of what it is you want to do, and how you think you want to get there, it is going to be difficult to be more specific.
Google is your friend.
Are you saying you need to learn programming, or do you need help with a particular aspect of programming the Arduino?
Have you tried any of the examples in the Playground and examples?
Do you understand how they work and what is different about them and what you want to achieve?
Tell us what you have done, what you want to do and we'll probably be able to help, but asking for "code" when we've got no idea what you've got is pointless.