50% found this document useful (6 votes)
7K views2 pages

Arduino HY DIV268N 5A

The document provides instructions for connecting an Arduino Uno board to a HY-DIV268N-5A stepper driver to control a stepper motor. Key steps include using an Arduino pin that supports PWM like pin 9, connecting the Arduino ground to the driver ground, and setting the DIP switches on the driver to a current of 2.5A and microstep of 1 before powering on. The Arduino code example simply pulses pin 9 to demonstrate basic stepper motor control.

Uploaded by

patrickNX9420
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
50% found this document useful (6 votes)
7K views2 pages

Arduino HY DIV268N 5A

The document provides instructions for connecting an Arduino Uno board to a HY-DIV268N-5A stepper driver to control a stepper motor. Key steps include using an Arduino pin that supports PWM like pin 9, connecting the Arduino ground to the driver ground, and setting the DIP switches on the driver to a current of 2.5A and microstep of 1 before powering on. The Arduino code example simply pulses pin 9 to demonstrate basic stepper motor control.

Uploaded by

patrickNX9420
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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