Author Topic: LM393  (Read 6565 times)

0 Members and 1 Guest are viewing this topic.

pereczes

  • Guest
LM393
« on: April 18, 2014, 08:07:38 pm »
POST REMOVED AT USERS REQUEST
« Last Edit: May 16, 2014, 01:06:17 pm by EEVblog »
 

Offline Rudane

  • Regular Contributor
  • *
  • Posts: 80
  • Country: us
    • Electrical Engineering 101
Re: LM393
« Reply #1 on: April 18, 2014, 08:54:17 pm »
Could you post a schematic?
Voltage appears across and current flows through.
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21686
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: LM393
« Reply #2 on: April 18, 2014, 09:45:58 pm »
Circuits that are rated for 5V are to be used at 5V  :wtf:
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: LM393
« Reply #3 on: April 18, 2014, 10:40:33 pm »
It's not a stupid question (though you really need to give more information next time!). The LM393 indeed should be able to handle up to 36V, and I don't really see what the problem is.

At 12V, the 1k resistors will dissipate about 100mW - a bit high, but shouldn't be enough to pop them. That was my first thought, maybe they're burning open circuit. But no.

Are you sure it's actually an LM393, and they didn't use another similar chip on your board that might not be rated for 36V? The LMV393, for example, is only rated to 5V.

Are you sure you didn't do anything else to mess it up? You'll piss it off if you connect a voltage directly to the output, for instance.

As for the MOSFET - 12V at 1A is hardly anything for a modern FET, just about any TO-220 MOSFET will do. Just make sure the gate threshold is low enough for it to switch on at 5V (keyword: "logic level"), and obviously, check all the ratings in the datasheet.
« Last Edit: April 18, 2014, 10:43:06 pm by c4757p »
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline David_AVD

  • Super Contributor
  • ***
  • Posts: 2806
  • Country: au
Re: LM393
« Reply #4 on: April 18, 2014, 10:45:09 pm »
Keep in mind that the output from the LM393 is open collector, not push pull.  This means that it can't "output 12V" as such.  It can only pull it's output pin to ground.

Have you read the data sheet for the LM393?  Lots of example circuits in the National (now TI) one.
 

Offline kizzap

  • Supporter
  • ****
  • Posts: 477
  • Country: au
Re: LM393
« Reply #5 on: April 18, 2014, 10:47:10 pm »
did you draw over the rated output current? might have fried something that way.
<MatCat> The thing with aircraft is murphy loves to hang out with them
<Baljem> hey, you're the one who apparently pronounces FPGA 'fuhpugger'
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21686
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: LM393
« Reply #6 on: April 19, 2014, 02:35:08 am »
did you draw over the rated output current? might have fried something that way.

 :-+

(A "nodding" emote would be even better here)
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21686
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: LM393
« Reply #7 on: April 20, 2014, 04:00:51 pm »
Note the short circuit duration is not "unlimited" (another frequent difference between op-amps and comparators).  Actually... what they say is sneaky.  Read the statement, and the note, carefully...

The output saturation voltage curve shows typical current over a range of voltages.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline David_AVD

  • Super Contributor
  • ***
  • Posts: 2806
  • Country: au
Re: LM393
« Reply #8 on: April 20, 2014, 09:52:09 pm »
when I increased voltage to 12V the 1ohm in series with the LED on the output managed to produce enough current to burn the output transistor.

Do you really mean 1 Ohm or 1K (1000) Ohms ?

If you meant 1K, I doubt you'd kill the LM393 by having it sink a little over 10mA of LED current.
« Last Edit: April 20, 2014, 09:53:44 pm by David_AVD »
 

Offline David_AVD

  • Super Contributor
  • ***
  • Posts: 2806
  • Country: au
Re: LM393
« Reply #9 on: April 20, 2014, 10:09:29 pm »
this is the module in question:
http://www.ebay.com/itm/Soil-Moisture-Sensor-Soil-Hygrometer-Detection-Sensor-Module-LM393-/330856046606?pt=LH_DefaultDomain_0&hash=item4d088ea00e

After looking at the circuit in that link, I noticed that the 2nd comparator is left floating.  From the National data sheet:
Quote
All pins of any unused comparators should be grounded
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: LM393
« Reply #10 on: April 20, 2014, 10:26:30 pm »
indeed, though not visible under the chip, measured, and they are indeed floating. But ...hm... can that really harm in this case?

It won't hurt it generally*. Some comparators (digital stuff in general) don't like to be left floating or left in a "halfway" state. LM393 doesn't mind, you can even use it as an op amp if you like (it's just hard to tame, because there's no internal compensation capacitor). The TI datasheet notes that ESD protection is "limited".

*It will be more sensitive to static discharge. Positive voltages especially will be "trapped" on the emitter of Q1 or Q4. Negative voltages will hit the current sources, which probably won't be pleased either.

« Last Edit: April 20, 2014, 10:30:24 pm by c4757p »
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline David_AVD

  • Super Contributor
  • ***
  • Posts: 2806
  • Country: au
Re: LM393
« Reply #11 on: April 20, 2014, 10:28:45 pm »
In general, floating inputs can lead to oscillation or latchup.  This may result in either incorrect operation or permanent damage.  If the maker says to ground them, you do it.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf