SparkFun Support and Front Desk will be closed on Thursday 11/14 from 1-2:30pm for a company event. Please plan to pick up your orders before or after this timeframe.
Track My Order
Frequently Asked Questions
International Shipping Info
Mon-Fri, 9am to 12pm and
1pm to 5pm U.S. Mountain Time:
Chat With Us
August 9, 2012
about 7 years ago
thanks a1ronzo for your reply :)
I can see it is used in void quadstep::current_control(int step) as step1 = STEPMIN + (_torque * 260);
to be honest, I am not sure I really understand current_control. I see that the result step1 is used in the delayMicrosecond to power the motor in motor_go but I don't understand why it is calculated this way. Why 800? If I change this value, say lessen it, it will lessen the delayMicroseconds thus speeding the rotation ? Then why do we have to do _torque * 260? Where does 260 come from?
Sorry for all those questions, maybe I am missing some basic mechanics rules. :)
I was looking at the quadstep.cpp file and I was wondering what is STEPMIN and why is it set to 800 :)
No public wish lists :(
Forgot your password?
No account? Register one!