100% found this document useful (1 vote)
1K views

Connection of Stepper Motor 55SI-25D AWC With Arduino

This document provides instructions for connecting and driving a stepper motor with an Arduino board. It describes the stepper motor specifications, shows the wiring diagram for connecting it to a ULN2003 driver IC, and provides an Arduino code example to control the motor one step at a time slowly for testing. The code uses the Stepper library to initialize the motor and step it through one revolution, printing the step count.

Uploaded by

weerga
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
1K views

Connection of Stepper Motor 55SI-25D AWC With Arduino

This document provides instructions for connecting and driving a stepper motor with an Arduino board. It describes the stepper motor specifications, shows the wiring diagram for connecting it to a ULN2003 driver IC, and provides an Arduino code example to control the motor one step at a time slowly for testing. The code uses the Stepper library to initialize the motor and step it through one revolution, printing the step count.

Uploaded by

weerga
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

urlvlng SLeppermoLor 33Sl23u AWC wlLh Ardulno

ConnecLlon of SLeppermoLor 33Sl23u AWC


SLeppermoLor 33Sl23u AWC ls a unlpolar 12 v 36 Chm/coll sLepper LhaL sLeps for 73 degrees per
sLep
lL has a 6 prong connecLor LhaL ls Lyplcally wlred as ln llgure 1

I|gure 1 W|r|ng of the connector

whlLe1 whlLe2 red blue yellow brown
whlLe1 x lnf 36 lnf lnf 36
whlLe2 lnf x lnf 36 36 lnf
red 36 lnf x lnf lnf 71
blue lnf 36 lnf x 72 lnf
yellow lnf 36 lnf 72 x lnf
brown 36 lnf 71 lnf lnf x

ln order Lo drlve Lhe sLepper moLor a drlver lC Lhe uLn2003 musL be used Pook Lhls up as ln llgure
2
use Lhe followlng program
/
Stepper Motor Control - one step at a time

This program drives a unipolar or bipolar stepper motor.
The motor is attached to digital pins 8 - 11 of the Arduino.

The motor will step one step at a time, very slowly. You can use this to
test that you've got the four wires of your stepper wired to the correct
pins. If wired correctly, all steps should be in the same direction.

Use this also to count the number of steps per revolution of your motor,
if you don't know it. Then plug that number into the oneRevolution
example to see if you got it right.

Created 30 Nov. 2009
by Tom Igoe
For motor 55SI-25DAWC:
ULN 2003
Pin 16 - rood
Pin 15 - bruin
Pin 14 - geel
Pin 13 - blauw
Vcc - wit & wit
urlvlng SLeppermoLor 33Sl23u AWC wlLh Ardulno

Pin 1 - D8
Pin 2 - D9
Pin 3 - D10
Pin 4 - D11

Ergo
D8 rood
D9 bruin
D10 geel
D11 blauw
Gives clockwise rotation.
For anti clockwise switch red and blue


/

#include <Stepper.h

const int stepsPerRevolution = 48; // change to fit the number of steps per revolution
// for your motor: 7,5 graden -48 stappen

// initialize the stepper library on pins 8 through 11:
Stepper myStepper(stepsPerRevolution, 8,9,10,11);

int stepCount = 0; // number of steps the motor has taken

void setup() ,
// initialize the serial port:
Serial.begin(9600);
,

void loop() ,
// step one step:
myStepper.step(1);
Serial.print("steps:" );
Serial.println(stepCount);
stepCount++;
delay(500);
,

urlvlng SLeppermoLor 33Sl23u AWC wlLh Ardulno

I|gure 2 Connect|ng the stepper motor

You might also like