Go Down

Topic: Stepper Motor Frequency (Read 122 times) previous topic - next topic

JE2555

Apr 16, 2018, 10:10 pm Last Edit: Apr 17, 2018, 02:32 am by JE2555
Solved

Robin2

If by 300Hz you mean 300 steps per second then I don't see any need to use a HardwareTimer. That rate is well within the capability of simple code using micros()

Have a look at the examples in this Simple Stepper Code - especially the second example. It should be capable of modification to provide a few thousand steps per second.

...R
Stepper Motor Basics

Two or three hours spent thinking and reading documentation solves most programming problems.

floresta


Robin2

@JE2555NEVER EVER delete your questions. The whole purpose of the Forum is to share your knowledge and learning with other people.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

Go Up