Problem with driving 4 motors using l298n driver

I'm making a human following robot for which I'm trying to run 4 motors using the L298N driver module. When I switch it on it does make a hissing sound but the motors don't rotate. I'm providing the driver module a 9v input into its Vss whereas the Arduino is supplied with another 9v battery both have common grounds to the L298n driver module.


That's how I've connected the motors, when I try to run the motors directly they work fine and move in the right direction but when I run through the driver module they just make a hissing around and don't move at all.

If you are using 9V PP3 block batteries, that is the major problem. They are for smoke alarms, not motors.

The ancient, extremely inefficient L298 motor driver is a secondary problem, as 40-50% of the battery power is lost to heat in the driver itself.

Pololu and other robotics suppliers sell modern, far more efficient motor drivers.

1 Like

I would throw the L298 in the dust bin. Then spend about $50 US and get a lab power supply. You will pay for it in less then a year. That money will be what you did not give your battery supplier. I suggest you get a copy of the Arduino Cookbook, skime the whole thing then read parts perterent to your project.

But for now, what is the best way to make the circuit run should I use 2x 9v batteries connected in series or 6 x1.5v AA batteries ?

That will work. But you still waste about half the battery power in the L298 driver.

2x 9v batteries connected in series

No. The current is the problem, not the voltage.

Let us not forget that the coding and wiring (both not provided by OP) may be wrong as well...
L298 may be ancient, but should do the job with proper batteries (6x1.5V as already suggested).
The bench power supply is not very handy for a human following robot...
...of course it is handy for the very first test...

Please, post the real pictures (mobile phone shot) of the motor that you are using in your project.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.