Meet the DC Motor
In this project, I used an Arduino Uno and an L298N motor driver to control a DC motor. The motor is connected to the OUT1 and OUT2 pins of the L298N. The Arduino sends signals to the motor driver through IN1, IN2 and ENA. I programmed the motor to turn ON for 2 seconds and then turn OFF for 2 seconds. This process keeps repeating automatically. Also it took me more than 2 hours to complete