stepper speed?

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
mrniss
 
Posts: 5
Joined: Thu Dec 18, 2014 12:29 pm

stepper speed?

Post by mrniss »

in the product description for the nema 17 stepper, it says you used a motor shield and got it running at some 250 rpm. mine doesn't seem to run nearly this fast even with rpm set at 250 in the test sketch...

how fast can it actually go? what's fastest, double, single interleaved?

i don't need that much torque, but i need a lot more speed than what i'm getting or i have to find another kind of motor. there's literally no dc motor out there i've found that has a direct drive 5mm shaft, attaching stuff to the <2mm ones sucks horribly.

User avatar
Franklin97355
 
Posts: 23940
Joined: Mon Apr 21, 2008 2:33 pm

Re: stepper speed?

Post by Franklin97355 »

What code are you running and how fast do you need the motor to run? Also how are you measuring the speed of your motor?

User avatar
mrniss
 
Posts: 5
Joined: Thu Dec 18, 2014 12:29 pm

Re: stepper speed?

Post by mrniss »

stopwatch. it's not exactly accurate, but it's somewhere between 50-60 roughly.

Code: Select all

#include <Wire.h>
#include <Adafruit_MotorShield.h>
#include "utility/Adafruit_PWMServoDriver.h"

Adafruit_MotorShield AFMS = Adafruit_MotorShield(); 
Adafruit_StepperMotor *myMotor = AFMS.getStepper(200, 2);
int dir;
void setup() {
  AFMS.begin();  // create with the default frequency 1.6KHz
  myMotor->setSpeed(250);  // 10 rpm 

}

void loop() {
  myMotor->step(40, FORWARD, DOUBLE);

}
project is basically a 3 foot linear actuator, but with the stepper it takes about 10 years to get from one side to the other at this speed.

i was trying to not spend 400 dollars to make a stupid two axis travelling platform, but apparently it's impossible to do without all these belts pulleys tracks bearings kill me

User avatar
adafruit_support_bill
 
Posts: 88154
Joined: Sat Feb 07, 2009 10:11 am

Re: stepper speed?

Post by adafruit_support_bill »

At that speed with those motors you are pushing the limits of the i2c bus throughput. It is possible to get to 250 RPM with some optimizations. See this thread for details: http://forums.adafruit.com/viewtopic.ph ... 1&p=292119

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”