I have a BYJ48 stepper motor and an ULN2003A motor driver shield shield.
In many tutorials I read:
do not to draw current from the 5V on the Arduino rail, but use an external power source, since the motor can draw quite some current
Which of these options to they mean by this?
Connect an external power adapter to the Arduino and connect the ULN2003A board to the Vin pin and GND on the Arduino
Connect the motor shield itself to an external power adapter and connect it to the + and - pin on the motor shield
or perhaps both are valid solutions?
The board I use is this one.