Connect the red wire from the first motor ( M1) to OUT1 on the L298N board.On the board that I have the motor connectors on each side are labeled OUT1 though OUT4. Verify the ENA and ENB jumpers are set, so the motors will run without the need for a PWM signal.That is the equivalent of sending a signal to operate at no speed. If you leave the jumpers off, and do not provide a PWM signal, then the signal will be LOW.
#L298n motor driver labels full
It's like sending a PWM signal that is always HIGH - full speed. To do that you have to put the jumpers on ENA and ENB to pull both PWM pins HIGH.
This type of board is usually shipped with three jumpers already in place. These instructions are based on the silkscreen of the board that I have.
#L298n motor driver labels how to
I'll provide a quick demo program so you can see how to run the motors through a predefined sequence. In the second part I will show you how to quickly wire up the driver to an Arduino. It should also give you ideas for very simple robot projects. This will give you a better understanding of how a motor driver works. In the first part I will show you how to control the driver without the need for a computer. Most motorized toys and many robot chassis kits use simple DC motors. In this tutorial I cover how to drive two DC (direct current) motors using an L298N motor driver.