click here to enter

DC motor

Kingston hackSpace

DC Motor

A DC motor is the most common class of electrical machines that converts direct current electrical power into mechanical power or the other way around. DC motor relies on the forces produced by magnetic fields N and S. The speed can be controlled using a Rotary encoder or by changing the strength of current in its fields. In hackSpace we have 5-9V DC motors and slighty more powerful 12V. Toy companies usually use small DC motors.

DC Motor Arduino Pins
OUT PIN D2
VCC 5V
GND GND

Wiring is very simple two wires: one positive and one negative. You may use Arduino motor shield to power and control motors at the same time, however the example below explain how to connect the DC motor to Arduino without a motor shield.