Motor shields usually have provision for the motors to be powered from a separate source than the Arduino but with a common GND connection to allow signal levels to be monitored
Motor shields usually have provision for the motors to be powered from a separate source than the Arduino but with a common GND connection to allow signal levels to be monitored