Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Robotics Chat


Robotics Chat Specific to discussions about robots and the making of.

Reply
 
Thread Tools Display Modes
Old 11th June 2007, 11:18 AM   (permalink)
Default Assistance with L298

Hello, I am very new to this stuff, so any help is greatly appreciated: I am trying to drive a 9V DC motor with using an L298n and a pic. I’ve installed the sensors and pic and the program and tested them, all seems to fine on that area; however, my problem lies with the L298: I've build the circuit shown on the data-sheet to control a motor using one of the build-in H bridges with 4 diodes. I’ve tested if the L298 is working as it should by checking the voltages it applies, all that seems to be working as well. But whenever I connect the motor in between the output terminals the voltage drops drastically, and the motor does not turn at all, although the current sensor shows an increase in current drawn. I am using a small motor and within the built-system whenever I connect a 9volt dc battery directly, it draws only around 150ma, so I presume L298 should be capable of supporting that current? Any ideas on what I am doing wrong? Thanks for the help.
mohbet is offline   Reply With Quote
Old 11th June 2007, 12:45 PM   (permalink)
Default

Show us your schematic please.

are your batteries/voltage supply capable of giving you enough power to run your motors. Is anything similar happening, when you don't have the pic connected to the H-bridge?
__________________
Need Help?
Press F1
If that doesn\'t help you, ask me... I might know better.
bloody-orc is offline   Reply With Quote
Old 11th June 2007, 01:27 PM   (permalink)
Default

A brand new 9V alkaline battery can supply 150mA for a few minutes then its internal resistance increases and its loaded voltage drops. It is below 7V in less than 1 hour.

A "150mA" motor might draw 1.5A when it starts or when it is stalled. 1.5A will kill a 9V battery very quickly.
__________________
Uncle $crooge
audioguru is offline   Reply With Quote
Old 11th June 2007, 01:54 PM   (permalink)
Default

I'd do as bloody-orc suggests, and start troubleshooting by getting the h-bridge and motor working without the pic, so you'll know if your pic program is at fault. That said, what's the input requirement for an L298? If the voltage requirement is greater than what the pic can provide (I'm presuming 5V? Sorry, I still don't know a lot about pics), then that could be the problem. The input voltage requirement for most h-bridges is usually scaled to their (motor) supply voltage, so check the L298 datasheet (I'd look for you, but I'm lazy today!).

Quote:
Originally Posted by audioguru
A "150mA" motor might draw 1.5A when it starts or when it is stalled. 1.5A will kill a 9V battery very quickly.
Maybe he should try working things out with a 9V wall wart?
Hank Fletcher is offline   Reply With Quote
Old 11th June 2007, 02:47 PM   (permalink)
Default

The inputs to an L298 are TTL logic voltages at a very low current. If the PIC has a 5V supply then it can drive them fine. The logic supply on an L298 is 5V.

I have a huge 1A wall-wart but I have never seen a bigger 1.5A one.
__________________
Uncle $crooge
audioguru is offline   Reply With Quote
Old 11th June 2007, 09:41 PM   (permalink)
Default

Hmm... As a voltage source I was using a 300watt computer power supply I've ripped apart ,it should be able to supply up to 12amps or something from the 5volt output(I am using a Zener-diode to drop the 12 volt output to 9volt (according the its spec-sheet the diode should be able to supply up to 2amps)).I tried separating the PIC to isolate the problem as you suggested, it seemed to work fine without the L298, so I built myself my own H-bridge and it worked just fine. So I guess my l298 was busted. Thanks for the help and the suggestions!
mohbet is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
1N5819 equivalent for use with L298 ? pkshima General Electronics Chat 2 8th May 2007 05:37 PM
PIC and L298 the dude of dudes Micro Controllers 10 18th May 2006 08:51 AM
L298 Heatsink Question jasonm Electronic Projects Design/Ideas/Reviews 11 18th March 2006 10:44 PM
L298 Back EMF pittuck General Electronics Chat 16 20th November 2004 03:15 PM
Need Assistance on Project pwollner Electronic Projects Design/Ideas/Reviews 17 19th February 2004 10:13 PM



All times are GMT. The time now is 04:54 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.