When using the L298n for the arduino car project no voltage is coming to the "OUT" pins

When trying to build a car using the L298n and arduino it fails due to no voltage going to the "OUT" pins (OUT,OUT2,OUT3,OUT4) due to this my motors are unable to work and so the project doesn't work. I have used a multimeter to measure my voltage and it shows 0 volts. I have used this tutorial : https://create.arduino.cc/projecthub/lakshyajhalani56/l298n-motor-driver-arduino-motors-motor-driver-l298n-0f2cfd

The code has no errors and uploads completely fine and pins VCC and GND both have voltage however the OUT pins do not, I am not sure if this many be a problem with the L298n, or something else. Any ideas to debug it?

In this project I am not using the enable pins right now, and what is confusing me is that this project was working in the past. However now the OUT pins are not getting the voltage.

My wiring is the same from the tutorial I have provided but I have given it anyways:




Do you have jumpers on the enables or have PWM going to the enables ?

I am not using enable, right now I am coding it for just the motors to work and for the car to move.

The enables will need to be enabled.

For the project to work I need the enables?

Third time is a charm.


Enables need to be enabled; you should have been supplied with two jumpers.

Still no effect

Do you have a common GND between the UNO and the motor driver ?

No my battery is plugged into the arduino board does that work as well? Due to my battery having a plug instead of wires

You will need similar electrical connections as seen in post #8.

I also tried with no battery as well it doesn't work by just connecting 5volts to VCC and I can't replicate the image shown as my battery has a plug that fits into arduino not wires

Time to show us a good schematic of your proposed circuit.

A pencil sketch will be fine.


Also:
In the Arduino IDE, use Ctrl T or CMD T to format your code then copy the complete sketch.
Use the </> icon from the ‘reply menu’ to attach the copied sketch.

I added images above however if you want a better picture I can give it to you

Schematic as it is wired now, please.



here you go I have checked the wiring with the tutorial and it is correct

Google Schematic.


How is the Arduino powered ?

Where is your sketch ?

Using the laptop

Where do the orange and red wires go to from the Arduino power header ?

I did a bit of debugging on the project, so far I have got a bit of voltage at the OUT pins however not enough voltage to make it work, around 0.4V

So that tutorial has a battery with direct connections to the 12V and GND on the L298 board. Is that what you have? Where is your battery? What type of battery? Or are you not actually following the tutorial?

Steve