In this tutorial will be using 4 AA 1.5V batteries that combined output approximately 6V, but you can use any other suitable power supply. It’s important to note that despite the +12V terminal name, with the setup we’ll use here (with the jumper in place) you can supply any voltage between 6V and 12V. Note: if you supply more than 12V, you need to remove the jumper and supply 5V to the +5V terminal. However, if the jumper is in place, the chip is powered using the motor’s power supply and you don’t need to supply 5V through the +5V terminal.
The +5V terminal is used to power up the L298N chip. The +12V terminal block is used to power up the motors. OUT1 and OUT2 at the left and OUT3 and OUT4 at the right.Īt the bottom you have a three terminal block with +12V, GND, and +5V. The motor driver has a two terminal block in each side for each motor.