LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview+arduino+DC motor

the problem is that i can't find this motor shield in my country and i don't have the time to bring it from forign country....and i know u can't give me the exact code..but all i want is any code of any dc motor without using this motor shield the rest (current and the voltage) i will take care of. I know i ask u a lot but for the moment you are the only one who is helping me

0 Kudos
Message 11 of 20
(2,484 Views)

To use Arduino to drive a DC motor you need a power amplifier.  The power amplifier is connected between Arduino and a DC motor.  It is used to amplify the very low level power output capability of Arduino to a value compatible with the  DC motor's  requirements.  This could be something as simple as  a transistor or as complicated as a motor shield.  The code must be designed to work with a particular power amplifier.   There is no such thing as generic code available for drving DC motors.

Here is a transistor example.
<http://arduino.cc/playground/Main/DCMotorControl>

Here is an example that uses a L293D IC

<http://luckylarry.co.uk/arduino-projects/control-a-dc-motor-with-arduino-and-l293d-chip/>

Here is an examle that uses a SN754410 IC.

<http://www.cla.purdue.edu/vpa/etb/resources/robotics01_SN754410_Arduino.pdf>

Notice the differences in code between the various examples.

For additional examples do a Google search on the phrase "Arduino DC motor".

hrh1818

0 Kudos
Message 12 of 20
(2,484 Views)

You are really trying to help me but not with what i ask for...Look i already succeed turning on the dc motor with arduino my problem is LABVIEW !!!! how can i make the code and there is no predefined symbol for dc motors unlike servo motors and stepper motor you see ?

0 Kudos
Message 13 of 20
(2,484 Views)

You say:

"Look i already succeed turning on the dc motor with arduino my problem is LABVIEW !!!! how can i make the code and there is no predefined symbol for dc motors unlike servo motors and stepper motor you see ?"

I answered this question with my reply to your very first question.   But you didn't tell me why this answer didn't help you.

Next I gave you a second chance when I asked You:

"Who is the manufacturer and what is the DC motor's model number.

What Arduino shield will you be using to drive the DC motor. "

You gave me a vague answer to the DC motor question but never answered the Arduino shield question. 

Conclusion, based on the meager information you supplied the answer I gave to your first question is the best answer I can give.  We are not here to teach you how to use Labview.

hrh1818

Hrh1818

0 Kudos
Message 14 of 20
(2,484 Views)

Look when i said i succeed turning on my dc motor i'm talking about yesterday i found it on google...and i'm not asking you to teach me labview i have ust one question i'm not asking the entire code....the question is simple in the labview palette i find sevo motor and stepper motor and there is no dc motor i googled it and there is no answer

0 Kudos
Message 15 of 20
(2,484 Views)

hiiii all

i am designing some thing like CNC but works in x-y direction with power screw to get precise calculation and distances.I want to control steps and directions of 2 stepper motors NEMA 17 (4.2 kg.cm) with labview interfaced with arduino mega or uno (whatever).

what are drivers and components (resistor, transistors) needed ??

another what is difference between stepper dc motor and regular dc motor? is that controlling steps only!!

i have little experience of programing labview ANY HELP. 

0 Kudos
Message 16 of 20
(2,310 Views)

All of your questions can be answered by searching online since they are very common questions that don't relate to LabVIEW.  I recommend that you search for your questions in the context of Arduino (not LabVIEW).

0 Kudos
Message 17 of 20
(2,288 Views)

Hi, did you fix the issue?

0 Kudos
Message 18 of 20
(2,156 Views)

no

0 Kudos
Message 19 of 20
(2,138 Views)

I think all he wants is what function to use on LabVIEW to start out.

0 Kudos
Message 20 of 20
(1,839 Views)