Yet another stepper motor problem

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Yet another stepper motor problem

Postby akonneker » Sun Feb 12, 2012 2:00 am

Hello all,

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);
}
akonneker
 
Posts: 2
Joined: Sun Feb 12, 2012 1:18 am

Re: Yet another stepper motor problem

Postby adafruit_support_bill » Sun Feb 12, 2012 7:24 am

From the specs, it looks like the motor was designed to be driven with about 14.4v, so your 12v supply should work better than the 5v you get from USB.

It is odd that only the microstepping works. Usually that it the mode that doesn't work if the motor is under-powered. You might try reversing the red/blue or green/black wires to see if it runs any better.
User avatar
adafruit_support_bill
 
Posts: 16629
Joined: Sat Feb 07, 2009 9:11 am

Re: Yet another stepper motor problem

Postby akonneker » Sun Feb 12, 2012 1:38 pm

I've tried all permutations of the non-common wires and running it on the 12V supply and there doesn't seem to be much difference. The shaft doesn't move at all, but the motor will vibrate slightly. This is my first experience with stepper motors, so I'm pretty mystified.
I'm getting a benchtop power supply in the next week or so, and I can try running it at the specified voltage, but I would expect that 12V should work if the microstep mode works on 5V.

For now I guess I'll be content with running it in microstep mode, since it seems to work quite smoothly. It's just so weird to me that it's the only thing that works.
akonneker
 
Posts: 2
Joined: Sun Feb 12, 2012 1:18 am

Re: Yet another stepper motor problem

Postby adafruit_support_bill » Sun Feb 12, 2012 3:11 pm

I'm a bit puzzled too. A couple other things to try:

* Test the coil resistance to see if there are any internal shorts. The resistance from the common wire to the other two wires in each pair of coils should be fairly close to the same.

* Disconect the common wires (insulate the ends so they don't short on anything). This effectively makes your motor a bipolar stepper.
User avatar
adafruit_support_bill
 
Posts: 16629
Joined: Sat Feb 07, 2009 9:11 am


Return to Arduino Shields from Adafruit

Who is online

Users browsing this forum: No registered users and 6 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [114]

Raspberry Pi[82]
 
FLORA[24]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[12]
Arduino[60]
 
NETduino[14]
 
Android[6]
 
BeagleBone[23]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[39]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[9]


 
Breakout Boards[35]
LCDs & Displays[49]
Components & Parts[70]
Batteries & Power[54]
EL Wire/Tape/Panel[52]
LEDs[112]
 
Wireless[16]
Cables[66]
 
Lasers[6]
Sensors/Parts[147]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[41]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[25]


 
Stickers[41]
 
Skill badges[55]
 
Books[26]
 
Circuit Playground[7]
 
Gift Certificates[4]