Showing posts with label Stepper. Show all posts
Showing posts with label Stepper. Show all posts

Friday, August 17, 2018

Motor Shield - Stepper Motor

Using the Motor Shield for controlling a stepper motor is about the same amount of effort as it would be to run it if you had a ULN2003, however, the wiring is a more tedious in this case since you have to run all 5 wires directly into the shield, rather than plug it into an adapter board.

Adafruit MotorShield v2.3

The Adafruit MotorShield is a convenient way to control DC motors, Servos and Stepper motors.  Within a current limited capacity, one could run all three.

Upon purchase it is worth noting that you have to solder the stand off pins that connect the shield to the arduino.


After that, in the Arduino IDE, download the appropriate MotorShield library which has all the examples I'll reference for applications using this shield.


Stepper Motor - Direct Connect

This entry covers direct connecting a stepper motor to the Arduino.  In this case it is common to use a ULN2003 board to simplify the wiring interface.