

Each channel on the L298 can deliver up to 2A to the motor to which it’s connected.

The L298 is a two-channel motor driver, which means it can individually drive up to two motors, making it perfect for a two-wheel-drive vehicle. All driver lines are diode protected from back EMF. The board takes its power from the same Vin line as the Arduino board and includes blue and yellow LEDs to indicate active direction.

It’s now easier to use, featuring control signal LEDs, while also being much more flexible for advanced users. Combined with an Arduino, the Ardumoto makes a fantastic controller platform for RC vehicles or even small autonomous robots. Based on the L298 H-bridge, the SparkFun Ardumoto can drive two DC motors up to 2A per channel. When the jumpers are attached to the enable pins the motors move at full speed forwards and backwards, which suggests to me that there isn't a fault with the driver.The Ardumoto Shield is a dual-motor controller for Arduino. In theory I think it should make the bigtrak move forwards for two seconds ad backwards for two seconds at half speed, but when I connect the motor enable pins to the PWM signals the motors don't move. Here is the code I'm using: int B1Out = 4 I would like to be able to use PWM to control the speeds of the two motors. Even when I connect it to the Arduino's 5V pin it doesn't move. However, when I replace the jumber with a connection to an Arduino PWM pin the motor does not move, no matter what duty cycle I use. When I attach the motor enable jumpers the motors run normally, and the robot moves forward. I'm using a 5v power bank to power the Arduino Mega and the motors from different USB ports.

I've been trying to use the L298N dual H-bridge motor driver board like this one to drive the two motors on a bigtrak. I'm new to Arduino and motor control so I apologise if I've made a silly mistake.
