Drive motor using L293D / SN754410, one can change the speed of motor by potentiometer.

Drive motor using L293D / SN754410, one can change the speed of motor by potentiometer. Resistor: 2 x 1K Potentiometer: 1 x 10K Driver: L293D / SN754410 This wiring diagram just drives the motor one direction, cannot change the direction. If you want to change the direction, remove 2 resistors (1K) then connect 2 pins of L293D to 2 digital output pin on Arduino.