Arduino Uno, clock speed, pulse rate and stepper motors
hey folks. i'm running arduino uno controller adafruit motor shield attached, used control 200 step, 2 phase stepper motor. motor runs on 12v, 0.3amps, , drawing power should be. we've had no problem running other stepper motors on shield, we're using stepper motor described above turn powerscrew, , need high speed motor, 900rpm (or 15hz). motor rated @ 1200rpm max speed, fastest can motor running consistently 300rpm. we're using af motor library control motor. i'm trying figure out why motor isn't running fast should be.
the clockrate of uno 16mhz, told me controller shouldn't problem. clockrate actual rate @ pulses sent controller motor, or signal converted kind of sampling rate, , there losses there? instance, if controller can send 1 pulse per millisecond motor, arduino can produce 1000 pulses per second, each pulse create 1 step of motor. result in speed of 5 hz (1000/200 steps), if 1 msec default setting. 5hz = 300rpm, getting now. how controller works, 1 pulse equating 1 step of motor? if so, how can increase frequency? or input appreciated!
the clockrate of uno 16mhz, told me controller shouldn't problem. clockrate actual rate @ pulses sent controller motor, or signal converted kind of sampling rate, , there losses there? instance, if controller can send 1 pulse per millisecond motor, arduino can produce 1000 pulses per second, each pulse create 1 step of motor. result in speed of 5 hz (1000/200 steps), if 1 msec default setting. 5hz = 300rpm, getting now. how controller works, 1 pulse equating 1 step of motor? if so, how can increase frequency? or input appreciated!
i don't think library limited 1 pulse / step per millisecond; thread
http://www.forums.adafruit.com/viewtopic.php?f=31&t=14113
indicates can pulse @ 100k / sec. i've barely started working stepper motors myself guess you'll need crank voltage faster speeds. comments here
http://www.sparkfun.com/products/10267
say fastest speed need disable microstepping , run controller @ highest voltage can handle (30 volts in case of easy driver in above link).
fwiw in testing able 1200 rpm out of motor using accelstepper library , 24v power supply, unloaded -- had decrease 700 rpm usable torque.
good luck!
http://www.forums.adafruit.com/viewtopic.php?f=31&t=14113
indicates can pulse @ 100k / sec. i've barely started working stepper motors myself guess you'll need crank voltage faster speeds. comments here
http://www.sparkfun.com/products/10267
say fastest speed need disable microstepping , run controller @ highest voltage can handle (30 volts in case of easy driver in above link).
fwiw in testing able 1200 rpm out of motor using accelstepper library , 24v power supply, unloaded -- had decrease 700 rpm usable torque.
good luck!
Arduino Forum > Using Arduino > Microcontrollers > Arduino Uno, clock speed, pulse rate and stepper motors
arduino
Comments
Post a Comment