Connection for l293d motor shield

Hi,
You don't power the motor sheild from the Arduino!! Never! power it from a seperate supply. By the way the L293 is a poor motor driver, lose too much power on the output, try something like a small module with a FET output, much smaller, etc.

Regards

Mel.