Projects / Pen plotter with two steppers

Pen plotter with two steppers

Advanced10 hGuided buildReviewed

Build it step by step

0 of 7 done
  1. UNOGT2LINEAR

    Build the frame

    Rods, bearings and belts.

  2. UNOGT2

    Set the driver current

    Start low, with a meter.

  3. UNO59°

    Flash a GRBL version with a servo

    From the Arduino IDE.

  4. UNOGT2

    Set steps per millimetre

    80 for 1/16 on GT2.

  5. UNO

    Jog each axis

    Check the direction.

  6. UNOGT259°

    Fit the pen and servo

    Test lifting.

  7. UNO

    Draw a square

    Then an Inkscape drawing.

In short

How do you build a pen plotter with two steppers?

Two NEMA 17 steppers on GT2 belts move a pen over paper and a servo lifts it, drawing SVGs sent as G-code from Inkscape. You need Arduino Uno R3, CNC shield V3 for Uno, A4988 stepper driver × 2, NEMA 17 stepper motor × 2, GT2 timing belt and pulley set, Linear rod 8 mm with LM8UU bearings, SG90 Micro Servo and 12 V 2 A DC adapter. It takes 7 steps and about 600 minutes.

Level
Advanced
Time
About 600 min
Parts
8

Parts list

Tick what you already own. It saves to My Garage, so “Build with what I have” knows.

Wiring

FromToWhy
CNC shieldPlugged onto the UnoStacks on the board
A4988 driver X and YShield sockets X and Y (watch the orientation)Motor drivers
Three jumpers per driverUnder each driver for 1/16 microsteppingSmooth movement
NEMA 17 X motorShield X connectorCarriage axis
NEMA 17 Y motorShield Y connectorBed or second axis
12 V supplyShield power terminalsMotor power
Servo signal, plus, minusThe pin your GRBL servo build uses (often D11), 5V, GNDPen lift

No code needed

A pen plotter is two stepper motors moving a pen in X and Y, and a servo that lifts it; the Uno runs GRBL, a small firmware that reads G-code commands such as G1 X10 Y20 and moves to that point. The CNC shield simply holds the two driver chips and the connectors. Before you power it, set the current limit on each driver with its small screw: start low, about 0.6 to 0.8 A, and measure the reference voltage using the formula for your driver; too high and the motors and drivers get hot. Never connect or disconnect a motor while the power is on, because that can destroy the driver. With 20-tooth GT2 pulleys, one turn moves the belt 40 mm, so at 1/16 microstepping there are 80 steps per millimetre; set that in GRBL as $100 and $101. A pen-lift needs a GRBL version that supports a servo, so look for one. Inkscape has a plug-in that converts an SVG drawing to G-code. Keep fingers away from the belts and carriages while it moves, and stay with it while it runs. There is no Arduino code in this build, because GRBL is a ready-made firmware.

Test checklist

What you should see at each check. If a reading is far off, stop and use the troubleshooting list.

CheckExpected
Move X 10 mmCarriage moves 10 mm
Draw a 50 mm squareSides measure 50 mm
Pen liftPen touches only when drawing
Run 10 minutesDrivers warm, not too hot to touch

If it does not work

Motor hums but does not turn

Swap one coil pair of the motor wires.

Drawing is the wrong size

Check the steps per millimetre.

Drivers overheat

Lower the current or add a heatsink and a fan.

Still stuck? Find the fault step by step with your multimeter →

Ask Lark AI

Common questions

What parts do I need for the pen plotter with two steppers?

Arduino Uno R3, CNC shield V3 for Uno, A4988 stepper driver × 2, NEMA 17 stepper motor × 2, GT2 timing belt and pulley set, Linear rod 8 mm with LM8UU bearings, SG90 Micro Servo and 12 V 2 A DC adapter.

How long does the pen plotter with two steppers take to build?

About 600 minutes for a advanced maker, in 7 steps.

How do I know the pen plotter with two steppers works?

Move X 10 mm: Carriage moves 10 mm. Draw a 50 mm square: Sides measure 50 mm. Pen lift: Pen touches only when drawing.

Motor hums but does not turn: what should I check?

Swap one coil pair of the motor wires.

Drawing is the wrong size: what should I check?

Check the steps per millimetre.

Drivers overheat: what should I check?

Lower the current or add a heatsink and a fan.