loading

adafruit motor shield is easy to use for beginners.

Step 1: Introduction:

Stepper motors are DC motors that move in discrete steps. They have multiple coils that are organized in groups called "phases". By energizing each phase in sequence, the motor will rotate, one step at a time.With a computer controlled stepping you can achieve very precise positioning and/or speed control. For this reason, stepper motors are the motor of choice for many precision motion control applications. Stepper motors come in many different sizes and styles and electrical characteristics. This guide details what you need to know to pick the right motor for the job.

What are stepper motors good for?

Positioning – Since steppers move in precise repeatable steps, they excel in applications requiring precise positioning such as 3D printers, CNC, Camera platforms and X,Y Plotters. Some disk drives also use stepper motors to position the read/write head.

Speed Control – Precise increments of movement also allow for excellent control of rotational speed for process automation and robotics.

Low Speed Torque - Normal DC motors don't have very much torque at low speeds. A Stepper motor has maximum torque at low speeds, so they are a good choice for applications requiring low speed with high precision.

Step 2: Things We Need:

1) Arduino introduction (from www.abuthahirmu100.wixsite.com/arduinohelp)

2) Arduino IDE

3) Arduino UNO (not necessarily the original one)

4) 28BYJ-48 stepper motor

5) Adafruit motor shield

6) Jumper wires

7)adafruit motor shield library (refer online)

Step 3: Assembling:

First,carefully connect your uno to the motor shield.Then connect the stepper motors to the motor ports.

Then create the code in arduino IDE.The code is below:

#include <AFMotor.h>

AF_Stepper motor(2048,2); // the steps per revolution for 28-byj 48 is 2048

void setup() {

motor.setSpeed(10);

}

void loop() {

motor.step(1024,FORWARD,SINGLE);

motor.step(1024,BACKWARD,SINGLE);

motor.step(1024,FORWARD,DOUBLE);

motor.step(1024,BACKWARD,DOUBLE);

motor.step(1024,FORWARD,INTERLEAVE);

motor.step(1024,BACKWARD,INTERLEAVE);

motor.step(1024,FORWARD,MICROSTEP);

motor.step(1024,BACKWARD,MICROSTEP);

}

<p>what program you use to create this schematic</p>
<p>I used arduino IDE to program the stepper motor .to know more about arduino refer my arduino website with link given above.</p>
<p>Thanks for sharing :)</p>

About This Instructable

717views

0favorites

More by a b u :Stepper Motor Test With Arduino Using Arduino Motor Shield  
Add instructable to: