Introduction DC motors are essential in robotics, automation, and DIY projects. However, Arduino pins alone can’t supply enough power to drive most motors. This tutorial teaches you how to safely control a DC motor’s speed and direction using an Arduino Uno, a transistor, and PWM (Pulse Width Modulation). Why You Need a Transistor and PWM