L298 dual h bridge driver not driving DC motor

Hi

I have L298 dual h bridge driver connected to a DC motor

https://www.amazon.com/Helion-HLNA0057-Dominus-Motor-Brushed/dp/B00DUDYBFO

https://www.osepp.com/electronic-modules/breakout-boards/92-osepp-motor-driver-module

Motor and and battery ( 11.1 V LiPo ) are connected as follows

Battery + terminal = VCC on driver
Battery - terminal = GND on driver + GND on Arduino

ENA = pin 3
IN1 = pin 8
IN2 = pin 9

Arduino code (obtained from driver's company) :

/* L298N DC motor example */

int IN1=8;
int IN2=9;
int ENA=3;
void setup()
{
 pinMode(IN1,OUTPUT);
 pinMode(IN2,OUTPUT);  
}
void loop()
{  
 analogWrite(ENA, 200);// motor speed  
 digitalWrite(IN1,LOW);// rotate forward
 digitalWrite(IN2,HIGH);
 delay(2000);  
 digitalWrite(IN1,HIGH);// rotate reverse
 digitalWrite(IN2,LOW);
 delay(2000);
}

Driver has a red light on but the motor does not move

Any ideas why would this happen ?

Have you got the jumper on or otherwise supplying 5V to the 298 logic?

edit: oh wait, the red led means there's 5V present I think.

Have you put the motor straight on the battery to test it's ok?

nyphot:
Have you got the jumper on or otherwise supplying 5V to the 298 logic?

edit: oh wait, the red led means there's 5V present I think.

Have you put the motor straight on the battery to test it's ok?

Yes. The motor runs perfectly when hooked up directly to battery

That motor is a high power RC motor, an L298 is way too low current for it.

MarkT:
That motor is a high power RC motor, an L298 is way too low current for it.

Ok so it seems that pins on the arduino was flipped

I got a smaller motor to work

but when I hook the big one it keeps beebing

is this due to the low current ?

MarkT:
That motor is a high power RC motor, an L298 is way too low current for it.

Is there still a way to use this driver for a high power motor ?

Im getting this error too! I am using this H-bridge to control two motors using a potentiometer. When I run i, there is a red light that shines and the motor barely runs it and rather beeps instead of runinng.

inabhani:
Is there still a way to use this driver for a high power motor ?

Ask the same question you'll get the same answer but in capitals.

That motor is a high power RC motor, an L298 is WAY TOO LOW CURRENT FOR IT.

so it wont work at all?

@MarkT, don't shout too much at inhabani, it's Bull Engineer necro-ing this thread asking pretty much the same question that he (BE) has been asking all over :wink:

You simply didn't setup the ENA pin as an OUTPUT, duh

AyaAj:
You simply didn't setup the ENA pin as an OUTPUT, duh

And you, AyaAj, simply didn't rtfm:

You do not need to call pinMode() to set the pin as an output before calling analogWrite().

analogWrite(ENA, 200);// motor speed

So you might like to retract that "duh"?