Author: Doug Paradis
This article discusses how to connect the L298 motor driver in three modes: drive/coast, sign-magnitude, and lock anti-phase. Code examples will be for the Arduino Uno (or with small modifications the Mega2560).
The L298N is a dual H-bridge chip often packaged nicely on a PCB module. It is widely used on small inexpensive hobbyist robots. It has a maximum current specification of 2.0 A per channel with a peak current of 3.0 A per channel (from STI spec sheet). Each H-bridge can control one DC brushed motor.Continue reading