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.

Posted by Phillip Torrone | Oct 26, 2007 03:00 AM
Arduino, DIY Projects, Electronics, Open source hardware | Permalink | Comments (2) | Email This | Bookmark and Share | Digg this!

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

How-to videos for Makers and Crafers!


Void your warranty, violate a user agreement, fry a circuit, blow a fuse, poke an eye out... Welcome to the Make Blog!

Features and more @ MAKE!

Maker shed - cool stuff to make!
Stop by the Maker Shed store and check out THE place for open source hardware, Arduino & Arduino accessories, electronic kits, science kits, smart stuff for kids, back issues of MAKE & CRAFT, box sets, books, robots, kits from Japan and more.

Add MAKE to iGoogle - GoogleGoogle.
Add MAKE to your RSS reader - Real simple.
Add MAKE on Twitter.
Add MAKE on FriendFeed & the MAKE room.


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!

Makezine authors!


Suggest a Site!

Phillip Torrone
Senior Editor
Tel: 707-827-7311
Twitter / AIM

Gareth Branwyn
Jonah Brucker-Cohen
Collin Cunningham
Marc de Vinck
Kip Kay
Luke Iseman
Patti Schiendelman
Becky Stern
Mike Dixon
Peter Horvath(intern)


Current Podcast

itunesdl.gif The Best of Maker Faire Austin 2008 Check out all the fun and excitement at this year's Maker Faire in Austin, Texas. People from all over the world came to experience this amazing event. Take a look at some of the highlights and make plans to... More...

Get the Make blog sent via email

Enter your email to receive the Make blog each day:



WOW! Thanks to everyone involved with Maker Faire Bay Area and Maker Faire Austin in 2008: attendees, makers, exhibitors, sponsors, volunteers, and crew...it was an AMAZING year! Over 1,000 Makers and 87,000+ attendees total! Be sure to check out the photos @ Flickr, and our Maker Faire posts for all the action! Check back for dates for 2009 soon!

Make Categories

www.flickr.com
photos in MAKE More photos in MAKE Flickr Pool
www.flickr.com
photos in Craft More photos in Craft Flickr Pool

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

Click here to advertise on MAKE!
Subscribe to MAKE Magazine!

Recent Posts from the Craft: Blog

Recent Posts from the Hackszine Blog