Hi, I see three gnd pins on the motor controller and not one of them is connected to the Nano gnd? Infact gnd of the Nano is conncted to Vcc of the motor controller from what I can see..
Tom..