• 0
ronil

Control DC motor with Labview and arduino serial communication

Question

Hi, 

I am a beginner in electronics and trying to interfacing few basic components with labview as per my curriculum, here I followed the attached control schematics (from here  https://circuitdigest.com/microcontroller-projects/arduino-labview-interfacing-tutorial) to control the LED with ARduino using serial communication.

Design-Simulation-for-LED-Blink.jpg.0dda2caaaf1c21abb0206d3f494408e6.jpg

It was successful but as soon as i replaced the LED with a DC Motor, it stopped working. Means DC motor is not rotating at all. I connected the DC motor with GND and pin 6 of Arduino and changed the DO pin in the above graphical interface, but it didnt worked. Can anyone tell me where I went wrong?

Spoiler

 

 

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

I doubt the pin is able to drive a DC motor, which will require take hundreds of milliamperes. You'll need a driver transistor, MOSFET or the like.

Share this post


Link to post
Share on other sites
  • 0

Do not try an drive a motor winding with a device IO pin that is not conditioned for such duty. Reactive loads will do nasty things to your device and subject it to conditions well outside its specified operation range. Your output pin must be isolated by a proper driver circuit.

Share this post


Link to post
Share on other sites
  • 0

Ok, so we need a separate driver circuit to run DC motor.

I know that Servo and stepper need driver circuits, but I can run DC motor by just connecting it to battery without any circuitry. So I thought it can be run directly. 

Anyway I will search about this and come back if having any doubt. 

Share this post


Link to post
Share on other sites
  • 0

My advice for driving a relay coil is the same. I'm not guessing about this I've completed designs. Doing some research is a good idea. So would be doing some simulations. There are free analog simulators available that will let you use realistic components.

Edited by zygot

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now