From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, 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: 

stepper motor/labview/USB-6002

Solved!
Go to solution

Hello!

Now, I have Data Acquisition Card USB-6002. I want to use this to control the stepper motor. It seems that the voltage from USB-6002 is not high enough for stepper motor. Should I buy a stepper motor driver, or is is possible to connect steper motor driver with USB-6002? Or I should use voltage amplifier connected to USB-6002 without stepper driver?

 

 

0 Kudos
Message 1 of 11
(3,646 Views)

Hi jietucs,

 

It seems that the voltage from USB-6002 is not high enough for stepper motor.

Yes. But even more the current from the AO pins is not high enough…

 

Should I buy a stepper motor driver

Yes, sure.

 

or is is possible to connect steper motor driver with USB-6002?

Surely you can connect the motor directyl to your DAQ device - but without any useful results… (Sarcasm!)

 

Or I should use voltage amplifier connected to USB-6002 without stepper driver?

Use a stepper motor driver, they are made for just that purpose…

(To put that in other words: you aren't able to read the datasheets of the USB6002 and your stepper motor, but you want to use some "self-built" amplifier circuits?)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 11
(3,639 Views)

Hi,

 

Can I see your vi code ?

0 Kudos
Message 3 of 11
(3,595 Views)

Hi Saad,

 

who is "you" and which "code" are you talking about?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 11
(3,584 Views)

Hi,

 

I am working in my lab to run a 4-wires stepper motor (12V ) for my project, this stepper motor is moving a tray on a linear rack . 

 

I am using DAQ 6002 and driver 8825.

 

I need the code that can do the things above ! 

0 Kudos
Message 5 of 11
(3,582 Views)

Hi Saad,

 

I am using DAQ 6002 and driver 8825.

I need the code that can do the things above !

After a quick internet search I guess all you need are two digital signals to set "STEP" and "DIR" (read the 8825 manual for more details). The USB6002 provides those digital output signals.

 

All you need is a little VI setting the DO signals as needed - see all those DAQmx example VIs coming with LabVIEW for inspiration…

(When you "need the code" you should start creating it using LabVIEW.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 11
(3,579 Views)

Thank you very much .

0 Kudos
Message 7 of 11
(3,577 Views)

Thank you very much for your reply.

 

Now, I have a step motor 28BYJ-48 with an driver board. I also have a DC power source suitable for this step motor. Actually, the key component of this driver board is ULN2003. It seems that this driver board is made for Arduino control, yes or no? Can I use the TTL signal from USB-6002 to connect with this driver board,and finally control the step motor?

0 Kudos
Message 8 of 11
(3,530 Views)
Solution
Accepted by topic author jietucs

Hi jietucs,

 

It seems that this driver board is made for Arduino control, yes or no?

Read the manual of that driver board to find the answer…

 

Can I use the TTL signal from USB-6002 to connect with this driver board,and finally control the step motor?

Yes.

(Again: the answer to this question could be found be reading the manual of that ULN2003 IC…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 9 of 11
(3,526 Views)

thank you for you quick answer. I have no such experimence before, so I want to make sure that it will work before I start. 

0 Kudos
Message 10 of 11
(3,521 Views)