O'Reilly logo

Arduino Robotic Projects by Richard Grimmett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Connecting a DC motor directly to Arduino

The first step in connecting a DC motor to Arduino is to actually obtain a DC motor. The motors that you will be dealing with here are simple, small DC motors. The motors must not require much current because Arduinos cannot supply more than 40 mA of current directly. For this example, you can use a small 6 V DC motor available at most electronics or hobby stores. The following figure shows one such motor:

Connecting a DC motor directly to Arduino

In order to connect this motor to your Arduino, you'll need some additional parts. You'll need two male-to-male solderless jumper cables and two alligator clip jumper cables. You'll also need a transistor, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required