Where is the schematic of how you wired it up ? I can't see how the arduino input voltage is connected .
What is the voltage to the arduino and where is it connected ?
Do the motor driver and arduino have a common ground ?
Where is the power coming from ?
What are all those components on the breadboard ?
Draw a schematic and take a post a photo of it.