Arduino ~ DC Motor Controller (Easy!)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
23,044
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 6, 2011

NEW!!! How to add a RFID Card Reader to your Arduino! http://bit.ly/lkg0K5

http://aksoapy29.comoj.com/dcmotorcontroller.html

Link to older website I made for this tutorial: https://sites.google.com/site/arduinosoapy29/motor-speed-controller

In this tutorial, I will show you how to build an inexpensive DC motor controller. It doesn't go backwards. You need to use an H-bridge, which I might make in another video. This is my first REAL tutorial, and I was a little nervous recording it. My camera was also in a bad spot, kinda. Hope you like it! Rate, Comment, and SUBSCRIBE! If you have ideas for music in future videos, PM me.

Link to this comment:

Share to:

Uploader Comments (AKSoapy29)

  • @sanity599 A relay will work, if you use the right type. Dual pole, dual throw works, and it runs the same way as if you don't have a relay. The relay part comes after the diode, to prevent damaging the controller. When I make the tutorial, you will see. Have you even tried it? If not, your trolling.

  • in your set up is there a way to making the motor spin the other way? or is that another setup?

  • @perez861 There is another setup using a dual pole, dual throw relay. I was going to make a video of how to create it, but I just haven't had the time to do so. Maybe this weekend would be a good time...

  • @AKSoapy29 You can't do it that way. The diode that is across the motor is to prevent voltage from flowing back into your arduino, killing it, when the magnetic field collapses when the motor is shut off. To make the motor turn both ways and to protect your controller you need an H-bridge. Google is your friend.

  • @sanity599 I made a different way to control speed and direction using a relay. No need for an h-bridge.

  • What music is this?

  • @bc2noob 7:28 in the video will tell you.

    AcDc Back in Black,

    Nickelback Savin' Me

see all

All Comments (40)

Sign In or Sign Up now to post a comment!
  • Just because it works now doesn't mean that you are not hitting your controller with high voltage. So when your controller stops working you will know why. Maybe if you can get the use of an oscilloscope and set it up to look at the pin you are using to drive the motor. Run the motor then shut it off. See if you can see the voltage spike coming back to the controller.

    But hey it's our controller, blow the crap out of it if you want.

  • @AKSoapy29 You see that diode that is connected across the leads to the motor? That is there to prevent voltage flyback from blowing up your controller. This voltage comes from the collapsing magnetic field that occurs when you shut off the power to the motor. When you need to be able to run the motor in both directions you need a way to control flyback. The diode only works in one direction. So you need something that will protect your controller. A relay will not do that.

  • What is the delay for?

  • drowned out by (noise) cannot absorb info with that racket in background

  • @AKSoapy29 how about creating a tutorial with "L293D"? It helps in turning the motor both ways.

  • @veizagaarze Hey,

    I don't know the name for it, but I believe there is some sort of Arduino board that is designed for it 50 output pins that are PWM. that means you can control 50 servos providing you have the correct power supply and connect the grounds together.

    If you search Google you will find it in a few seconds :) hope this helps.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more