Author Options:

My First Arduino Object Avoiding Robot!!! Answered

Hey guys I am making my very first robot and have been researching for a while now......i have the parts but i am blank on what to do with them.

I have: 

2 DC motors
1 Ultrasonic sensor
Arduino Uno
1 L293D (IC)
1 breadboard
jumper cables
1 mini servo
a power source for 4 AA batteries
Robot chasis

I want that the robot goes front and stops when object is near then looks right and left and moves accordingly..... Now keep in mind that i have 2 DC motors and NOT SERVOS so how should i program this or connect all the parts so that it works......PLZZZ do help its urgent.


The forums are retiring in 2021 and are now closed for new topics and comments.