StepDrive P3
3x Stepper Motor Driver
- Overview
- Driver
- Tethered Samples
- Standalone Samples
This module utilizes the very common stepper motor drivers commonly used in Arduino CNC Shield. They are available in multiple models. We include drivers capable of 30V @ 1A each, but you can easily swap them with your favorite driver if desired.
Key features • 3x stepper motor control | Resources PID: 0x02000B |
Driver Scripts go hand-in-hand with DUELink official firmware. See the Driver Scripts page for further details.
| 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. |
The Code!
loading...
These Tethered samples assume the driver is installed, see the Driver Tab.
- Python
- MicroPython
- JavaScript
- .NET
- Arduino
- MicroBlocks
loading...
loading...
loading...
loading...
loading...
This sample project runs on a MicroBlocks-enabled device that is tethered to this module. Note that this tethered module needs to have the official DUELink firmware and its module driver. See MicroBlocks page to learn more.
Click the button below to open, edit, and run the project directly on MicroBlocks' website.
These samples show how to run DUELink Standalone.
- Script
- Arduino
This example runs using the default DUELink Internal Engine using its Scripting Language, and it expects the driver to be loaded first, see the Driver Tab.
loading...
See Arduino page for more info.
loading...
Ordering Info
| Product | Part Number | Price |
|---|---|---|
| DUELink StepDrive P3 | GDL-ACSTEPDP3-B | $24.95 |