Re: Controlling stepper motor with atteched encoder
Hi John, welcome to the forum!
How do you plan to feed the position value? By a keypad or via serial com.
I have written a code for driving stepper motor (that was few years ago) and position was fed via serial com. The code didn't use close loop but I will be happy to modify it for reading the encoder and turn it from open loop to close loop system
Let me know how many pulses per turn is your optical encoder and a little more on your project.
Cheers
Al.
All progress began with an idea
Bookmarks