Arduino DC Motor Control

Loading...

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

Uploaded by on Mar 19, 2009

Using the Arduino for a Pan and Tilt camera system. For more info please follow this link below:

http://hbsboard.com/index.php/topic,3882.0.html


Thanks,
Dave

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 3 dislikes

Link to this comment:

Share to:

Uploader Comments (DukeNukeIt)

  • hey i have a question i want to control a motor like a servo it must go left if u say lef and right wen u say right(with a pot)could ya give me a schematic to build a servo or anything like it????

  • @francisroan I dont do much with servo motors so I cant help you. Good luck!

  • Thanks! This is a nice tutorial for beginners. Actually I tried to make something similar, but it seems to me that I have a too powerfull motor. (Connected to 3V battery it consumes more than 2A). But in fact I wanted to use it with 8-9V+ battery. Couldn't you propose the idea how to do it?

  • @Ixanezis First, find out what the actual voltage rating for your motor is. If you use to little voltage then the motor will draw way to much current. To much voltage and you can start a small fire :@

    Once you have the correct voltage rating, and then use an H-bridge motor driver that can output the correct voltage and amperage your motor uses. Just guessing at these things can cause major problems and will not be reliable.

    Good luck!

see all

All Comments (36)

Sign In or Sign Up now to post a comment!
  • @francisroan If you want to control a motor within limits (say 90 degrees + and -) you need some sort of feedback to the microcontroller (It's called a closed loop). This way the microcontroller knows the position of the motor-shaft at any point in time.. A easy way to obtain this type of control is using a stepper motor. the Stepper motor will not continuesly run as it's powered, but move one step at the time(hense the name :) ). Stepper motors are easyer than to make a servo motor :)

    -Kriss

  • I'm a big fan of DukeNukem, so your screen name "dukenukeit" is awesome. as for your project, I'd like to eventually use my shield which is Identical to your to do 2 motors controlled thru my com with xbox360 controller. your video is very informative. KUDOS man.

  • @francisroan You can use a rotary encoder.

  • tome em del cuso

  • can i get code for this setup please ?? its really imp..

  • @roofy2k Mostly cost, and I'm not sure about the speed/power of a stepper motor vs a gear reduction DC motor. It's just easier for me to stick with what I know.

  • Hola! Me podria sacar programa para control de motor inversa y tambien me podriar dar los datos y esquematico?saludo!

  • This is perfect. Do you have a schematic, pictorial diagram and code by chance? Awesome post.  Just what I'm looking for. will save me a ton of time. Thanks!

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