L298N Motor Driver - DC Motor

This node lets you control a DC Motor with the L298N Motor Drive controller board.

Hardware Setup



For wiring instructions, start with this layout of the L298N board:



Ports 1, 2, 13, and 14 are where you can plug in 2 DC motors, one into each side of the board. If after you set up a motor it is turning the wrong way, simply flip which port the wires are plugged into.

Ports 4 and 5 are where you attach the voltage and ground wires, respectively. This controller requires much more juice than can be supplied by an Arduino, so you'll want to plug a high voltage/amperage power source to these pins.

Pins 3, 7, and 12 are jumper locations. To use this controller with a DC motor, remove the jumpers on pins 7 and 12. If your voltage is < 12 volts also keep on the jumper on pin 3, otherwise remove it if you are using a high voltage source.

Supported Products

View discussion page on forum

To use this node in your Embrio project, either add it from the Library toolbar or copy the XML in the below box and paste it into a node screen.