Pages: [1]   Go Down
Author Topic: How fast is the arduino to run stepper motors  (Read 820 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Can some tell me the maximum pulse rate (how many hertz) I can get from the arduino Uno. I am planning to use the gecko drive and one nema 34 stepper but I am afraid the ardruino is not fast enough.

Luis
Logged

Offline Offline
Edison Member
*
Karma: 56
Posts: 2179
The last thing you did is where you should start looking.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
nema 34 stepper but I am afraid the ardruino is not fast enough
Steppers are very very slow 1-10ms.
The Arduino 1000s of times faster. 
Logged

Southern California
Offline Offline
God Member
*****
Karma: 5
Posts: 539
I like blinky lights
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

grbl is able to sustain about 30,000 pulses / sec to multiple motors simultaneously. So...at least 30KHz....
Logged

http://en.wiktionary.org/wiki/magagna <-- My last name.  Pretty apt.

0
Offline Offline
Shannon Member
****
Karma: 161
Posts: 10442
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
nema 34 stepper but I am afraid the ardruino is not fast enough
Steppers are very very slow 1-10ms.
The Arduino 1000s of times faster. 

No, _some_ stepper motors are slow.

That driver is a microstepping driver designed to power bipolar steppers from a supply of
upto 80V, so upto 100kHz step rate isn't beyond the bounds of possibility.

A high performance bipolar motor can go to 1000rpm or more with the right driver, which is already over 3kHz for
full-steps (30kHz for tenth-steps which is the GeckoDrive default I believe).

Logged

[ I won't respond to messages, use the forum please ]

South Texas
Offline Offline
Edison Member
*
Karma: 8
Posts: 1023
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you are using Arduino C it will be much slower than if you use AVR Assembler, but Assembler will leave all the effort of protecting registers and data to you.  Program sizes can also be much smaller with assembler - I have played with a steeper driver using first an UNO and later an ATtiny2313. Program size from Arduino was 1200 bytes. Program size for the same function in Assembly was 88 bytes.
Logged

Roma
Offline Offline
Jr. Member
**
Karma: 0
Posts: 76
Mechmate #70
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

On my CNC, the frequency is at least 25kh (mach3 and gecko's) .... but I am running them at 45kh at the moment .... It also depend on what you want to do. Generally if you cut wood,alluminium, acrylic etc. the speed of the system is a relative problem, generally you cut at lower speed than the limits of the machine, you reach the maximum speed only on "rapid" movement (when you go A to B without cutting).
So if Arduino can drive three or four Gecko at 25kh I see no problem to drive even a big CNC. But I don't really know if Arduino can ...
Logged

Pages: [1]   Go Up
Jump to: