Pen plotter with two steppers
Build it step by step
0 of 7 doneBuild the frame
Rods, bearings and belts.
Set the driver current
Start low, with a meter.
Flash a GRBL version with a servo
From the Arduino IDE.
Set steps per millimetre
80 for 1/16 on GT2.
Jog each axis
Check the direction.
Fit the pen and servo
Test lifting.
Draw a square
Then an Inkscape drawing.
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
- Development BoardsBuyArduino Uno R3 × 1
- Motor DriversBuy
- Motor DriversBuy
- Motors & ActuatorsBuy
- Mechanical & HardwareBuy
- Mechanical & Hardware
- Motors & ActuatorsBuySG90 Micro Servo × 1
- PowerBuy
Tick what you already own. It saves to My Garage, so “Build with what I have” knows.
Wiring
| From | To | Why |
|---|---|---|
| CNC shield | Plugged onto the Uno | Stacks on the board |
| A4988 driver X and Y | Shield sockets X and Y (watch the orientation) | Motor drivers |
| Three jumpers per driver | Under each driver for 1/16 microstepping | Smooth movement |
| NEMA 17 X motor | Shield X connector | Carriage axis |
| NEMA 17 Y motor | Shield Y connector | Bed or second axis |
| 12 V supply | Shield power terminals | Motor power |
| Servo signal, plus, minus | The pin your GRBL servo build uses (often D11), 5V, GND | Pen 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.
| Check | Expected |
|---|---|
| Move X 10 mm | Carriage moves 10 mm |
| Draw a 50 mm square | Sides measure 50 mm |
| Pen lift | Pen touches only when drawing |
| Run 10 minutes | Drivers 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 →
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.
