I have an arduino uno soldered to a V2 motor shield connected to a Nema 17 stepper motor (https://cdn-shop.adafruit.com/product-f ... asheet.jpg). We're using this system to power a peristaltic pump for cell culture applications. We can get the motor to work but we're having issues with the torque. We need higher torque to pump fluid through some PVC tubing. Our understanding is we need to decrease the speed in order to increase the torque for the motor (see torque vs pps graph in stepper motor datasheet). Here is the code we're using:
Code: Select all
Adafruit_StepperMotor *myMotor = AFMS.getStepper(200, 2);
void setup() {
Serial.begin(9600);
Serial.println("Stepper test!");
AFMS.begin();
myMotor->setSpeed(10);
}
void loop() {
Serial.println("Double coil steps Mercer 12");
myMotor->step(100, FORWARD, DOUBLE);
}
Thank you for your feedback!