Connect with us

arduino code for stepper motor control

Discussion in 'Microcontrollers, Programming and IoT' started by walid.anjum, Jun 2, 2014.

  1. walid.anjum

    walid.anjum

    26
    0
    Dec 18, 2013
    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
     
  2. Harald Kapp

    Harald Kapp Moderator Moderator

    9,219
    1,857
    Nov 17, 2011
  3. walid.anjum

    walid.anjum

    26
    0
    Dec 18, 2013
    how can i define that if the input signal is 1 move forward and if 2 than move backward at angle of 30
     
  4. Harald Kapp

    Harald Kapp Moderator Moderator

    9,219
    1,857
    Nov 17, 2011
    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.
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-