LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

control dc motor with arduino

Hi

I want to control the Brushless DC Motor in Labview. The board that I want to use it for control the motor is Arduino. If anyone knows how can I control the motor, please informe.

0 Kudos
Message 1 of 6
(4,150 Views)

If your motor is a BLDC or stepper motor then there are examples that ship with the Labview for Arduino Toolkit (which you will need anyway to get LabVIEW talking to the arduino)

 

If not then you could run it via the arduino, but you will need to take care that your motor's required ampage does not exceed the max of the arduino's pins which is 40mA (for the R3 version). In this case it would probably be best to use an ESC which you could then control using the arduino.

 

-CC 

----------------------------------------------------------------------------------------------------------------------------
"If anyone needs me, I'll be in the Angry Dome!"


0 Kudos
Message 2 of 6
(4,113 Views)

yes, actually I using BLDC, but in labview, just it has example for servo and dc motor, not BLDC.

Thanx

0 Kudos
Message 3 of 6
(4,106 Views)

To control a BLDC, you need an ESC. You really don't want to skip this step because the ESC provides fairly complex functions like monitoring the back EMF of the motor to find position. Once you have an ESC, all you have to do is control the device with PWM, which is something the arudino can do. In fact, ESCs use the same PWM as servos, so you can control it using the servo example.

 

Edit: This depends on if you have a BLDC without an integrated ESC. Check that.

Josh
Software is never really finished, it's just an acceptable level of broken
0 Kudos
Message 4 of 6
(4,102 Views)

thanx for ur information.

0 Kudos
Message 5 of 6
(4,093 Views)

Hi, sorry again it's me. I could not control my motor with servo example in arduino. I connect pin number 8 of driver to the pwm of arduino. and also 5 volt and ground of the arduino to the pins number 4&5, but it does not work. I attached the data sheet of the motor and the vi also. if u understand how it works pplease let me know. 

Download All
0 Kudos
Message 6 of 6
(4,067 Views)