Autonomous Arduino Tank (A.A.T)

 by That-One-Kid
misc 017.JPG
misc 019.JPG
Hey everyone, this is my very first robot. I'm a 15 year old freshman. I've been interested in robots since the 6th grade and been trying to build one ever since. I've decided to call it A.A.T because it's an autonomous arduino tank, just as the name states.

My robot consist of a reused remote control tank chassis and a couple of other components which can be found below in the "Materials Needed" section. I've never used an Arduino before but I have heard of them since the 7th grade and now I'm psyched in having to use one. I've completed this robot with the help of many sources for example websites, books about Arduinos, family, and friends.
 
Remove these adsRemove these ads by Signing Up

Step 1: Materials Needed

misc 017.JPG
Materials

1. RC Tank Chassis
2. Arduino Uno
3. Breadboard w/ Jumper Wire Set
4. SN754410NE Motor Driver
5. Standard Servo
6. Ping Ultrasonic Range Finder
7. 9 Volt Snap Connector
8. 9 Volt Battery
9. DC Power Plug
10. x4 D Size Batteries
11. x4 D Battery Holder
12. Male Servo Extension 
13. USB A to B Cable
14. 6" x 6" Base Plate (Optional)

Tools

1. Screw Driver Set
2. Hot Glue Gun
3. Solder Pencil



turtledrake says: Apr 24, 2013. 11:17 PM
Great Project!
Two things:
1: You should use perfboard instead of a breadboard for a cleaner and more permanent circuit
2: Radioshack sucks, don't go there. You will be a happier teenager, and not as broke, too.
angpal59 says: Dec 21, 2012. 12:12 AM
(removed by author or community request)
ppanchal1 in reply to angpal59Feb 17, 2013. 6:36 AM
the best way would be to do it all over again
be careful the nxt time u do it
bchristiansen says: Jan 9, 2013. 4:16 PM
looking at the sketch i have not been able to load it correctly, was wondering what is different from the link to the 4 pics you have. the "sketch check" mentions that you dont have a servo type, and i am not sure what pin you are using on the arduino for the servo. I am thinking it is #8 but i have not scanned through the sketch. any help would be nice, i am new and just starting out. thanks.
martzsam says: Dec 28, 2012. 2:41 PM
*hundreds of people chanting*

"Video! Video! Video! Video!"
vek11 says: Sep 3, 2012. 11:05 AM
Hi again, I started using the l293one motor driver without the ping or anything else. I want to ask you how many volts should the battery be and is it normal for the l293 to be very hot very quickly? Heres my program btw:

int motorpin1= 3;
int motorpin2= 4;
int enablepin= 9;
int motorpin3= 5;
int motorpin4= 6;
int enablepin2= 10;

int leftdist, rightdist;
long duration;

void setup()
{
pinMode(motorpin1, OUTPUT);
pinMode(motorpin2, OUTPUT);
pinMode(enablepin, OUTPUT);
pinMode(motorpin3, OUTPUT);
pinMode(motorpin4, OUTPUT);
pinMode(enablepin2, OUTPUT);
digitalWrite(enablepin, HIGH);
digitalWrite(enablepin2, HIGH);
}

void loop()
{

digitalWrite(motorpin1, HIGH);
digitalWrite(motorpin2, HIGH);
digitalWrite(motorpin3, HIGH);
digitalWrite(motorpin4, HIGH);
}
sheriffsparks says: Aug 23, 2012. 5:38 PM
if the next obstruction to the robot's path is far away (i.e. across the room) wouldn't the ping method return "0" and since 0 < 10 the robot would think it ran in to something and search for a better route?
vek11 says: Jul 16, 2012. 5:12 PM
I have a question. Instead of using the motor driver, could I just use a motor shield?
That-One-Kid (author) in reply to vek11Jul 17, 2012. 5:38 PM
Yes you can use a motor shield. But since i was too lazy and didn't want to go to my local Radio shack, i decided to make my own.
vek11 in reply to That-One-KidJul 18, 2012. 2:32 PM
Alright..also, is the code the same if I used a motor shield?
That-One-Kid (author) in reply to vek11Jul 18, 2012. 8:28 PM
It should be, there aren't many differences with the SN754410NE motor driver and the L293D motor driver. They're pretty much the same thing except that the SN754410NE is made by Texas Instruments.
vek11 in reply to That-One-KidJul 20, 2012. 7:55 AM
okay, thanks bro!
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!