The DrawBot (est. Summer 2026) [ALSO COLLEGE PORTFOLIO]

Overview

Before DrawBot, all of my projects were programs. But then I started watching videos of cool robots on the internet (Boston Dynamics and Aaed Musa) and wanted in. Besides, I have a 3D printer and a butt ton of tools, so it would be a waste not to build something cool.

DrawBot is my first big project with hardware, and it’s one of my favorites so far. My goal is to eventually have the robot take in a photo of a sketch on paper, determine where the markings are on the paper, and then copy that drawing on a blank sheet.

There was just one problem with that goal: this is my first time building a full-blown robot, so everything that could possibly go wrong has.

The Code

This was one of the easier parts of DrawBot, because I have already done work with Python and OpenCV before.

What my code does is take in an image of the user’s choice, then displays it as a collection of black pixels where the DrawBot will draw.

Here is a demo:

The code doesn’t work on photos in color, but that’s ok, because it is only meant to capture Sharpie sketches anyway. The image of the toilet paper roll created by the code looks blockier, because now the image is measured in terms of millimeters rather than pixels (because Sharpies have thick ink).

The CAD

This was another easy part of the project, because it’s the only part that was on the computer. Here in Imagination Land (ONSHAPE) everything is theoretical and perfect, needing no manipulation to remain perfect. Here are some examples of my CAD (I had WAY more than this…):

Paper Platform (The Beginning of the Real Stuff)

DrawBot is designed to work like a 3D printer, but instead of having a nozzle that shoots plastic it has a sharpie.

And like a 3D printer, it needs a platform that can move back and forth in the Y direction.

Sadly, my 3D printer is small. So I Needed to split the platform into several attachable parts:

Before this project I defaulted to hot Glue as the ideal way of Keeping things together. That won’t slide for DrawBot (because it has a lot of Moving parts), so I started using screws finally. I learned how to drill holes into PLA for the first time.

For the platform specifically I also used puzzle preserver as a way to keep it from sagging with weight and time.

And after putting it on linear bearings and slapping on some steel rods, I had the Y Assembly (minus the motor) done:

The XZ Motor Assembly

Another way DrawBot is similar to a 3D printer is that it has two motors to move the extruder (the pen) up and down, with an attached X motor to move it left and right.

With the CAD done on the computer, I just had to make it real:

(The orange stuff on the right side are parts of my 3D printer, my inspiration for DrawBot’s design)

You can see two motors in the top photo, because one of them is the X Motor (left and right). I decided to 3D print the pulleys for the X direction instead of buying them to save money, and they spin pretty smoothly.

But this was also where I learned how bad I am at screwing things. I had to drill holes for the screws of the brass bits (the bits that allowed the assembly to move up and down whenever the Z motors spun), and that took way longer than it should have.

And that was only the beginning of my hardware problems.

When I ran out of the plastic I already had in the house, I got some fresh green PLA from the MicroCenter in Cambridge and started to print the frame:

There were several parts of DrawBot that I had to redesign and reprint. Though infuriating, it’s a good thing that I decided to print everything before making it absolutely perfect on the computer. The best way to find faults is by trying things out first, and I took that wholeheartedly.

There were a LOT of problems.

At one point my X assembly snapped:

So I reprinted it with the new green plastic:

(In comparison to my old assembly this looks fresh to death, so I’m happy)

I also had to print four different versions of the Sharpie holder, because the first three had slightly off dimensions:

(You can see how the sharpie peeps out from the bottom there, this is what will do the drawing. That black strip looping to the ground is the pulley belt that will connect the motors to the Sharpie)

I even had to reprint the paper platform (to be a better design when I added the pulley belt):

But it was worth it in the end to see my platform move by spinning the motor (with my hand):

These are all examples of how I learned the value of experimentation; I made progress a lot quicker just by trying things out instead of perfecting them on the computer first.

That was the hardware part done. It was then time for everything else.

The Circuit 💀

