GreatLight CNC Machining Factory logo
CNC Machining
Rapid Prototyping
Materials
Industries
News
About GL

Get Instant Quote

Build guide

How to make an automatic drawing machine similar to a CNC machine

This guide walks through the mechanical layout, motor choice, controller wiring, and G-code prep behind an automatic drawing machine built on CNC-style motion. It is written for engineers who want a two-axis plotter that behaves like a light-duty CNC router, not a toy. By the end you should know which parts you can machine yourself, which tolerances matter, and where the build usually fails.

Two-axis motionGRBL or Mach3±0.1 mm practicalBelt or lead screw
automatic drawing machine with CNC-style gantry and pen holder
Quick answer

Key takeaways

An automatic drawing machine is a light CNCSame G-code, same motion control, far lower cutting force. Treat it as a CNC with a pen for a tool.
Rigidity still decides accuracyFrame flex shows up as wavy lines. A stiff gantry matters more than a fast motor.
Belt drive is enough for a penGT2 belt holds roughly ±0.1 mm over a 300 mm stroke. Lead screws are for heavier tools.
GRBL is the cheapest pathAn Arduino Uno with a GRBL shield runs three axes and reads standard G-code from any CAM tool.
Machine your own bracketsAluminum plate brackets at ±0.05 mm remove the slack that ruins pen travel.
Section 1

What makes an automatic drawing machine different from a CNC machine

An automatic drawing machine moves a pen across a sheet instead of spinning a cutter through metal. The control chain is identical: a CAD or vector file becomes G-code, the controller turns that into step and direction pulses, and the motors move the axes. What changes is the load. A pen touches paper with a few grams of force, so the structure can be far lighter than a router.

That lighter load is where people get careless. A frame that flexes 0.3 mm under hand pressure will still flex during a fast diagonal move, and the pen line shows every bit of it. The rule we use on the shop floor applies here too: stiffness first, then speed. Build the gantry so it does not move when you push it by hand, and the drawing will follow.

There is also a control difference worth knowing. A CNC machine usually runs closed-loop or at least stall-detecting drives because a missed step ruins a part. A pen plotter can tolerate a missed step on one line, but repeated lost steps shift the whole drawing. Keep the acceleration low enough that the motors never stall, and the open-loop setup works fine.

Finally, think about what the machine is for. If you want clean technical drawings on A3 paper, a belt-driven two-axis machine with a servo pen lift is right. If you want to drag a marker over a 1,200 mm sheet, you need a bigger frame and a different budget. Decide the paper size and tool first, because everything else follows from those two numbers.

Section 2

Motion layout: choose belt drive or lead screw before you cut metal

Two drive options dominate small automatic drawing machine builds. GT2 timing belts with 20-tooth pulleys give about 40 mm of travel per motor revolution and cost very little. Lead screws, usually T8 or SFU1204 ball screws, give finer resolution but add friction and limit speed. For a pen, resolution is rarely the bottleneck; belt stretch and frame flex usually are.

Belt tension is the number that decides your line quality. A belt that is too loose will whip on direction changes, leaving a short curved overshoot at each corner. A belt that is too tight loads the motor bearings and shortens their life. Aim for a tension where the belt deflects about 3 to 5 mm under light finger pressure at the midpoint of the longest span.

If you use lead screws, expect a practical travel speed around 100 to 200 mm/s before the screw starts to whip. Belts easily reach 300 mm/s. That matters when a drawing has thousands of short segments, because acceleration dominates the total time. Set acceleration between 300 and 1,000 mm/s², then raise it until the motors just start to skip and back off by 30 percent.

Guide rails matter as much as the drive. MGN12 linear rails are cheap and stiff enough for a pen carriage. Round rod with bronze bushings works but develops play after a few hundred hours. If you already machine parts, cut the carriage plates from 6061-T6 or 6082 aluminum at ±0.05 mm and press the rail seats flat; bolted-together plates with visible gaps will never hold a straight line.

Section 3

Motors, drivers, and the electronics that keep a line straight

NEMA 17 steppers with 1.8° step angle are the standard choice for this size of machine. A 40 mm body with about 0.4 N·m holding torque moves a light gantry without trouble. Larger NEMA 23 motors add weight to the moving mass, which hurts acceleration more than it helps. Keep the moving parts light and the motors modest.

