Hello sale discount off 3% OFF - Code: ELE3

Mini Cart

ELEGOO 5 Sets 28BYJ-48 ULN2003 5V Stepper Motor + ULN2003 Driver Board

$13.99

4 interest-free payments for the Purchase.


Item Coupon Code
TwoTrees SP-3 $10 SP10
Mars 3 3% ELE3
Saturn S 5% SATURN5
SKU: EL-SM-003 Category:

Description

  • Stepper motor with a standard interface, when used directly pluggable. 
  • A, B, C, D four-phase LED indicates the status of the stepper motor work.
  • 5 line 4 phase can be used for ordinary ULN2003 chip driver, connect to the 2 phase, support the development board,With convenient use, direct docking
  • Drive Module Board Size(in): 1.37*1.18*0.6 ; Stepper Motor diameter: 1.06(in) ; Stepper Motor lines: 9.45(in)
  • Great packing in a box: 5 sets Uln2003 Stepper Motor + Driver Board (with a little gift)

BYJ48 STEPPER MOTOR

Stepper Motor is a type of electromagnetic device which moves in discrete steps. This has several coils, the center shaft has a series of magnets mounted on it, and the coils surrounding the shaft are alternately given current or not, creating magnetic fields which repulse or attract the magnets on the shaft, causing the motor to rotate.
This Unipolar Stepper Motor 28-BYJ48 is provided with five wires and four coils. The center connections of the coils are tied together and usually used as the power connection. They are named unipolar steppers because power always comes in on this one pole.

SPECIFICATION

– A, B, C, D four-phase LED indicates the status of the stepper motor work.
– Stepper motor with a standard interface, when used directly pluggable.
– 5 lines 4 phase can be used for ordinary ULN2003 chip driver, connect to the 2 phase, support the development board, with convenient use, direct docking.
– Rated Voltage: DC5V 4-phase
– Insulation Resistance: >10MΩ (500V)
– Dielectric Strength: 600V AC / 1mA / 1s
– Step angle: 5.625 x 1/64
– DC Resistance: 200Ω±7% (25C)
– Reduction ratio: 1/64
– Insulation Grade: A
– No-load Pull-in Frequency: >600Hz
– No-load Pull out Frequency: >1000Hz
– Pull in Torque: >34.3mN.m(120Hz)
– Detent Torque: >34.3mN.m
– Temperature Rise: < 40K(120Hz)

Programm Code Example

The Arduino IDE supports a library for stepper motor after connecting the motor with the microcontroller you can upload the sketch to the microcontroller. The following is the code of an example program, it can be modified according to your needs:

#define IN1 8
#define IN2 9
#define IN3 10
#define IN4 11
int Steps = 0;
boolean Direction = true;
void setup() {
Serial.begin(9600);
pinMode(IN1, OUTPUT);
pinMode(IN2, OUTPUT);
pinMode(IN3, OUTPUT);
pinMode(IN4, OUTPUT);
}
void loop() {
for(int i=0; i<4096; i++){
stepper(1);
delayMicroseconds(800);
}
Direction = !Direction;
}

void stepper(int xw) {
for (int x = 0; x < xw; x++) {
switch (Steps) {
case 0:
digitalWrite(IN1, LOW);
digitalWrite(IN2, LOW);
digitalWrite(IN3, LOW);
digitalWrite(IN4, HIGH);
break;
case 1:
digitalWrite(IN1, LOW);
digitalWrite(IN2, LOW);
digitalWrite(IN3, HIGH);
digitalWrite(IN4, HIGH);
break;
case 2:
digitalWrite(IN1, LOW);
digitalWrite(IN2, LOW);
digitalWrite(IN3, HIGH);
digitalWrite(IN4, LOW);
break;
case 3:
digitalWrite(IN1, LOW);
digitalWrite(IN2, HIGH);
digitalWrite(IN3, HIGH);
digitalWrite(IN4, LOW);
break;
case 4:
digitalWrite(IN1, LOW);
digitalWrite(IN2, HIGH);
digitalWrite(IN3, LOW);
digitalWrite(IN4, LOW);
break;
case 5:
digitalWrite(IN1, HIGH);
digitalWrite(IN2, HIGH);
digitalWrite(IN3, LOW);
digitalWrite(IN4, LOW);
break;
case 6:
digitalWrite(IN1, HIGH);
digitalWrite(IN2, LOW);
digitalWrite(IN3, LOW);
digitalWrite(IN4, LOW);
break;
case 7:
digitalWrite(IN1, HIGH);
digitalWrite(IN2, LOW);
digitalWrite(IN3, LOW);
digitalWrite(IN4, HIGH);
break;
default:
digitalWrite(IN1, LOW);
digitalWrite(IN2, LOW);
digitalWrite(IN3, LOW);
digitalWrite(IN4, LOW);
break;
}
SetDirection();
}
}
void SetDirection() {
if (Direction == 1) {
Steps++;
}
if (Direction == 0) {
Steps–;
}
if (Steps > 7) {
Steps = 0;
}
if (Steps < 0) {
Steps = 7;
}
}