×

In celebration of the 50th anniversary of Apollo 11's Moon Walk, we are offering $50 off our SparkFun Inventor's Kit for RedBot and the Arduino Engineering Kit while supplies last! Use promo code APOLLO11 at checkout until 11:59 p.m. MT to get yours today!

ladislas

Member Since: August 9, 2012

Country: France

  • 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 :(