Recommended · for beginners
OLD:Raspberry Pi - How to control motors...
Why people recommend it
A beginner tutorial on driving DC motors from a Raspberry Pi with an L298N board, often followed by people building their first robot.
Watch for: Expect to adapt steps, and power the Pi separately from the motors
In their words
I am following this tutorial in my attempt to create my first Pi based robot.
sisko on raspberrypi.stackexchange.com, Mar 2018. CC BY-SA.