Use a driver with at least 1/16 microstepping and set the current to about 70 to 80 percent of the motor rating. Full current makes the motors run hot and does not improve accuracy. If the motors are warm to the touch after an hour, that is normal. If they are too hot to hold, lower the current.

The controller choice comes down to GRBL on an Arduino Uno or a Mach3 setup on a PC with a breakout board. GRBL is cheaper and runs from a USB port with open-source sender software. Mach3 adds a parallel port and a larger feature set, but for a pen machine it is more complexity than most builds need. Either way, wire the limit switches to normally closed contacts so a broken wire stops the machine instead of hiding a fault.

Grounding is the step people skip. Run the shield of the motor cable to a single earth point at the controller, and keep the motor wires away from the limit switch wires. Stepper pulses couple into signal lines easily, and the symptom is random stops or a drawing that shifts a few millimeters partway through.

Section 4

Pen lift, paper holding, and the details that decide drawing quality

A pen that never lifts leaves a line between every shape. Two common solutions are a small servo with a lever arm and a solenoid with a spring return. The servo is quieter and easier to control from the same GRBL board using the spindle enable pin. Set the up position about 5 mm above the paper and the down position so the pen just contacts the surface.

Contact force should stay low, around 5 to 20 grams for a technical pen and more for a felt tip. Too much force bows the paper and changes the line width across the sheet. Too little force gives broken lines on textured stock. Test on the exact paper you plan to use, because paper thickness changes the contact point.

Hold the paper with a vacuum table, a low-tack adhesive mat, or simple binder clips at the corners. Taping the sheet down works if the tape does not lift the paper edge. Any curl in the paper becomes a height error, and a 0.5 mm curl is enough to change line width visibly on a fine pen.

Keep the pen perpendicular to the drawing plane. A pen mounted at an angle draws a line whose width depends on direction, which is obvious on circles and diagonals. Use a mount that lets you adjust the angle, and check it with a square before the first real job.

Section 5

G-code prep and the CAM settings that fit a pen

Most vector files need one conversion step before the machine can run them. Inkscape with the G-code extension, or a CAM tool like Fusion 360 with a trace operation, both output standard G-code. Set the tool diameter to the actual pen line width, since that value offsets the path and decides whether corners are sharp or rounded.

Keep the feed rate conservative for the first jobs. A pen does not care about cutting speed, but the machine cares about acceleration. Start at 60 mm/s with 500 mm/s² acceleration, then increase once the drawings are clean. If corners overshoot, lower acceleration before lowering feed.

Z moves are the other setting to watch. A pen lift of 2 mm is enough on a flat sheet, and a bigger lift only wastes time. Set the plunge rate slow, around 50 mm/s, so the pen does not bounce on contact. Add a short dwell of 0.1 s at the down position if the line starts light.

Check the drawing origin and scale in the sender before running a full sheet. A 1 percent scale error over 400 mm is 4 mm, enough to run off the paper. Draw a frame at the sheet border first and confirm the outline lands where you expect it.

Build sequence

Step by step: build the machine

Work in this order. Skipping ahead usually means redoing the frame.

  • 1
    1. Fix the working areaDecide the paper size first, then add 50 mm of travel margin on each axis. A3 landscape needs about 470 × 330 mm of usable travel. Draw the envelope on paper before buying rails.
  • 2
    2. Build a stiff baseUse 2020 or 2040 aluminum extrusion for the frame. Cut the ends square within 0.2 mm and bolt with corner brackets, not printed corners. Check for rock by pushing each corner.
  • 3
    3. Mount the rails parallelMeasure center-to-center distance at both ends of each rail pair and keep the difference under 0.1 mm. Parallel rails prevent the carriage from binding at the ends of travel.
  • 4
    4. Fit the drive systemInstall GT2 belts with 20-tooth pulleys, or T8 lead screws with anti-backlash nuts. Tension the belt so it deflects 3 to 5 mm at mid-span under light finger pressure.
  • 5
    5. Mount motors and set currentNEMA 17 motors, 1/16 microstepping, driver current at 70 to 80 percent of rating. Run each axis by hand first to feel for binding before powering up.
  • 6
    6. Wire the controllerGRBL on Arduino Uno with a CNC shield, or Mach3 with a breakout board. Limit switches on normally closed contacts. Single earth point for cable shields.
  • 7
    7. Install the pen liftServo or solenoid on the Z or spindle enable output. Set travel of 5 mm up and just-contact down. Adjust with a feeler gauge under the pen tip.
  • 8
    8. Calibrate and testDraw a 100 mm square and measure it. Adjust steps per mm until the error is under 0.2 mm over 100 mm. Then draw a circle to check for backlash.
