click here to enter

DC Motor

Kingston hackSpace

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 slightly more powerful 12V. Toy companies usually use small DC motors.

DC Motor Arduino Pins

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.


  • to borrow a 12V DC motor, click here

  • to borrow a 5V DC motor, click here