This project involved by far the most circuitry and wiring I’ve ever done.

I first had to find a good computer board that could control my four motors (I gave them all names after all of the fun times we’ve had: X Y Z1 and Z2). I decided on the ESP32S3, and then printed a frame for it to go into:

The orange and yellow wires tell the motors what direction and amount of steps to spin at. The red and black wires serve as the power for the logic going on in my TMC2209 motor drivers (four of them):

And after looking up what wires to put where (I had a lot leftover from an old project), I made my circuit connecting my power supply, drivers, motors and computer board:

I called this a “jungle circuit” because it looked like a hot mess. I even used twist ties (what you use for bread loaves) because I thought we had no zip ties.

In theory this should’ve worked, but my motors weren’t moving when I ran my code:

So I put caps on all of the exposed copper to prevent any short circuits. Nothing. I bought screw terminals to ensure a stronger connection of wires to my drivers. Still nothing. I even took the motors off of the frame to redo the entire circuit on my desk:

But still nothing when I put it back together. And after days of banging my head against the wall searching for a solution, I found the issue: I was using the wrong command to start my program. And so by putting in:

I finally got my X Motor to spin:

Even though you can’t tell in the video, I was really happy the first time it worked.

And then a little later, I got every motor in the circuit to spin:

The Tragic Aftermath

Of course-because it’s in my nature-my success was short lived. I began to zip tie the circuit very quickly, because I wanted to make it as stable and portable as possible (to get it from my desk to DrawBot’s frame).

But sometime in that process, I either plugged in the board to my computer wrong or the wrong wires touched, because the board began to heat up very quickly whenever connected to any power.

Because my board was broken, I ordered another one which came in on Sunday:

After getting the X assembly set up I tested it out with the new ESP, and for the first time it worked!

The Z Assembly (and two more Tragedies…)

With the X and Y assemblies done, that just left the Z assembly (up and down). The left z motor doesn’t work as well, and I learned that for it to spin at the same rate as the one on the right (which is crucial), something needs to be pressing down on it. So I got an Irwin Quick Grip (a handheld vice) on the main body of the motor, and it worked. Both motors moved down at the same rate, effectively lowering the pen :)

In the joy that followed, I was uncareful and assumed that it would work the same upward. So then I wrote some code to make the z motors move up and down several times.

I quickly learned that the left motor doesn’t work up, because my Z assembly got all crooked, and when the motors jammed, 20 volts of electricity were shoved into my second ESP, breaking it.

So I had to buy ANOTHER ESP, and I knew that next time I would test the motors much more gently (but they were working at one point so yay.)

When the third one came in, I was overjoyed to see all three axes working. I still testing safely, because I learned some lessons from the first two broken chips.

But my precautions weren’t enough. Somehow my wire feeding direction-related instructions to the motor I was testing stopped working. So instead of my X motor spinning 3000 steps to the left then to the right, it spun 6000 steps to the left, therefore crashing the pen attachment into the motor, therefore jamming it, therefore overheating my third chip.

If I were to order another chip it wouldn’t come in for almost three weeks, so I’m going to put a pause on this project, and later on figure out why motor jamming breaks my chips to see if I can prevent it in the future.

Here are my computer chips over the past couple weeks, all broken in their own unique ways (I see these as tombstones at this point):


Conclusion

The DrawBot is giving me lots of practice in multiple kinds of engineering, making it by far the biggest project I’ve ever done. I’ve learned about design, screwing things, bearings, the temporary(ness?) of hot glue, circuitry, and MicroPython. But most importantly, I learned the crucial balance between being careful (especially with electricity) with each step and still learning by experimentation.

The amount of failure I have gone through in this project is painstaking to think about, but in the end it’s a good thing. By failing, I know not to do the same things the next time, and I become a better engineer through that.

I hope to do big projects like DrawBot in the future, because when things DID work I felt extreme satisfaction, a feeling I don’t think will leave when I do robotics as an actual job.