Pages: 1 [2]   Go Down
Author Topic: Arduion mega 2560 and some motorshields  (Read 2581 times)
0 Members and 1 Guest are viewing this topic.
Germany
Offline Offline
Newbie
*
Karma: 0
Posts: 33
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Code:
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?

« Last Edit: June 30, 2013, 11:01:02 am by Measureino » Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 654
Posts: 50931
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

Logged

Germany
Offline Offline
Newbie
*
Karma: 0
Posts: 33
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks,
now things seem much more clear to me.
Logged

Pages: 1 [2]   Go Up
Jump to: