Hi Guys,

This article about How to Run a Stepper Motor with an Arduino. These days stepper motor used in many electronics device like, Camera auto-focus system, CD-ROM for lens movement, 3D printer and CNCs. Stepper motor is available in many different size and types in the market, you can find a stepper motor according to your requirement.

To run a Stepper motor you can program a Arduino to move a motor in precise & defined steps in clockwise and counter-clockwise direction.

So here’s the stuff I have used for this demo.

  1. Arduino UNO
  2. Bipolor stepper motor
  3. Jumper wire
  4. Breadboard
  5. Breadboard jumper
  6. L293D IC
  7. 5-12 volt adapter

Step 1: Watch the Below Video for a Descriptive Step-by-step Guide

Step 2: Circuit Diagram and Arduino Code

Here is the circuit diagram for make connect between the Arduino, L293d IC and Stepper motor. Before you connect with the power source, just make sure all connection as per the circuit diagram.

<p>thanx bro....</p>
<p>Thanks for sharing this! I used a L293DNE, with a 12V 0.75A Stepper. It worked fine with a 9V battery power source, but the H-Bridge burned when I tried to run the stepper with a 12V 2A wall wart. Do you know what might be the problem? Do I need to use clamp diodes in case there are backwards voltage spikes from the motor? Thanks again!</p>
what if I use <br>L293DNE ic
<p>yes you can use this IC with same circuit diagram.</p>
I have l293d motor driver board I replaced this ic with l293dne but didn't worked
<p>In step two I see an error in your circuit. The power leads for the motor power are shorted together...</p>
<p>oops! thanks to inform me, I will update the image.</p>
<p>Nicely done. Thanks for sharing this!</p>

About This Instructable




More by CircuitMagic:DIY Digital RPM Tachometer | RPM Counter With Arduino Arduino Project : Gyro/Accelerometer MPU-6050 and Adafruit Motor Driver Shield Laser Security System for Home 
Add instructable to: