Motors for Arduinos

Mkardie-2-1
I asked Todobt for some advice on using motors with Arduninos without a motor shield, his answer was great and makes a good post to share, so here it is... -

For normal motors, just about any surplus DC motor that's rated something like "1.5VDC - 6VDC" will work. Add a transistor like a TIP120 to switch the higher current and a diode across the motor to protect against back EMF and you're done. You can only drive the motor in one direction with that though. To do forward/reverse you need 4 transistors and at that point it's easier to just use the standard motor driver chip. (it's just those four transistors wired up for you in a package)

For servos, I've only really played with the standard $10 hobby servos. I always get the cheapest ones out there. I run the servo control signal directly to an Arduino pin, and power the servo directly from the Arduino power supply. Most servos are made to operate at around 5V, but I think there are others that will take 12V or something.

With the DC motors, I also power them off the Arduino +5V power supply. A motor with a higher voltage rating would be better powered off Arduino Vin. This is where the transistor is neat, because it switches the higher voltage to the motor using the lower voltages of the Arduino. Transistors rock.

One thing to note though is that if you're using a 'minimal' Arduino like a Boarduino, its power supply caps might not be enough to filter out the motor noise and you might get some brownouts. Also, powering motors off of 9V batteries can be hit-or-miss too. I'm still experimenting with a solution for that for the Arduino class I'm teaching in November.

todbot's blog - Link.

Post up in the comments if you have other suggestions.


Recent Entries

Comments

Oldest comments listed first.

Posted by: hoeken on October 26, 2007 at 6:47 AM

I'm not quite ready to make an announcement yet, but the RepRap project is about ready to release a new set of boards that do pretty much exactly this:

The first board is a PWM driver which is basically 3 TIP120's + diodes for each. More info here: http://make.rrrf.org/pd-1.0

The second board is a DC motor driver for small motors that uses very basic parts (ie: cheap) More info here: http://make.rrrf.org/dcmd-1.0


Posted by: snarkyFish on October 26, 2007 at 8:50 AM

If you aren't worried about weight, a rechargeable battery from a drill or handheld power tool makes a great power supply. They aren't wasteful, run practically forever on your average arduino project, and most people have at least 1 extra one around the house.

Here's my blog on the subject


Leave a comment


Subscribe to MAKE!Subscribe to MAKE Magazine!

Subscribe today, save 42% and get web access to MAKE free. MAKE Digital Edition is available only to subscribers.

$34.95 / 1 year
(4 Quarterly Issues)

Subscribe now


Void your warranty, violate a user agreement, fry a circuit, blow a fuse, poke an eye out. Make: The risk-takers, the doers, the makers of things... Welcome to Make: Online!


CRAFT Maker Shed Maker Faire MAKE television
Holiday Gift Guides from MAKE


Gifts for Dads
More guides: Science and Chemistry, Gifts Under $20, Santa Claus Machines, Geek Toys for Grown Up Girls & Boys


Check out all of the episodes of Make: television

Alex Rider Dream Gadget Contest
Make: Science Room

Connect with MAKE

Be a MAKE fan on Facebook MAKE on Facebook
Visit our Facebook page and become a fan of MAKE!
MAKE on Twitter MAKE on Twitter
Follow our MAKE tweets!
MAKE Flickr Pool MAKE on Flickr
Join our MAKE Flickr Pool!
    make_tips on Twitter




    Maker SHED

    Advertise here with FM.

    Why advertise on MAKE?
    Read what folks are saying about us!

    Click here to advertise on MAKE!



    Subscribe to MAKE Magazine!

    Make: Online authors!

    Gareth BranwynGareth Branwyn
    Senior Editor


    Phillip TorronePhillip Torrone
    Senior Editor
    | AIM | Twitter


    Becky SternBecky Stern
    Associate Editor
    | AIM | Twitter


    Marc de VinckMarc de Vinck
    Contributing Writer
    | AIM | Twitter


    John ParkJohn Park
    Contributing Writer
    | Twitter


    Sean RaganSean Ragan
    Contributing Writer
    | Twitter


    Matt MetsMatt Mets
    Contributing Writer
    | AIM | Twitter


    Dale DoughertyDale Dougherty
    Editor & Publisher
    | Twitter


    Shawn ConnallyShawn Connally
    Managing Editor
    | Twitter


    Goli MohammadiGoli Mohammadi
    Associate Managing Editor

    Kip KayKip Kay
    Weekend Projects
    | AIM | Twitter


    Collin CunninghamCollin Cunningham
    Contributing Writer
    | AIM | Twitter

    Adam FlahertyAdam Flaherty
    Contributing Writer
    | AIM | Twitter



    More contributors: Mark Frauenfelder (Editor-in-Chief, MAKE magazine), Kipp Bradford (Technical Consultant/Writer), Chris Connors (Education), Diana Eng (Guest Author), Peter Horvath (Intern), Brian Jepson (O'Reilly Media), Robert Bruce Thompson (Science Room)

    Suggest a Site!

    Current Podcast

    itunesdl.gif Weekend Project: Beetlebot Simple robot from your parts bin that avoids obstacles. Thanks go to Jerome Demers for the original article in MAKE, Volume 12. To download the Beetlebot video, click here or subscribe in iTunes. Check out the complete Beetlebot article... More...

    Get the Make: Online sent via email
    Enter your email to receive Make: Online each day:



    MAKE Fascination video series brought to you by Dow

    Make: Education
    MAKE: en EspaƱol MAKE: Japan
    Important please read


    Subscribe to MAKE Magazine!

    Recent Posts from the Craft: Blog