StepDrive P3
3x Stepper Motor Driver
- Overview
- Commands
- Samples
- On-Module Code
A 3-axis stepper driver board built around the same socketed driver chips used on Arduino CNC shields. Ships with 30 V / 1 A drivers, but you can swap them for stronger ones — or quieter ones, like TMC2208 — without changing your code. Step each axis with simple text commands over any supported interface.
Common uses: 3-axis pen plotters, small CNC mills, classroom stepper-control labs, automated XY stages, robotic arms.
Key features • 3x stepper motor control | Resources 📄 Schematics PID: 0x02000B |
Modules ship without cables to reduce waste. Some specialty boards include a USB cable; for the rest, see Cables to add cables to your order.
Commands this module accepts. See Samples for runnable code in popular host languages.
| Function | Description |
|---|---|
DVer() | This driver version. |
init(x) | Init motors with resolution x: 0: 1/8 step, 1: 1/2 step (default), 2: 1/4 step, 3: 1/16 step. |
step_m1(d,c) | Run motor M1 with d: direction, c: steps. |
step_m2(d,c) | Run motor M2 with d: direction, c: steps. |
step_m3(d,c) | Run motor M3 with d: direction, c: steps. |
set_m(m, d, c) | Set motor in sync mode. m: 1->Motor M1, 2->Motor M2, 3->Motor M3. |
sync_all() | Run motors in synchronize mode. |
run_all() | Run motors in asynchronous mode. |
Peek under the hood
The script below is this module's driver — it teaches the hardware how to respond to the commands listed above. It ships pre-loaded from the factory; most users never need to open it.
loading...
Example code that calls this module's commands from popular host languages.
New here? See Get Started to connect a module and send your first command.
- Python
- MicroPython
- JavaScript
- .NET
- Arduino
- MicroBlocks
loading...
loading...
loading...
loading...
loading...
This sample runs in MicroBlocks on a any host board that's connected/tethered to this module, or a chain of modules. This module keeps its official DUELink firmware and module driver and responds to commands from the connected MicroBlocks-running host. New here? See the MicroBlocks page.
There are two ways to use it:
Open the full sample — the complete project (the module's library plus a ready-to-run example) opens directly on the MicroBlocks website.
Add just the libraries to your own project — copy the link, then in your MicroBlocks project click Add Library → Cloud and paste it. This loads this module's libraries into your project without replacing your current work.
Copy Library LinkCode that runs directly on this module's MCU. See how On-Module Code allows modules to run standalone.
- Script
- Arduino IDE
This example runs using the default DUELink Internal Engine using its Scripting Language, and it expects the module's driver to be loaded first, see the Commands Tab.
loading...
See Arduino IDE page for more info.
loading...
Ordering Info
| Product | Part Number | Price |
|---|---|---|
| DUELink StepDrive P3 | GDL-ACSTEPDP3-B | $24.95 |