Introduction: Arduino Drawbot

Picture of Arduino Drawbot
In some of my previous Arduino instructurables I have show to the Arduino beginers on how to control servos in different ways.
And in my last instructurable I have show the modification of a Parallax servo for a 360º rotation.
So in this one I will show Arduino beginers the use of those 360º rotation servos.
With that in mind we will make our first ROBOT. It will be a simple bot called The DrawBot
For the some of the materials just look around the house and recycle it for the DrawBot to be made
NOTE: The code and the idea was taken from around the internet. And again there are tutorials showing you this simple DrawBot or the 5 Minute Drawbot but they're not clear enough for the beginner. All the electronics were bought @ RADIOSHACK.

Enjoy ;

Step 1: Materials

Picture of Materials

The following will be divided in categories and in no particular order:

          1.  Drill with a drill bit (size depends on the diameter of the marker)
          2.  Screwdriver to attach the wheels to the servos.

          1. (X2) spray paint can caps.
          2. (X2) small screws
          3. (X3) rubber bands
          4.  Piece of wood ( size, shape and thickness could be any to fit all the parts)
          5. Arduino UNO Rev3
          6. Breadboard
          7. (9V) battery
          8. (9V) connection harness to provide power to the Arduino.
          9. (X4) wires for all the connections.
         10. A marker ( any color)
         11. (X2) Parallax Servos with the 360º MOD
         12. 12 pin connector         
         13. USB cable to prgram the Arduino.
         14. Something to add traction to the wheels ( I have use from lego, two rubber tires, but you can use any electrical tape also).

               Arduino software (to upload the code)

Step 2: Step 1

Picture of Step 1

Cut a piece of wood. Mine is 8 inches long. Then drill a hole in one of the sides ( I was drilling and measuring with the marker so it could fit in the hole. But the key is not to make the hole too big so the marker would'nt be loose as you see on the picture. If is loose in the hole the just add a piece of tape around it to make the marker more thick for the hole).
The piece of wood I am using is a 2'' wide by 1/4'' of thickness.
You can use whatever you got (plastic, metal or even a good piece of cardboard)

Step 3: Step1 (Bread Board)

Picture of Step1 (Bread Board)

Use the rubberband to hold the breadboard in place as you see on the picture.

Step 4: Step 3 (Arduino)

Picture of Step 3 (Arduino)

And again use the rubberband  for the Arduino as well.

Step 5: Step 4 (Servos)

Picture of Step 4 (Servos)

Attach the two servos to the base (wood piece).
Also it is a good practice to write in the back of the base the letters L and R to make the final connections of the servos easy. ;)

Step 6: Step 5 (Wheels)

Picture of Step 5 (Wheels)

Attach the caps to the servo arm with two screws. And the one in the middle attach it to the servo.
You don't need to drill a hole here, the plastic is thin for the screws to go through.
Then add the traction to the caps, it could be electrical tape. ( I have use rubber tires from a lego)

Step 7: Step 6 (First Connection)

Picture of Step 6 (First Connection)

The following connection is to provide power to the servos.
Notice that I have use a 12 pin connector to connect the servosto the breadboard.

Step 8: Step 7 (Second Connection)

Picture of Step 7 (Second Connection)

First: Connect the 5V connection from the Arduino to the breadboard.
Second: Connect the GND connection from the Arduino to the breadboard.
NOTE: (BreadBoard Basics) 
When you make a connection from the Arduino to the breadboard it will provide either power or a Pin function connection to the whole row.

Step 9: Step 8 (Third Connection)

Picture of Step 8 (Third Connection)

First: Connect the pin 9 from the Arduino to the breadboard for the Left Servo and that is the white cable connection of the servo.
Second: Connect the pin 10 from the Arduino to the breadboard for the Right Servo and that is the white cable connection of the servo
Look at the pictures to have a clear understanding on how the connections go.

Step 10: Step 9 (Fourth Connection)

Picture of Step 9 (Fourth Connection)

Connect the servos to the breadboard.
Make sure the white cable connection on the servo is were the pins to the Arduino are.
As you see on the second picture I have run the cables under the Drawbot  to make everything clean and organized. ;)

Step 11: Step 11 (Programing)

Picture of Step 11 (Programing)

Here is the code for our Drawbot.
The code was found on the internet and I have use it and it is working.
AWAYS COMPILE the code before uploading it to the Arduino ;)


* 5 Minute Drawbot.pde

int servoPinL = 9;
int servoPinR = 10;

void setup() {

void loop() {

Step 12: Step 12 (Power)

Picture of Step 12 (Power)

Not much to say here just attach the 9V battery to the DrawBot and connect it to the Arduino.
Watch it making circles, as you can change the markers to make different circles in different colors.
I have use a sharpie but I rather use a washable one in case of an accident.

ENJOY your first ARDUINO BOT  ;)

Step 13: Troubleshooting

Picture of Troubleshooting

1. The marker is loose and the hole is too big.
A. Put some tape arround the marker to make it fit. 
2. What else can I use as wheels?
A. There is a lot of stuff to use an example is tupperware tops or lids.
3. The servos wont move.
A. Make sure all the connections are not loose double check them.
A. Also make sure the 9V batterty is new this servos will drain all its power.
4. When connected to the power I have check all connections still servos wont move.
A. Double check that you upload the code to the Arduino, and when connected to the power you don't see servos move a little
     it means that there is no code running in the Arduino.
          When the power is connected if you dont see any light on the Arduino that means the battery does not have any power.

Any help needed let me know I will be glad to help all of you.



Alicianireland (author)2016-05-22

I'm in physics and am trying to remake this project! I'm confused about what the orange and yellow wires in the breadboard are and if they have to be specific types of wires?

not really they are just proto wires for breadboards

AmbErR54 (author)2016-08-10

can we make it with arduino nano 3.0???

biomech75 (author)AmbErR542016-08-28

yes you can use a NANO for this project as well!!!

sri sudheera (author)2015-09-14

can we use dc motors instead of parllax servos with same aurdino code..?

biomech75 (author)sri sudheera2016-04-22

Yes,,, you can ;) !!!

amehta8 (author)2016-01-14

can we draw another objects using same machine but different code

jjfishboy (author)2014-01-26

this is such a good idea! could try 4wd + rotating pen. keep up the good work!

biomech75 (author)jjfishboy2014-09-10

The code was from the arduino web site

jjfishboy (author)biomech752014-09-10

Great, thanks!

sdesilva (author)2013-06-18

very interesting and amazing. Can't we develop this project with a 3D scanner. It means first scan the image and draw it. I think you have a idea. I am waiting from your response.God Bless and Grate day.

biomech75 (author)sdesilva2014-09-10

umm!!! interesting I will try something like that

jjfishboy (author)2014-01-26

where did you get the code from?

biomech75 (author)2013-02-05

You are very right JoshuaZimmerman

BrownDogGadgets (author)2012-05-06

Or you could just buy a really small 9V to 2.1mm plug connector. Simple and easy to use.

You can also find connectors with built in switches and hard cases.

ElectroFlex (author)2012-05-05

How do you go about plugging a nine volt into the arduino? Which ports do I use?

biomech75 (author)ElectroFlex2012-05-05

1. You need this connector for the battery look at the link for a clear picture
2. And this picture will help you see the connector to provide power to the arduino.
3. And here is were you connect the 9V battery to the Arduino.

About This Instructable




Bio: Evo 8, Honda K, B Engines Mods
More by biomech75:Arduino thumbstick controllerArduino+Servo+PotentiometerArduino Robotic Arm
Add instructable to: