Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 11th March 2007, 06:32 PM   (permalink)
Default L293D mis-behaving

Need a little help on the behavior of an L293D h-bridge. It's to be used for a small robot. 2 channel variable PWM provided by a PIC12F509 in increments of 1% duty cycle @ 200HZ.

On the L293D when i apply 5vdc to Pin 2 (input-1) i get full voltage at Pin 3 (motor-1). This happens regardless of the state of the PWM input Pin 1 (Inhibit-1).

I have even physically removed the PIC from the circuit.

Could i have cooked L293D?

Any thoughts?

Thanx,
Zeb
zebby is offline  
Old 12th March 2007, 02:33 AM   (permalink)
Default may be...

may be is fryed, but you can figure it out testing it , now, max. input voltage is 7 volts, I guess you did not over pass that? now, what did you connect to the output? you have 600 mili amps... and the enable is high right? I mean a secure high level not disconnected, you can connect it to 5 volts direct or to the enabling source...
try the table with 5 volts and find if is dead or not...
in enable out
H H H
L H L
H L Z
L L Z
jemch72 is offline  
Old 12th March 2007, 02:34 AM   (permalink)
Default

The absolute max peak output current of an L293D is only 1.2A. The motor draws a very high current when it starts and when it is stalled. The over-current quickly melts an output transistor so it is on all the time.
__________________
Uncle $crooge
audioguru is offline  
Old 12th March 2007, 02:39 AM   (permalink)
Default the input...

what about the input from the pic? are you sure it is 200 hz pulses , did you see it whit oscilloscope or scope meter? or measure it with meter?
jemch72 is offline  
Old 12th March 2007, 06:56 AM   (permalink)
Default L293D a cheap fix

All,

Thanks for the thoughts and replies!!!

As it turns out a little thoughtfull time spent with an O-scope / DVM, (did i mention the cold beer) and who can tell what might happen.

Two (on each side) 10k pulldown resistors fixed the problem.

I tied input-1 and input-2 to gnd with 10k pulldowns

Applied the PWM signal to Chip-Inhibit-1

no voltage on motor output

Applied +5 to input-1 and the appropriate voltage level apeared on the motor output

Decreased duty cycle to 0% and voltage followed for both fwd and reverse polarity on the motor output

Moral of the story "No floating PINS"

Thanks for the help!!

Regards,
Zeb
zebby is offline  
Old 12th March 2007, 02:32 PM   (permalink)
Default high z

Great, yes, high impedance give you that kind of problem, as I said before, a secure level, 0 or 1 , but secure...not high Z...
jemch72 is offline  
Old 12th March 2007, 02:49 PM   (permalink)
Default

Quote:
Originally Posted by zebby
Need a little help on the behavior of an L293D h-bridge. It's to be used for a small robot. 2 channel variable PWM provided by a PIC12F509 in increments of 1% duty cycle @ 200HZ.

On the L293D when i apply 5vdc to Pin 2 (input-1) i get full voltage at Pin 3 (motor-1). This happens regardless of the state of the PWM input Pin 1 (Inhibit-1).

I have even physically removed the PIC from the circuit.

Could i have cooked L293D?

Any thoughts?

Thanx,
Zeb
it is fried, search no more. i had the exact same problem.

those litle motors in toy cars tend to drain a lot more current that you would execpt a motor of this size would.... i overcame this by providing very good heatsinking and ventilation..
__________________
Ibrahim Kamal
check my electronics and robotics page: http://www.ikalogic.com/
ikalogic is offline  
Old 12th March 2007, 07:51 PM   (permalink)
Default

Quote:
Originally Posted by audioguru
The absolute max peak output current of an L293D is only 1.2A. The motor draws a very high current when it starts and when it is stalled. The over-current quickly melts an output transistor so it is on all the time.
Are you talking about the continious current?

I haven't looked at the datasheet but it's highly likely it can withstant a surge of at least 10 times that value for 50mS; it depends on the safe operating area of the transistor.
__________________
I also post at the following sites:
http://www.stop-microsoft.org http://www.heated-debates.com
Screen name: Aloone_Jonez
And http://www.silicontronics.com, same screen name as here.
Hero999 is offline  
Old 12th March 2007, 09:56 PM   (permalink)
Default

The L293D is made for driving tiny low power motors.
Its max continuous current is 600mA.
Its max peak current (for only 100us non-repetitive) is only 1.2A.
__________________
Uncle $crooge
audioguru is offline  
Old 12th March 2007, 10:06 PM   (permalink)
Default

That's pretty poor, I can't think of any motors that won't take any less than a 5A surge whewn starting up. What use is an IC that can only take 1.2A?
__________________
I also post at the following sites:
http://www.stop-microsoft.org http://www.heated-debates.com
Screen name: Aloone_Jonez
And http://www.silicontronics.com, same screen name as here.
Hero999 is offline  
Old 13th March 2007, 01:49 AM   (permalink)
Default

Hero, 50+% of the motors I own aren't capable of drawing 1.2AMPS stalled. Several of them would actually burst into flames if that much current was going through them even for a few ms's
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."

Last edited by Sceadwian; 13th March 2007 at 01:51 AM.
Sceadwian is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
need help on schematic of l293d santosh_embedded Robotics Chat 6 23rd September 2006 12:31 PM
L293D H-Bridge: Is it effective to run a small DC motor in a model rancid rock Electronic Projects Design/Ideas/Reviews 14 6th July 2006 09:03 PM
differences/advantages/dsadvantages between the L293D and the H-bridge??? please help rancid rock Electronic Projects Design/Ideas/Reviews 9 16th June 2006 11:41 PM
Using the L293D to drive large motors Bondfire Robotics Chat 22 4th December 2004 06:32 PM
PIC + L293D Timmymna Micro Controllers 4 7th June 2004 07:14 PM



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


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

eXTReMe Tracker