Home > Projects > Robotics – Automation Projects > Low-Cost, Arduino-Compatible Drawing Robot

Low-Cost, Arduino-Compatible Drawing Robot

Summary of Low-Cost, Arduino-Compatible Drawing Robot


This article outlines a low-cost, Arduino-compatible drawing robot designed for a STEM workshop. Built with 3D-printed parts and stepper motors, it uses Turtle graphics to create interesting plots while remaining easy to program and assemble. The project emphasizes open-source principles and affordability, allowing participants to take the device home.

Parts used in the Drawing Robot:

  • Adafruit Pro Trinket 3V
  • Geared 5V Stepper
  • ULN2803 Darlington Driver
  • Half-size breadboard
  • Male-male jumpers
  • Micro servo
  • SPDT slide switch
  • Male pin header
  • 2 x AA Holder
  • USB micro cable
  • AA Batteries
  • 1 7/8" ID x 1/8" O-ring
  • Caster 5/8" bearing
  • M3 x 8mm pan head screw
  • M3 x 6mm flat head screw
  • M3 Nut
  • Ball bearing caster 3D print
  • Chassis 3D print
  • Wheels (x2) 3D print
  • Stepper bracket (x2) 3D print
  • Pen Holder / servo bracket 3D print
  • Pen Collar 3D print
  • Phillips screw driver
  • Hot glue gun
  • Digital multi-meter
  • Sharp knife
  • Crayola colored markers

I designed this project for a 10-hour workshop for ChickTech.org whose goal is to introduce teenage women to STEM topics. The goals for this project were:

  • Easy to build.
  • Easy to program.
  • Did something interesting.
  • Low-cost so participants could take it home and continue to learn.

With those goals in mind, here were a couple of the design choices:

  • Arduino compatible for ease of programming.
  • 4xAA battery power for cost and availability.
  • Stepper motors for accurate motion.
  • 3D Printed for ease of customization.
  • Pen plotting with Turtle graphics for interesting output.
  • Open Source so you could make one of your own!

Here is the robot that came closest to what I wanted to do: http://mirobot.io. I don’t have a laser cutter and shipping from England was prohibitive. I do have a 3D printer, so I guess you can see where this is going . . .

Don’t let the lack of a 3D printer deter you. You can locate local hobbyists willing to help you out at https://www.3dhubs.com/.

This project is licenced under Creative Commons, and utilizes 3D parts based on designs by others (as indicated in the next section), the most restrictive of which is the wheel, which is Non-Commercial. That means this project must also be Non-Commercial. Don’t be this guy.

Step 1: Parts

There are a number of ways to power, drive, and control robots. You may have different parts on hand that will work, but these are the ones I’ve tried and found to work well:

Electronics:

*Note: See the last step for a discussion on using regular Arduino or Raspberry Pi boards.

Hardware:

3D-Printed Parts (check out www.3dhubs.com if you don’t have access to a printer):

* Note: CC BY-NC is a non-commercial licence

Tools and Supplies:

  • Phillips screw driver
  • Hot glue gun
  • Digital multi-meter
  • Sharp knife
  • Crayola colored markers

Step 2: Flash the Firmware

Before we get too far into construction, lets load the test firmware on to the microcontroller. The test program just draws for boxes so we can check for proper direction and dimension.

To talk to the Trinket Pro, you are going to need:

  1. Driver from https://learn.adafruit.com/introducing-pro-trinket…
  2. Arduino software from https://learn.adafruit.com/introducing-pro-trinket…

Lady Ada and the Adafruit team have created a far better set of instructions in the links above than I can provide. Please use them if you are stuck.

Note: The one trick that makes the Trinket different from regular Arduino is that you have to reset the board before uploading the sketch.

Step 3: Pen Holder and Battery Holders

  1. Install the Pen Holder with the Servo Bracket on the shorter side of the chassis (Image 1).
  2. Insert the nuts on the top side of the chassis (Image 2)
  3. Attach the battery holders on the bottom of the chassis using 3Mx6mm flat-head screws (Images 3 & 4).
  4. Thread the battery leads through the rectangular cable runs (Image 4 & 5).
  5. Repeat for the other battery holder.

Note: Unless specified, the remainder of the screws are 3Mx8mm pan head srews.

Step 4: Wheels

  1. Test fit your wheel to the stepper shaft (Image 1).
    1. If it is too tight, you can heat the wheel hub with a hair drier or hot air gun and then insert the shaft.
    2. If it is too loose, you can use a 3Mx8mm screw to hold it against the flat of the shaft (Image 2).
    3. If you are a perfectionist, you can calibrate your printer and get it just right.
  2. Place the o-ring around the rim of the wheel (Image 3 & 4).
  3. Repeat for the other wheel.

Step 5: Stepper Backets

  1. Insert a nut into the stepper bracket and attach them to the top of the chassis with a screw (Image 1).
  2. Insert the stepper into the bracket and attach with screws and nuts.
  3. Repeat for the other bracket.

Step 6: Caster

  1. Insert the ball bearing into the caster.
    • Do not force it in or it will break. Use a hair-drier or hot air gun to soften the material if needed.
  2. Attach the caster to the bottom side of the chassis in front of the battery holder.

Read more: Low-Cost, Arduino-Compatible Drawing Robot

Quick Solutions to Questions related to Drawing Robot:

  • What are the main design goals of this project?
    The goals were to be easy to build, easy to program, do something interesting, and remain low-cost so participants can take it home.
  • Can I use a regular Arduino or Raspberry Pi instead of the Pro Trinket?
    Yes, the article notes that using regular Arduino or Raspberry Pi boards is possible as discussed in the last step.
  • How do I flash the firmware onto the microcontroller?
    You need the Adafruit driver and Arduino software; you must reset the board before uploading the sketch because the Trinket differs from regular Arduinos.
  • What should I do if the wheel fits too tightly on the stepper shaft?
    You can heat the wheel hub with a hair drier or hot air gun to soften it before inserting the shaft.
  • Is there an alternative if I do not have a 3D printer?
    You can locate local hobbyists willing to help you out at https://www.3dhubs.com/.
  • What licensing restrictions apply to this project?
    The project is licensed under Creative Commons and must be Non-Commercial due to the restrictive license on the wheels.
  • Which specific screws are used for attaching battery holders?
    3Mx6mm flat-head screws are used to attach the battery holders to the bottom of the chassis.
  • What tool is recommended to prevent breaking the ball bearing during installation?
    A hair-drier or hot air gun should be used to soften the material if needed when inserting the ball bearing into the caster.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top