Go Down

Topic: Arduion mega 2560 and some motorshields (Read 2 times) previous topic - next topic

Measureino

#15
Jun 30, 2013, 05:58 pm Last Edit: Jun 30, 2013, 06:01 pm by Measureino Reason: 1
Code: [Select]

Stepper motors don't use PWM. Did you mean DC motors here?

Either I didn't understand fundamental things or I was not precise enough:
I meant that the BigEasy-Drivers need PWM as input if stepper-motors are to be steered.I found an example http://bildr.org/2012/11/big-easy-driver-arduino/ where one PWM-Pin is connected to the BigEasyDriver inputs while the other input Pin is connected to a normal digital output (direction).

But if a steppermotor only needs two digital inputs, everything would be more easy because the Mega2560 has much simple digital pins.

Do BigEasyDriver need PWM-Outputs  for steering stepper-Motors?


PaulS

Quote
I meant that the BigEasy-Drivers need PWM as input if stepper-motors are to be steered.

No, they don't. They simply need to be told step, step, step, at the right time. PWM is NOT the way to do that. That the example you liked to used a PWM-capable pin does not mean that it is using PWM. The two pins could just as easily have been reversed, with only minor changes in the code and NO change in results.


Measureino

Thanks,
now things seem much more clear to me.

Go Up