Recommended · for beginners
Controlling DC Motors with the L298N H Bridge and Arduino
Why people recommend it
DroneBot Workshop shows how to drive DC motors from an Arduino with an L298N H-bridge, covering speed and direction; a common starting point for motor control questions.
Watch for: L298N voltage drop with low-voltage motors
In their words
L298 & Arduino Tutorial video - 36 minutes
Russell McMahon on electronics.stackexchange.com, Jun 2019. CC BY-SA.
I did find this video but in my untrained mind, it seems just hooking up to a switch, if it's available, would be less expensive and more simple:
tayglo on electronics.stackexchange.com, Feb 2023. CC BY-SA.
I tried to follow this step by step tutorial ([video]) but the motor is not spinning..yet.
Anthony De Faria on arduino.stackexchange.com, May 2020. CC BY-SA.