

Using logic regulation give free digital Arduino outputs: 8 and 12. The direct regulation provides control of L298N driver and uses 3 Arduino outputs for each channel. There is an individual switch for each channel. Use shield switches to change control mode. Logic control: Motor 1 - outputs: 9, 10(PWM)/ Motor 2 - outputs: 11(PWM), 13. Speed regulation is realized through PWM default mode, a signal can be applied by PWM Arduino outputs 10 and 11 (digital outputs complying PWM).ĭirect control: Motor 1 - outputs: 8, 9, 10(PWM)/ Motor 2 - outputs: 11(PWM), 12, 13 For turn I am rotating motors in opposite direction. But the problem is that is does not make turn.

The robot moves backward and forward with no issue and at reasonable speed. 2 tyres of each side are connected with belt. The driver has LED indicating rotational direction of each motor. One motor control one side of a robot (2 tyres) and 2nd motor controls the other side of the robot. Motor Driver L298N for Arduino is based on L298P chip with voltage 5-36V and peak current up to 2A on each motor (channel). You can control each motor. Also, you may drive bipolar step motor current up to 4A.

It can control both speed and spinning direction of two DC motors. Motor Driver L298N for Arduino with Logic control system allows to control of 2 DC-motors, to control rotational speed, rotational direction, to stop motors with freewheeling or to block their action. One of the easiest and inexpensive way to control DC motors is to interface L298N Motor Driver with Arduino.
