Arduino library for controlling stepper motors with the ITEAD Studio Dual Step Shield.
Go to file
mmcwilliams da46928dee Add setStepperMode logic from other project. Will sleep work? 2023-08-30 01:15:38 -04:00
examples/dual_steppers Add a README and an example 2023-03-27 12:33:14 -04:00
.gitignore Add setStepperMode logic from other project. Will sleep work? 2023-08-30 01:15:38 -04:00
IteadDualStepperShield.cpp Add setStepperMode logic from other project. Will sleep work? 2023-08-30 01:15:38 -04:00
IteadDualStepperShield.h Add setStepperMode logic from other project. Will sleep work? 2023-08-30 01:15:38 -04:00
README.md Small update to README 2023-03-27 12:34:27 -04:00

README.md

ITEAD Studio Dual Stepper Shield Library

This is an experimental Arduino library for controlling two stepper motors using the ITEAD Studio dual stepper motor driver shield.

Currently limited to supporting bipolar NEMA17 motors.

Example

#include "IteadDualStepperShield.h"

IteadDualStepperShield mc;

void setup () {
  mc.setup();
  mc.setSpeed(0, 2000);
  mc.setSpeed(1, 2000);
}

void loop () {
  mc.setDir(0, 1);
  mc.setDir(1, 1);
  delay(50);
  mc.stepBoth(200); // Run stepper in one direction
  delay(500);
  mc.setDir(0, 0);
  mc.setDir(1, 0);
  delay(50);
  mc.stepBoth(200); // Run stepper in reverse direction
  delay(500);
}

Banana Robotics - Dual Stepper Motor Driver Shield for Arduino

ITEAD Wiki - Arduino Dual Step Motor Driver Shield