Let's Make Robots!

L298N Motor Driver Circuit Problem

Dear LMR,

For some reason I am really struggling with implementing a simple L298N motor driver. I have a simple breadboard robot and I am trying to run a Timya dual gearbox off the driver. I made a recommended circuit from the data-sheet but for some reason when I pull one of the inputs high (by connecting it to 5V power rail) the motor driver does not activate the motor outputs. I used an oscilloscope to measure all the voltages and everything is as it should be but for some reason the outputs always remain grounded. I could appreciate some help as I do not know what I am doing wrong. I have read forums related to this on LMR and have not found a solution. Bellow are pictures of the connections and the circuit. I have also attached the data sheet.

Thanks,
Gonzik

PS I have tried changing the L298N driver and I get the same result so it is not a case of the driver being fried.


Robot


Circuit

Recommended Circuit

 



My Connections

SOLUTION (synopsis):

My setup worked when I used this schematic: http://www.solarbotics.com/assets/schematics/solarbotics-l298_schematic_complete.jpg

The original setup was wrong because Vss of 5v is needed for logic and Vs for motor power must be at least Vss + 2.5V. I was trying to use 5V for both. From my understanding this difference is necessary to bias the internal transistors of the driver.

Thanks to everyone who helped!


AttachmentSize
L298N-Motor_Driver.pdf190.37 KB

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Hey thanks for actually caring if I got this working :) Sorry it took me so long to get back to you guys, I just moved to a new city and it took me a while to set up shop again ;)

just give a try,.,.without diodes.,,., it will smoothly run.,.,