L298N Not sending enough voltage

I am currently trying to use some L298N motor controllers I purchased, but for some reason, all of them are not sending enough voltage to the motor outputs. I measured the outputs and they follow the code but they are all around .10-.19 volts (obviously not enough to power a motor). Did I get faulty motor controllers or am I doing something wrong? Any help is appreciated.

Need to see a wiring digram, what is the voltage and current requirements of your motor(s)?
Are you putting the correct voltage on the Vs pin?

Motors:

Also, I followed the directions on this site:

Hi,
instructables are notorious for lacking the vital information needed to get your project to work like theirs.

In this case a circuit diagram.

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?

What voltage are you powering the motors with?

Thanks.. Tom.. :slight_smile:

Are you using the Tronixlab board or a different board? How are you powering it?

You say ".10-.19 volts" but under what conditions? Check that the input voltage is correct, then verify the output voltage is what it should be.

You need to draw what you have actually built - the act of drawing out the circuit might even help you
spot what's wrong - its quite possibly you have built something different from what you thought (otherwise
it would likely be working no?)

Sorry for the late reply. Here is a rough schematic for my wiring.

Feistlyone:
Also, I followed the directions on this site...

Did you?
You Fritzing picture is completely different.
Leo..

Hi,
OPs circuit.


Have you got gnd of the UNO connected to gnd of the L298N?
You need to use pins other than pin 1 and 0, they are for programming.

To clarify, what do you have the IC on its own like in your circuit diagram or the PCB assembly in the destructibes article?

Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.

Tom... :slight_smile:

Hi,
These may help;

https://diygeeks.org/learn/control-dc-motors-with-arduino-using-l298n/

Tom... :slight_smile:

I apologize for any confusion. Let me restate my problem. I have two LK298N motor controllers. The one I bought at Microcenter and the other I bought on Amazon. The Microcenter one works with the wiring schematic I have attached, but the Amazon one does not fully work. The Amazon one for some reason sends only .6v (measured with multimeter) to the outputs. The low voltage that is sent still follows the delays in the code. Am I making a mistake in the wiring or code, or is the controller I ordered off of Amazon faulty.

Amazon L298N: https://www.amazon.com/gp/product/B01M29YK5U/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1

Microcenter L298N (I know the page is not Microcenter but the model and manufacturer are the same) https://megadepot.com/product/velleman-vma409-l298n-dual-bridge-dc-stepper-controller-board

Schematic:

Test Code Used:

int IN1=9;
int IN2=10;
int ENB=8;
void setup() {
    pinMode(ENB,OUTPUT);
    pinMode(IN1,OUTPUT);
    pinMode(IN2,OUTPUT);
    digitalWrite(ENB,HIGH);
}

void loop() {
    digitalWrite(IN1,LOW);
    digitalWrite(IN2,HIGH);
    delay(500);
    digitalWrite(IN1,LOW);
    digitalWrite(IN2,LOW);
    delay(1000);
}

Hi,
Schematic didn't take.
Attach it as a file.....

Tom... :slight_smile:

Here is the schematic.

According to the datasheet:

VSS is 5volt logic power.

VS is motor power.

Your schematic diagram Fritzing picture shows 23.7volt connected to VSS.
That would instantly fry the chip.
Leo..

That is a mistake on my part. On the motor controller, the inputs are labeled "+5v" "GND" and "+12v" and I always attach my power supply to the "+12v" terminal.