You are on page 1of 2

Bare minimum : Arduino and HY-DIV268N-5A Stepper Driver

Compiled by Micro Robotics

USB cable power File : arduino_HY-DIV268N-5A.pdf


Arduino UNO Board

GND

PIN 9

Important : Only use pins on the Arduino that


support PWM (~) Exampe pin 3,5,6,9,10,11

HY-DIV268N-5A
DIR-
DIR+ Model : 57BYGH627
PUL- 2NM 3A/PHASE
PUL+
EN-
EN+
A+
A-
B+
B-
DC-
DC+

ERR PWR
Important to use common ground

-
+ 24V 6A

POWER SUPPLY

22OV AC
Before you switch on, make sure of the following settings
DIP Switch Settings, Current = 2.5A Microstep = 1

1 2 3 4 5 6
ON

Arduino Code Example

void setup() {
pinMode(9, OUTPUT);
}

void loop() {
digitalWrite(9, HIGH);
delay(1);
digitalWrite(9, LOW);
delay(1);
}

You might also like