pwm

Mastering Arduino Part 14 cover: PWM and Switching Real Loads, with an Arduino board, a transistor switch, a DC motor with a diode, and a separate power supply
Mastering Arduino Part 14: PWM and Switching Real Loads
Learn PWM on the Arduino Uno, then switch real loads with a transistor or logic-level MOSFET, a flyback diode and a separate supply, and build a motor speed knob.