top of page

HOW TO DRIVE A STEPPER MOTOR ?

In this tutorial, we demonstrate how to program an Arduino Uno R3 Board with a simple code and wiring in order to run a Bi - Directional Nema 17 Stepper Motor driven by an A4988 or DRV8825 driver with two push buttons and a potentiometer to regulate the speed of the rotation.

Nema 17 Stepper Motor - Arduino Uno/A4988/Potentiometer/Buttons
Riproduci Video

The functioning of this mechanism is really easy and intuitive. After following the tutorial step by step take your time and enjoy the result of your work. As we said we will use two different colours buttons:

- A blue button to start the rotation

- A red button to invert the rotation's direction

So, push the blue button and keep it pressed to start the rotation, if you want to stop the rotation just release it. Now push the red button one time to invert the direction and after you've done that, push the blue botton and keep it pressed to run the engine.

You can alternate the rotation from clockwise to counterclockwise with a click.

While you are pressing the blu button you can smoothly increase or decrease the speed of the spinning turning the potentiometer's handle to the left or to the right.

When you release the potentiometer's handle, the speed will be constant in both sense until you release the blue button.

INGREDIENTS

INGREDIENTI
JUMPERS
A4988
ARDUINO UNO R3
AC/DC POWER SUPPLY
AC/DC POWER SUPPLY
JACK TO SCREW TERMINAL BLOCK
JACK TO SCREW TERMINAL BLOCK
10 Ohm RESISTORS
10 or 100 Ohm RESISTORS
BUTTONS
CAPACITOR
LEDS
NEMA 17 STEPPER MOTOR
10K Ohm POTENTIOMETER
EUREKA
Do not hesitate to contact us to create more arduino projects or learn more about our work

© 2018 by N.ProductionHT

Social
  • YouTube Social  Icon
  • Facebook Social Icon
  • Instagram Icona sociale
  • Twitter Social Icon
  • Pinterest Icon sociale
  • LinkedIn Icona sociale
bottom of page