Working with L298N DC Motor Driver
It consists of: * Out1, Out2 ==> Outputs for Motor A - * Out3, Out4 ==> Outputs for Motor B - * 12V, GND, 5V ==> 12V for Motors Supply, 5V for Arduino 5V pin - * GND refers to ground, and all grounds must be tied together (Arduino, Driver, any other GND) - * ENA, ENB ==> 2 Enable pins for both motors - * IN1, IN2, IN3, IN4 ==> 2 control pins for each motor - It's prefered to tie all pins (ENA, ENB, IN1, IN2, IN3, IN4) to PWM pins to control the speed
Components REQD.:
1) Arduino UNO
2) L298N Driver
3) 2 DC Motors
4) Jumper Wires
5) 12V Supply