0
$\begingroup$

I am using arduino and L298n motor driving IC to drive 4 12V dc motors (150rpm). Also I am using 11.1V LiPo battery (3cell, 3300 mAh, 20C).I have connected two PWM pins of L298n to digital HIGH from arduino.Battery positive terminal is connected to the 12V input of IC.Battey negative terminal andenter image description here arduino ground is connected to the ground input of IC.Also a 5V input is given from arduino to IC and ground from arduino is connected to other gnd pin which is adjacent to INT3 pin.Motor1 pins from L298n are connected with two motors (connected parallely on right side of bot) and Motor2 pins are connected with other two motors (connected parallely on left side of bot).Appropriate inputs are given to INT1,INT2,INT3,INT4 to drive the bot in forward direction.But the bot is moving too slowly.The voltage measured across motor1 pins is only 5V.I have connected the battery directly to the motors,then it is running very fast.How to run it fast.Please help.....

$\endgroup$
  • $\begingroup$ What's the battery state of charge? Is the battery voltage 5V when you measure motor terminal voltage to be 5V? Can you provide a schematic? How are you running four motors with a chip that only has two outputs? What is your drive cycle? (How heavy is the vehicle, what incline, what tires, terrain, etc.) $\endgroup$ – Chuck Oct 30 '15 at 21:06
1
$\begingroup$

Try to digitalwrite a high on your pwm pins, i.e.

digitalWrite(pwmpin1, HIGH);

digitalWrite(pwmpin2, HIGH);

Otherwise, run your motors from an external power supply as they may be requiring a lot of current to run. Hope this helps :)

$\endgroup$
1
$\begingroup$

"connected parallely on right side of bot"

Watch out for this - running two motors in parallel from one motor output doesn't always work as you would expect. If you try the circuit with just one motor connected for each side of the vehicle, does it work better?

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.