LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Arduino Labview DC motor control

Hi

 

I would like to control a DC motor (9V 100mA) using arduino and labview. I made the example from this link: https://www.youtube.com/watch?v=OpdQFC3DdG4

In the movie the motor is working well but in my case it didn't happen. I can't change in run time the speed of the motor. It is not working fine. I would like to ask is it possible to set and change the direction of the motor rotation in labview and to generate the PWM signal in arduino processor. In all examples that I saw the whole work is made in labview without writing any code in arduino processor.

Could you please tell me if using only labview for writing a code I will control the DC motor speed.

Here is the screenshot of my code (I am using Arduino Mega):

 

Screenshot_VI.JPG

0 Kudos
Message 1 of 2
(6,836 Views)

Hi tiho,

 

I would suggest the following:

1. Please check if your Arduino was fully tested with this toolkit. You can find information about the compatibility of Arduino Board and LabVIEW Interface for Arduino Toolkit on the following link:

http://digital.ni.com/public.nsf/allkb/677A0D3EF79BDA8D8625786F0080969D

 

2. You can find the setup procedure on this link: https://decibel.ni.com/content/docs/DOC-15971

 

What is very important is to first load the Arduino Firmware and only than you can control it in LabVIEW. More details here:

http://digital.ni.com/public.nsf/allkb/8C07747189606D148625789C005C2DD6?OpenDocument

 

Good luck in your project,

IR

Message 2 of 2
(6,749 Views)