Drive comparison

Belt drive vs lead screw for an automatic drawing machine

Choose based on paper size, drawing density, and how much noise you can accept.

FactorGT2 belt driveT8 lead screw
Practical speedUp to 300 mm/s100 to 200 mm/s
Resolution per stepAbout 0.0125 mm at 1/16About 0.005 mm at 1/16
Backlash riskLow with tensionNeeds anti-backlash nut
NoiseHigher pitch, quieter motor loadLow hum, more motor load
Cost for 500 mm axisLowModerate
Best forLarge drawings, fast movesSmall dense drawings, fine lines
MaintenanceRetension every few monthsLubricate and check nut wear

Build the frame stiff, then tune the electronics

If the gantry moves when you push it, no controller setting will fix the drawing. Stiffen the frame first, then set belt tension, then tune acceleration. That order saves the most time.

FAQs

Frequently asked questions

Can I build an automatic drawing machine from CNC parts I already have?

Yes, if the parts are sized for light loads. Rails, belts, pulleys, and NEMA 17 motors from a small router all transfer directly. Reuse the controller too, as long as it accepts standard G-code.

Do not reuse a heavy spindle mount as a pen holder. The mass hurts acceleration and the clamp is usually too crude for a pen. Machine a simple aluminum plate holder instead.

What accuracy can a DIY automatic drawing machine hold?

With a stiff frame, GT2 belts, and 1/16 microstepping, most builds hold about ±0.1 mm over a 300 mm sheet. The limiting factor is usually frame flex and belt tension, not step resolution.

If you need tighter than that, move to lead screws and a heavier frame, and check the squareness of the gantry after assembly. Our machining tolerance of ±0.005 mm applies to the brackets, not to the assembled plotter.

Why does my drawing shift partway through a long job?

Lost steps are the most common cause. The motors stall during a fast direction change, and every line after that point is offset. Lower acceleration by 30 percent and retest.

Check the belt tension and the pulley set screws as well. A pulley that slips on the motor shaft produces the same offset, but it usually appears after a specific corner rather than gradually.

Do I need limit switches on a pen plotter?

They are worth fitting. Homing gives a repeatable origin, so a second drawing on the same sheet lines up with the first. Without homing you have to set the origin by hand every time.

Wire them as normally closed contacts. A broken wire then reads as a triggered switch and stops the machine instead of letting it drive into the frame.

Which controller should I use, GRBL or Mach3?

GRBL on an Arduino Uno with a shield is the lower-cost route and handles three axes with standard G-code. It runs from a USB port and works with several open-source senders.

Mach3 needs a PC with a parallel port and a breakout board. It offers more inputs and outputs, which matters if you add a vacuum table or extra sensors. For a pen and one lift axis, GRBL covers it.

Can GreatLight machine the brackets and plates for this build?

Yes. We machine aluminum and stainless brackets, carriage plates, and pen mounts from 6061-T6, 6082, 304, or 316L, with no minimum order quantity. A single prototype is fine.

Send a STEP file and we return a quotation with a DFM analysis within 12 hours. Production can start within 24 hours, and parts ship in 3 to 5 days. Every part is inspected before shipment, with reports on request.

Send your plotter parts for machining

Upload a STEP file and get a quotation with free DFM analysis within 12 hours. No minimum order quantity, from one bracket to a full set.

12-hour quoteNo minimum order quantity100% inspection±0.005 mm tolerance

Follow our work

More build and machining notes

We publish setup notes, tooling trials and inspection data from the factory floor.

FacebookTikTokYouTubeLinkedInInstagramThreadsPinterest

Trusted by engineers and manufacturers worldwide

Tesla Ford Motor Company BYD Auto Denso Magna International Boeing Airbus Medtronic KUKA FANUC