go_away

Author Topic: L298 problem  (Read 2240 times)

0 Members and 1 Guest are viewing this topic.

Offline iaalyTopic starter

  • Beginner
  • *
  • Posts: 4
  • Helpful? 0
L298 problem
« on: May 24, 2010, 03:11:27 PM »
Hello Everyone,

I am facing a problem in my project, I wish to control an RC toy car with micro-controller, so I have bought a DC motor Driver L298,
Everything is OK, I can manage to control 2 dc motor( PWM speed control and direction changes all ok) , but when the car contact the ground, the motor stops,
I have measured the current with a multimeter, when contact with floor, the motor need about 1.3 A, but the driver only gives 0.36A maximum, so that the motors stops

This is the link of my schematic

What should I do ??
Please help,
Best Regards
« Last Edit: May 24, 2010, 03:19:59 PM by iaaly »

Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: L298 problem
« Reply #1 on: May 24, 2010, 03:31:01 PM »
You probably need to buy a higher output motor driver...
Howdy

Offline iaalyTopic starter

  • Beginner
  • *
  • Posts: 4
  • Helpful? 0
Re: L298 problem
« Reply #2 on: May 24, 2010, 03:41:37 PM »
like what ??

Offline z.s.tar.gz

  • Supreme Robot
  • *****
  • Posts: 540
  • Helpful? 5
  • Linux Guru
Re: L298 problem
« Reply #3 on: May 24, 2010, 04:31:46 PM »
From what I saw it seems as if you should be getting plenty of current. (Datasheet says 3A max per channel)
This signifies either a problem with your pwm signal, your wiring, or your power supply. I'd check wiring first.
Save yourself the typing. Just call me Zach.

Offline Cristi_Neagu

  • Robot Overlord
  • ****
  • Posts: 165
  • Helpful? 5
Re: L298 problem
« Reply #4 on: May 24, 2010, 04:42:05 PM »
If it's an RC car, it's most likely the power supply or batteries. It takes a pretty beefy power supply to provide 1.3A of power. That's almost 3 cell phone chargers and those are switching power supplies.

Also, i noticed your design doesn't have flyback diodes... That could fry the L298.

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: L298 problem
« Reply #5 on: May 24, 2010, 04:57:48 PM »
Hi,

What should I do ??
Apart for the flyback diodes that you need to protect the IC, your real problem here is that your sense resistors (R1 and R2) are way too high. Reduce them to 0.5 Ohm each and your car will run.

For a quick test, if you haven't got such low value resistors, just use a short circuit to replace R1 and R1, but only for a short test to verify that it works!
Don't do this until you have the flybacks in place, or it may kill the chip.
Regards,
SÝren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline iaalyTopic starter

  • Beginner
  • *
  • Posts: 4
  • Helpful? 0
Re: L298 problem
« Reply #6 on: May 26, 2010, 02:53:04 AM »
Apart for the flyback diodes that you need to protect the IC, your real problem here is that your sense resistors (R1 and R2) are way too high. Reduce them to 0.5 Ohm each and your car will run.

Soeren, I don't know how to thank you !! you are right 100 % ..
I have added the flyback diodes and replace the resistors form 10 to 0.5 Ohms, and It's working well ...
Thank you very much  :)

« Last Edit: May 26, 2010, 05:06:02 AM by iaaly »

 


Get Your Ad Here