Part 1: Hardware

​Introduction to DC Motors

​A DC (Direct Current) motor is an electromechanical device that converts electrical energy into rotational motion. When power is applied, the motor shaft spins continuously until the power is removed. Unlike servo motors, which move to specific positions, DC motors are designed for ongoing rotation, making them suitable for applications like wheeled robots, conveyor belts, and fans. The speed of rotation generally increases with the voltage applied to the motor.
​A DC motor operates on the principles of electromagnetism. Inside the motor housing, a set of wire coils, known as the armature, is positioned within the magnetic field created by a permanent magnet. When an electric current flows through these coils, they become electromagnets. The interaction between the magnetic field of the electromagnets and the field of the permanent magnets creates a force, described by Lorentz's Law, which causes the armature to rotate. A component called a commutator periodically reverses the direction of the current in the coils as the armature spins. This continuous reversal of the magnetic poles ensures that the rotational force, or torque, is maintained in a single direction, resulting in the steady rotation of the motor shaft. The speed of this rotation is proportional to the voltage applied, while the torque is proportional to the current flowing through the coils.