The Countdown to Maker Faire Bay Area is On!


Motors for Arduinos

Arduino Technology
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)

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.

4 thoughts on “Motors for Arduinos

  1. hoeken says:

    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:

    The second board is a DC motor driver for small motors that uses very basic parts (ie: cheap) More info here:

  2. snarkyFish says:

    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

Comments are closed.

Discuss this article with the rest of the community on our Discord server!

current: @adafruit - previous: MAKE, popular science, hackaday, engadget, fallon, braincraft ... howtoons, 2600...

View more articles by Phillip Torrone
Maker Faire Bay Area 2023 30% off early bird ticket sales ends August 31st, 2023!

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Prices Increase in....