A
Arduino15h ago
Russia

L298N Motor Driver help

Using an Arduino Uno, L298N Motor Driver and a DC Motor. The Arduino is powering the Motor Driver Im using the attatched schematic as reference. I dont see any glaring issues (all the pins seem to be connected and correct) but the motor isn't running. I dont have easy access to a multimeter to check anything
No description
No description
6 Replies
DaDev
DaDev13h ago
You cant power the motor off of the arduino, you need a separate power supply to start off with. Also you dont need to use the enable pin, as you have a DC motor, so you can put the jumper back for that and use the other two pins for motor speed controll
Russia
RussiaOP12h ago
I have a 9V Battery pack that can connect to the arduino through that black adaptor on the arduino, would that work
Russia
RussiaOP12h ago
The motor driver itself has those 3 pins on the bottom that are supposed to connect to an external battery pack
No description
Russia
RussiaOP12h ago
idk this tutorial im using has me a little confused
Russia
RussiaOP12h ago
Hackster.io
How to use the L298N Motor Driver
A quick tutorial on how the use the L298N Motor Controller with DC motors By Ryan Chan.
DaDev
DaDev11h ago
so this is what you do. If you connect:
in1 > D4
in2 > D5
in1 > D4
in2 > D5
then in the code just set pin 5 HIGH and pin 4 LOW. Place the enable jumper back on to the enable pin.

Did you find this page helpful?