From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI myDAQ wiring connection with Microstep Driver

Solved!
Go to solution

Hi,

 

I am trying to control a stepper motor using Microstep Driver ST-M5045.  I am using NI myDAQ.

 

I want to control the motor direction (clockwise/ anticlockwise). But I am not sure how to do the wiring with my DAQ. Which port of DAQ should be connected with which port of Microstep driver? The Driver link is here : https://www.sainsmart.com/products/cnc-4-5a-micro-stepping-stepper-motor-driver .

 

Any kind of help is really appreciated. Please help me with proper connection diagram

0 Kudos
Message 1 of 3
(1,998 Views)
Solution
Accepted by topic author Curious_Mind

I'm not familiar with the myDAQ, but I have used similar stepper drivers in the past.

 

PUL- DIR- and ENA- can all be connected to the DAQ Gnd.

 

DIR+ and ENA+ should be connected to standard digital output pins on the DAQ.

PUL+ should be connected to a counter output.

 

Changing HIGH / LOW on ENA+ will enable or disable the driver (you will have to check which way around this is).

Changing HIGH / LOW on DIR+ will change the rotation direction.

 

You need to generate a pulse train on the PUL+ pin. Each pulse will be one (micro)step on of the stepper.

 

 

 

 

0 Kudos
Message 2 of 3
(1,962 Views)

Thanks. Seems like this will work

0 Kudos
Message 3 of 3
(1,959 Views)