I need to feed 4 DC motors of 5V on my Raspberry Pi 3 Model B using PWM (Pulse Width Modulation).
Currently, I have the next components: 2 NPM transistors, 1 L293D integrated circuit, resistors (220 Ohms), wires, etc.
My question is, what is the correct way to feed the 4 motors with 4 GPIO pins?
I will appreciate any kind of help.
circuit diagram