stepper.h

Can someone help me port this library?
Nutsy
Posts: 260
Joined: Sun Jul 24, 2016 4:26 pm

Re: stepper.h

Post by Nutsy » Fri Jun 30, 2017 9:45 am

WOW, year old thread reborn :p

Im way past from this issue. So much so ive completely forgot what it was :p

Im using x27 motor gauge steppers now... Manually driving them from a arduino mini.

And theyre fine. A little noisy but fine. Seem to get enough current from the arduino pins directly.

Im also using a tweaked version of the x27 stepper library... I tweaked it...
Cant remember what i did though :p

As for IDE i use eclipse now. But still using arduino for building. Eclipse doesnt always seem to correctly build some libraries for some reason, must be something missing in the sloeber toolchain.

JTC
Posts: 4
Joined: Sat Oct 07, 2017 9:36 pm

Re: stepper.h

Post by JTC » Tue Dec 19, 2017 8:40 pm

Roger, I need to control one stepper motor. I am looking at the Accelstepper lib. I see it says max speed for Arduino is 4,000/sec.
Is the speed of the STM32F103 just the ratio of the crystals*4,000?
Arduino 16mhz = 4,000/sec. 72mhz/16mhz = 4.5.

4.5* 4,000 = 18,000/sec.
is this correct?

victor_pv
Posts: 1855
Joined: Mon Apr 27, 2015 12:12 pm

Re: stepper.h

Post by victor_pv » Wed Dec 20, 2017 6:10 am

I do not know the library you are using, but in Marlin I can run steppers at over 40Khz with interrupts in the F1, and that's while doing several other things at the same time, so you should be able to achieve those 18000 steps/s easily.

Post Reply