Ultra Sensor on ardiuno /ostacle avoidin robot/ ???

Hey guys
Im plannin to build a robot that doesnt crush into something.
I know about the controling motors but how can i set the codes from ultrasensor to control motors ?

How much do you know about programming the Arduino or programming in general ?
Have you looked at, tried and understood any examples from the IDE ?

i know about how to control motors in general but nothing more :frowning:

Khatanbold:
i know about how to control motors in general but nothing more :frowning:

Start with the examples in the IDE to get a feel for programming the Arduino. Simple things at first such as the Blink program. Load it, run it then alter it to blink at a different frequency for instance.

What hardware do you have for the robot and ultrasonic sensor ?

Ardiuno Mega

Try some of the examples in the IDE