Let's Make Robots!


Avoid obstacles
Fab.pde1.8 KB

This is my first arduino robot.

FAB : First Arduino Bot

I used roboshield for this project which i bought for Rs 400 ( $9 approx.).

i have attached the code.The code is very simple one.

This is the base for my robot. The gta dvd was not working so i used it for this purpose.






Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

i'm using the same roboshield ur using....

    where do i connect the enableA INPUT A INPUT A+ in the shield and the same for enable B INPUT B AND INPUT B+...

Aalso i'm using a normal IR sensor instead of a sharp..will it work...

i'm using this sensor   


pls help me..

I would never recommend anyone to use that shield because the pin names for enable and inputs for motors are wrong.

It would take trial and error method to determine which pin is what or contact the supplier.

i cant buy a shield now..what do yu suggest i do in the mean tym...

now i've plugged in the enable a and b to a pmw digital slot and the input slot to 2 other digital's....do you think this is the right approach..


you can make use of breadboard instead of shield.Check out this

thnx...but  dis is my 1st robot...do yu think i should proceed with the bread board...nd i'm using  an ir sensor which i've mentioned b4...do yu suggest i continue with it or you suggest I buy a SHARP

heres one shield you can buy

I also wanted to ask that did u hook up the motor MOTOR A and B or the output pins? If A and B then which pins are they connected to?


A is connected to two wires of  one motor and B is connected to two wires of other motor.

No no .. I know that I wanted to ask which pins of the arduino are the MOTOR A and B connected to...


You can use any of the digital pins of arduino.