Now I am powering the system through the dc barrel from the arduino. The first difference is that every time I connect the power, the system starts running, and this was not the case when connecting the power directly to the shield.
Now I have it turning to see if at any given point it stops working...
yes, I know what you suggested, but I didnt follow your suggestion, and I am anyway powering everything from the arduino´s dc barrel. Is that bad practice? (connecting power to the dc barrel, not not following your suggestion).
It would be really nice, instead of simply following the suggestion, to be able to discuss what are the differences between powering the system through the dc barrel of the arduino, and powering the system from both the dc barrel of the arduino and the Vin of the shield with different power supplies.
I imagine that this is the way we are all going to learn more about why and how we do things, instead of simply following suggestions.
Motors often generate very large electrical disturbances in the power lines, which can reset the Arduino, cause it to malfunction, or even destroy it.
That is why we normally suggest that the Arduino be powered separately from the motor (with grounds connected), or to use power supply decoupling techniques to reduce the electrical noise getting to the Arduino.