02-14-2023 02:53 PM
Hi all,
I am carrying out a project to operate two NEMA17 stepper motors at a constant velocity, through the use of the USB6008 multifunctional DAQ device.
I have looked into this through the following link:
However, I am now looking to wire this up, in a manner that doesn't damage the circuitry, and was wondering if someone could provide advice and tips for wiring this setup correctly.
The NEMA17 motors have a voltage of 3.3V, and a rated current / phase of 1.5 A.
Any help on this would be greatly appreciated. Thanks
Solved! Go to Solution.
02-14-2023 03:09 PM
See attached the motor specification:
02-14-2023 03:27 PM
USB-6008 cannot directly drive the stepper motor (evident from the voltage and current requirements). You need a stepper motor driver that takes in digital signals and drives the stepper motor accordingly.
Look at this catalogue on some excellent stepper motor drivers - https://www.pololu.com/category/120/stepper-motor-drivers
Now, USB-6008 sends digital pulses/signals to this stepper motor driver which in turn controls the higher voltage / current stepper motor.
02-14-2023 07:16 PM
As you follow Santhosh's link, I'd recommend you *also* look into the stepper controllers.
Constant velocity requires a constant rate of step pulse "command" signals, which in turn requires hardware-based timing. The USB-6008 does not offer counter pulse train capability, nor hardware timing capability for its digital outputs. You can't even fake it with analog output b/c that doesn't support hardware timing either. It really isn't a suitable device for controlling stepper motor speed.
The vendor in the link offers a few stepper controllers. I didn't research any of them deeply and can't say for sure if any of them would be suitable. But you do need *something* capable of delivering a constant step pulse rate, and I expect you probably want the rate to be programmable. Those things point to *some* kind of stepper controller.
-Kevin P
02-15-2023 12:19 AM - edited 02-15-2023 12:19 AM
Hi santo_13 and Kevin_Price,
Thanks for both of your help on this issue, I greatly appreciate it.
After some more research, I have come across example circuitry, making use of a NEMA17-compatible driver, however, I was wondering if the USB6008 would be able to replace the microcontroller in this example, and therefore sending the signals for step and direction.
Thanks
02-15-2023 06:10 AM
With the USB-6008, step pulse timing would not be consistent and the top frequency would also be limited. Both issues are due to the need to toggle a digital line with software timing because hardware timing isn't supported.
You could probably generate some motion as a proof of concept, but you won't get constant or particularly high speed.
-Kevin P
06-14-2023 05:43 PM
Good Evening Everyone,
I am trying to control stepper motor without using Arduino. I have written a Labview code generating 4 outputs in a cyclic fashion which will allow my motor to rotate. I am Stuck in between on how to wire my hardware correctly and send my generated signals to the driver in such a way that stepper motor can rotate.
I will attach my code in the section.
It will be a great help if anyone can guide me through it.