Maker Pro
Maker Pro

arduino code for stepper motor control

walid.anjum

Dec 18, 2013
26
Joined
Dec 18, 2013
Messages
26
i need to design a code for controlling stepper motor which function like moving forward when instruction is 1 and backward when instriuction is 2 at the angle of 30degree so kindly help me out how to start
 

walid.anjum

Dec 18, 2013
26
Joined
Dec 18, 2013
Messages
26
how can i define that if the input signal is 1 move forward and if 2 than move backward at angle of 30
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,700
Joined
Nov 17, 2011
Messages
13,700
The library allows control of the stepper motor. The logic for reading an input and sending the respective command to a library function needs to be implemented by you.

Here's a tutorial.
 
Top