Power supply with L298N shield

Hi there,

I'm new here and i just received my first Arduino Mega.
I know that this are probably some noob question but can anyone help me?

  • Is it possible to use the an L298N shield to supply the arduino, using 12v on L298N?
  • Also, i want to connect a water pump (12v), do i need to configure the speed, or if i don't write nothing on code, it assumes full speed as default?
  • What are the difference btw L198N and L293D?

Regards

Personally I would always use separate supplies. When a motor starts, it can cause a dip in the power resulting in a reset of the micro.
2)
No experience with the board, but I doubt the motor will run if you don't write code to control the outputs of the L298.
3)
L198? Or L298? The L293 is a half-bridge; it also can only handle a max load of 600mA (L298 is rsted for 2A if I'm not mistaken).

For more info on the shield, see https://www.arduino.cc/en/Main/ArduinoMotorShieldR3