Is this a good way to drive a dc motor. Im new into this and try to build a little robot with an old raspberry pi. the logic button will be power by PWM to set the amout of power and control the speed of the motor. this is one motor. Kind of proof of concept before building it.
The goal is to create a mini batmobile from scratch. (a tank like car with two motor)