Introduction: Arduino Stepper Motor Control

Here and the associated links we explore Arduino controlling stepper motors.

Step 1: About the Video

Picture of About the Video

The Arduino sketch below replaces the Stepper library which I found useless. It also includes I2C display as shown in the video. I consist of the command forward(int steps, int step_delay) and reverse(int steps, int step_delay). It also a motor off command.

A potentiometer is connected to ADC0 can can be used to control the step delay. On my particular stepper motor a step delay less than 5 mSec. will stall the motor. The motor is 1.8 degrees per step or 200 steps for 360 degrees rotation. Each winding is 5.1 volts at 1 amp. The color code is based on a motor from an earlier program. Have fun.

http://www.bristolwatch.com/L298N/stepper.htm

http://www.bristolwatch.com/arduino/arduino_unipolar_stepper.htm

Comments

About This Instructable

2,106views

21favorites

License:

Bio: Been into technology and electronics since the time of vacuum tubes to Raspberry Pi. Love it all.
More by LewisLoflin:Arduino TMP37 I2C Temperature DisplayArduino Stepper Motor Control Arduino Interfacing TSL230R Light Frequency Converter
Add instructable to: