Need help with motor

I am creating a bluethoot controlled car and when i send them the signal or even if i test them, the motors will start to work fine for a moment but then , suddenly beep and stop working.Please I neep help.

Also when i code them to work and change direction every 5 seconds , works , stops , beeps , and every 5 seconds it rotates but just a little little bit

Please, read the forum posting rules before asking questions.


Always show us a good schematic of your proposed circuit.
Show us a good image of your ‘actual’ wiring.
Give links to components.

In the Arduino IDE, use Ctrl T or CMD T to format your code then copy the complete sketch.


Use the </> icon from the ‘posting menu’ to attach the copied sketch.

That looks like a classical mistake in the powering. Provide real schematics, not any Fritzing toy picture showing the physical shape of the boards.

Your post contains very little useful information.

Please read the how to get the most from the forum post. The post contains information on what we need to know in order to help you.

As well as what has allready been asked/suggested, what are the specifications of the motor power supply?

What motor driver?

ok thanks , i have created a new one, could you check it out?

Yes, when You have posted it. I don't find any for the moment.

Don’t cross post as it is rude, doesn’t follow forum rules, and wastes volunteers time.

Hi , Im new and probably made a stupid mistake but I am creating a bluethoot controlled car and when i send them the signal or even if i test them, the motors will start to work fine for a moment but then , suddenly beep and stop working.Please I neep help.

Also when i code them to work and change direction every 5 seconds , works , stops , beeps , and every 5 seconds it rotates but just a little little bit.

Sometimes it doesnt even start to work , it just makes this little movements and starts beeping.
This is the code for a motor test.
Using L298N motor driver and 6V battery
Code:


int IN3 = 6;
int IN4 = 5;
void setup() {
  pinMode(IN3, OUTPUT);
  pinMode(IN4, OUTPUT);
}
void loop() {
  digitalWrite(IN3, HIGH);
  digitalWrite(IN4, LOW);
  delay(5000);  // girar en un sentido

  digitalWrite(IN4, HIGH);
  digitalWrite(IN3, LOW);
  delay(5000);  // gire en el otro sentido
}

Schematics

Why have you created another thread? Old thread
-- Need help with motor

You have a mismatch here !

no yeah , in real life i am using pin 6 and 5.Besides that , you know where the porblem is ?

You need to supply accurate information for us to help.

Show us a good image of your actual circuit wiring ?

Have you tried the other channel ?

Why a new thread? What You posted is just the crap helpers don't want to se, useless Fritzing...
No power to the Arduino. No motion to be expected.

Your two topics on the same or similar subject have been merged.

Please do not duplicate your questions as doing so wastes the time and effort of the volunteers trying to help you as they are then answering the same thing in different places.

Please create one topic only for your question and choose the forum category carefully. If you have multiple questions about the same project then please ask your questions in the one topic as the answers to one question provide useful context for the others, and also you won’t have to keep explaining your project repeatedly.

Repeated duplicate posting could result in a temporary or permanent ban from the forum.

Could you take a few moments to Learn How To Use The Forum

It will help you get the best out of the forum in the future.

Thank you.

What are the specifications of the motor power supply?

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