Motors for Arduinos

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)todbot's blog - Link.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.
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 |
| Digg this!
Recent Entries
- Best of CRAFT
- 10 Things 3D printers can do now
- How to nap
- GeekDad at Maker Faire
- Sugarcube sculptures
- Set your clocks back it's Standard time again...
- Pedal to a cold drink...
- Austin Event: DJ/Laptop Battle
- Single-Wheeled Bike Trailer
- Gear heart
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
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)
Features and more @ 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.

Why advertise on MAKE?
Read what folks are saying about us!
Click here to advertise on MAKE!
Makezine authors!
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)



Leave a comment