Hello,
I am using a L298N driver to control 2 motors. I am using a 5V power supply to power the arduino, and a 12V power supply to power the L298N motors and driver, with the regulator enabled.
Now I want to plug a 0-24V supply to the L298N because there is one motor that can run at higher voltages, giving more speed (which is what I want).
*I have the doubt of how voltage is distributed in the driver, does it provide the initial voltage (- 2V from the driver) to the 2 motors equally? Maybe I will need 2 drivers, but now this is not the question.
My problem is that I cannot run the motors without the regulator disabled (jumper off).
I am actually using the same 12V power supply, so I know this is working fine.
So, schematically
→ 5V that power arduino + 12V that power motors and L298N driver, WORKS
→ 5V that powers arduino and L298N driver + 12V that power motors, DOESN'T WORK
I do see the L298N with the red led in both cases, so it seems powered
What could be the problem?
Hi,
This is the probable schematic of your L298 module.
The regulator jumper is J5,
If you remove it, you will have to supply the module with 5V in addition to the motor voltage.
Is LED1 lighting up?
Yes yes, the led is lighting up, both when it works (jumper enabled, driver feed through the 12V) and when it doesn't work (jumper disabled, driver feed through the same 5V that feeds Arduino).
If the led indicates that the driver is ON, then it should be the voltage to the motors (?), but this 12V voltage works when the jumper is enabled so ... it can't be (?!)
Hi,
Can you please post some images of your project, so we can see your component layout?
Do you have a DMM?
Thanks.. Tom..

Never mind, I have tested it in an identical layout but with other components, and it has worked, so I assume it is a faulty L298N driver.
I have not yet tested the original driver to see that effectively it doesn't work, but as I say with another driver it does work as expected.
EDIT: I do confirm that it has worked in a 2nd system, so it was likely a problem with a particular L298N driver.