Control motor stepper using driver MD5-HF14 from autonics

Hello everyone, my name is Huy.

I just bought the MD5-HF14 driver and a 5-phase motor from Autonics.
I want to control the stepper motor using Arduino, but I don’t know how to connect everything.
Can you guide me step by step on how to wire the devices, supply power, and ensure proper grounding according to the correct procedure and safety standards?

Below is the connection diagram that I drew myself.

P.S: I have referred to some articles like this one "control motor stepper using driver from autonics", but everything was useless and didn’t help me at all.

I would try connecting CW- and CCW- to Arduino GND, and pin 2 to CW+ and pin 3 to CCW+.

Then output pulses on pin 2 and 3 accordingly.

Also set DIP switch 2 to "ON" position. Then CW+ becomes STEP, and CCW+ is DIR. You can then use stepper libraries like AccelStepper or similar.

Thank you so much for your response! However, I still have a small question that I would like to clarify. Do I need to connect the ground wire between the 9V power supply of the Arduino and the 24V power supply of the driver?

Hi, @shwuqaskw25479
Welcome to the forum.

Have you looked at the manual for the driver?

md5_en_cat_170830_hw.pdf (2.2 MB)
Its seems the inputs are opto isolated so you can do direct controller to driver connection without current limit resistors.

Can you please tell us your electronics, programming, arduino, hardware experience?

Thanks... Tom.... :smiley: :+1: :coffee: :australia:

No, they are isolated supplies.

1 Like

My name is Huy
I am a senior student

Thank you so much for your response! However, I still have a small question that I would like to clarify. Do I need to connect the ground wire between the power supply of the Arduino and the power supply of the driver?

Look at post #5 answer.
Because they are optically isolated, you do not need to connect the grounds.

What is the course you are doing, what year?

Tom.... :smiley: :+1: :coffee: :australia:

1 Like

Thanks Tom, I'm currently studying Control and Automation Engineering, and I'm currently a 4th year student.

I am working on an inverted pendulum project using a stepper motor

Okay thanks, how about you use the resources of your University first, they have to have all the answers, because they are teaching you.

Sorry but I am surprised at 4th year you need to ask about gnds when you have the information in the manual.

Tom.... :smiley: :+1: :coffee: :australia:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.