Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: reSpawn on January 15, 2009, 01:35:25 PM

Title: L298 Motor Driver
Post by: reSpawn on January 15, 2009, 01:35:25 PM
Hello,
I'm building an L298 Motor driver pcb, and I need your suggestions.
Here is the schematic I've come up after doing some reasearch using google and L298's datasheet.
(http://img232.imageshack.us/img232/2126/l298nwv8.th.jpg) (http://img232.imageshack.us/my.php?image=l298nwv8.jpg)
What do you guys think? Will it work? What changes I should make?
I want to drive only one DC motor, that's why I've put the outputs in parallel.
Title: Re: L298 Motor Driver
Post by: Canabots on January 15, 2009, 04:50:49 PM
Try comparing your schematic to the one used by the Solarbotics Compact motor driver. They both use the same chip.

http://www.solarbotics.com/assets/schematics/solarbotics_-l298_schematic.pdf

I don't know if the pinouts are different from that IC package to the one your using, but I hope this helps   ;D

This schematic is also for a DUAL motor driver, so just imagine that the outputs are in parallel like on your circuit.

Canabots  :)
Title: Re: L298 Motor Driver
Post by: paulstreats on January 16, 2009, 09:31:03 AM
If i remember there should be a circuit example in the datasheet for the l298

Just follow that
Title: Re: L298 Motor Driver
Post by: reSpawn on January 16, 2009, 02:09:49 PM
Yes, but I wanted someone to look over my schematic and tell me if I did something wrong or not.
Can you please check it out?
Title: Re: L298 Motor Driver
Post by: paulstreats on January 16, 2009, 02:18:19 PM
the circuit looks fine. The only thing that i would suggest is to use a potentiometer in conjunction with a good transistors on the sense pins. You will be able to "tune" the outputs like this.

quite often you might notice 1 motor moves faster than the other for no reason (slight manufacturing differences and tolerances)If you have a seperate pot and transistor for each sense pin then you can slow the faster one down a little.
Title: Re: L298 Motor Driver
Post by: reSpawn on January 16, 2009, 02:23:19 PM
as you can see, I only have one output. Anyway, tunnings can be made in software :P
Title: Re: L298 Motor Driver
Post by: Webbot on January 17, 2009, 07:14:27 PM
Check out my tutorial http://www.societyofrobots.com/member_tutorials/node/159 (http://www.societyofrobots.com/member_tutorials/node/159) The larger DC motor controller board uses a L298