I've spent a while trying to figure out my problem and searching the forum for anybody with a similar experience, but no luck so far. My problem is thus:
I'm using the motor shield to drive a small 6-wire, unipolar, 0.9 degree/step NEMA17 stepper made by Lin Engineering. The problem is that only the microstepping seems to work. If I try any other mode in the 'step' function the motor just seizes. I'm pretty thoroughly confused.
I'm trying to run the motor off of the arduino USB supply, but I've also plugged in a 12V 1300mA rated power supply to the arduino DC jack with no difference.
Here is a link for the data sheet:http://www.alltronics.com/mas_assets/acrobat/28M053.pdf
Does anyone have any insights?
For perfect clarity here is my test code:
- Code: Select all
#include <AFMotor.h>
AF_Stepper motor(200, 2);
void setup(){ }
void loop()
{
motor.step(400, FORWARD, MICROSTEP); //stops working if 'MICROSTEP' is switched to any other mode
delay(300);
motor.step(400, BACKWARD, MICROSTEP);
delay(300);
}

