Friday, September 12, 2014

DC Motor Control by LabVIEW


This Video's about controlling a DC motor from LabVIEW

The above video explains how to control DC motor with the help of arduino and labview, its possible to control 2 motors using L293D Motor IC, by using this motor driver we can control motor in 2 direction and speed of the motor can be controlled by connecting pwm pin of the arduino to the enable pin of the motor IC. 

PREREQUISITE :

Little Programming experience using LabVIEW

Understanding Electronics circuits 

circuit diagram for controlling DC motor
The above circuit uses the L293D IC for controlling a DC motor. It's possible to control two DC motor with the help of L293D IC

Complete file can be downloaded from here. 

Arduino Linx file can be downloaded from here

18 comments :

  1. Hi, I saw your video, it was very helpful to me, can you please make the ex file compatible with labview 2013 version? because I can not open it with my 2013 labview.

    Thanks.

    ReplyDelete
    Replies
    1. https://www.dropbox.com/s/n1jhei6apjs9b61/motor.vi?dl=0

      Hi, I saved my vi in 2013, Hope this will be useful for you


      Thank you

      Delete
  2. I opened your vi file but most of the block was missing. I am using the replace base for LIFA "LINX" and its really awful (More than my English xD). I attached my vi file, please if it doesn't bother you so much check it out and tell me what am I doing Wrong. https://www.dropbox.com/downloading?src=webreg&setup=1



    Thanks

    ReplyDelete
    Replies
    1. Sorry, this is the link https://www.dropbox.com/s/9549lpbk9nutfcb/MotorControlXXXX.vi?dl=0

      Delete
    2. Hi,I've created a same vi with linx, try this one,

      https://www.dropbox.com/s/ghlvesi7ejg0yyo/linxmotorcontrol.vi?dl=0

      Delete
  3. Hi lifa and linx both are different architecture, you need LIFA installed to your system to open this succesfully. let me create a vi with linx and send you in a while.

    Thank you

    ReplyDelete
  4. Thank you!. But now I am getting this error when I try to run your vi :

    Error 54 occurred at TCP Open Connection in LVH-LINX.lvlib:Device.lvlib:TCP Open.vi->LVH-LINX.lvlib:Device.lvlib:Initialize Device.vi->LVH-LINX.lvlib:Initialize.vi->linxmotorcontrol.vi

    dont know what it is.

    ReplyDelete
    Replies
    1. Hi mauricio , you have to configure the port that you connected your arduino (com) port to the system. check with the port setting the VI

      thank you

      Delete
  5. Thanks, I have already done myself a program to control a led and it works, I used parts of your .vi and a example from LabView, here's the .vi check it out.

    https://www.dropbox.com/s/an42hjqqi1q3cxh/ItWorks.vi?dl=0

    Now, Im thinking about getting a RPM control of the motor through an IR Sensor (QRD1114) and engage the motor to a dc generator. I will send you the .vi when I am done.


    PS: I am an electrical Engineer (Power), but my "electronics/automation" skills are a little bit terrible but I am trying to improve.

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
  6. LabVIEW is a graphical programming platform that helps engineers scale from design to test and from small to large systems.
    It offers unprecedented integration with existing legacy software, IP,
    and hardware while capitalizing on the latest computing technologies.
    LabVIEW provides tools to solve today’s problems—and the capacity for future innovation.

    equipment validation
    labview programming
    software validation

    ReplyDelete

  7. LabVIEW is a graphical programming platform that helps engineers scale from design to test and from small to large systems.
    It offers unprecedented integration with existing legacy software, IP,
    and hardware while capitalizing on the latest computing technologies.
    LabVIEW provides tools to solve today’s problems—and the capacity for future innovation.


    labview programming

    ReplyDelete


  8. Let me clarify my point on LabVIEW and touch ready...
    I mean that the concept of direct manipulation in LabVIEW,
    of picking blocks and placing them and then wiring them together is more amenable to "touch-based development" than using a touch-based text editor to write code.
    I am optimistic, that for many use cases, developing code on a pure touch interface with LabVIEW will be preferable to mouse and keyboard



    labview programming

    ReplyDelete
  9. LabVIEW software is ideal for any measurement or control system, and the heart of the NI design platform.
    Integrating all the tools that engineers and scientists need to build a wide range of applications in dramatically less time,
    LabVIEW is a development environment for problem solving, accelerated productivity, and continual innovation


    labview programming

    ReplyDelete
  10. I appreciate you taking the time to correct some of my misconceptions and provide a different perspective.
    I will admit that LabVIEW does have some awesome hardware integration and definitely eases deployment.
    My post was mainly a outlet for too many hours of frustration trying to get LabVIEW to do things that
    I could have accomplished in much less time using a more traditional language.
    And while I still prefer text-based languages


    labview programming

    ReplyDelete
  11. Do we need any code for the arduino?

    ReplyDelete
  12. hi, iam doing the master and slave robot in your blog and i cant connect the bluetooth module to the mobile like u did , can u help ?

    ReplyDelete