Go Back   Home > Forums > General Interest > Everything Else
Home Forums Rules Articles Store Gallery Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Everything Else Anything related to audio / video / electronics etc) BUT remember- we have many new forums where your thread may now fit! .... Parts, Equipment & Tools, Construction Tips, Software Tools......

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 8th September 2009, 01:51 AM   #1
diyAudio Member
 
theAnonymous1's Avatar
 
Join Date: Feb 2004
Location: Anonymityville
Default Driving an LED from an active low output?

I feel really stupid for asking this question because I'm sure it's ridiculously simple, but......

I have an IC that has an output that is active low with a 10mA current limit. How do I drive an LED with this? I assume I need a small MOSFET, but I'm not sure which (NPN or PNP?), or how to wire it.

Thanks in advance, and sorry for the ignorance.
__________________
"If you don't like funerals don't kick sand in ninja's face."
  Reply With Quote
Old 8th September 2009, 02:39 AM   #2
PB2 is online now PB2  United States
diyAudio Member
 
PB2's Avatar
 
Join Date: Sep 2004
Location: North East
Blog Entries: 1
Actually active low simply means that when you send a true state to it, it goes low.
So, if it is a reset out line and you issue a reset command it goes low.
The way that you're asking the question suggests what is called an open collector, or open drain output. This means that the output is not driven in both directions only to ground and this is why these are active low. The designer supplies an external "pull up" resistor, or simply connects the load from the pos supply through a current limiting resistor. OC outputs were often used in bussed configurations where they provide a wired OR logic connection. But they also have many other uses.
Some OC outputs are rated for 30V or more and allow 5V logic to interface to higher voltage external circuitry such as 24V relays.

So the question is, does this output have a source current, you've stated the sink current as 10 mA. Really, it doesn't matter, you can wire it as described above to take advantage of the higher sink current that most outputs provide. If it does source current it will just drive it to the off state, and it doesn't matter.
Let's say you have a +5 supply, and the LED on voltage is 2V, then there will be 3V on the current limiting resistor, ignoring the sat voltage of the output device. Select R to provide whatever operating current you want for the LED as long as it is less than 10mA: might want to limit that to 8 for some margin.

Pete B.

Last edited by PB2; 8th September 2009 at 02:45 AM.
  Reply With Quote
Old 8th September 2009, 02:47 AM   #3
diyAudio Member
 
theAnonymous1's Avatar
 
Join Date: Feb 2004
Location: Anonymityville
Hi Pete,

Sorry I didn't elaborate enough, it is in fact an open-drain charge status output for a battery charging IC.

If I wanted to drive a LED to full brightness with say 30mA, I would then need to use a MOSFET correct?

Thanks
__________________
"If you don't like funerals don't kick sand in ninja's face."
  Reply With Quote
Old 8th September 2009, 03:03 AM   #4
PB2 is online now PB2  United States
diyAudio Member
 
PB2's Avatar
 
Join Date: Sep 2004
Location: North East
Blog Entries: 1
I really suggest keeping it simple, there are LEDs that are happy with 2mA. If you must have 30 then use a 10K pullup on that output and just drive a plain old PNP transistor as an emitter follower with the series R-LED in the emitter circuit to +5V. 2N2907 or PN2907 should be fine or anything with a 500 mA rating.

Note my edits for stronger drive.

Pete B.

Last edited by PB2; 8th September 2009 at 03:12 AM.
  Reply With Quote
Old 8th September 2009, 03:12 AM   #5
diyAudio Member
 
theAnonymous1's Avatar
 
Join Date: Feb 2004
Location: Anonymityville
I will keep it simple then, which will allow me to keep the PCB at a micro 5.6mm x 7.6mm.

Thanks again for the help.
__________________
"If you don't like funerals don't kick sand in ninja's face."
  Reply With Quote
Old 8th September 2009, 04:03 AM   #6
star882 is offline star882  United States
diyAudio Member
 
star882's Avatar
 
Join Date: Mar 2007
Check the datasheet. It will probably have a suggested circuit.
__________________
"Fully on MOSFET = closed switch, Fully off MOSFET = open switch, Half on MOSFET = poor imitation of Tiffany Yep." - also applies to IGBTs!
  Reply With Quote
Old 8th September 2009, 06:00 AM   #7
diyAudio Member
 
theAnonymous1's Avatar
 
Join Date: Feb 2004
Location: Anonymityville
It doesn't; probably because it's such a simple thing that anyone even capable of using the IC should already understand.

It's the MAX1555.
__________________
"If you don't like funerals don't kick sand in ninja's face."
  Reply With Quote
Old 8th September 2009, 02:05 PM   #8
star882 is offline star882  United States
diyAudio Member
 
star882's Avatar
 
Join Date: Mar 2007
Quote:
Originally Posted by theAnonymous1 View Post
It doesn't; probably because it's such a simple thing that anyone even capable of using the IC should already understand.

It's the MAX1555.
I have used that chip before. Just connect a LED in series with a current limiting resistor of about 470R-1k from the input to the status output pin. (If you need to use both power inputs, add a pair of 1N4148 diodes.)
__________________
"Fully on MOSFET = closed switch, Fully off MOSFET = open switch, Half on MOSFET = poor imitation of Tiffany Yep." - also applies to IGBTs!
  Reply With Quote

Reply


Hide this!Advertise here!

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Output transformer matching to active device driving it macrohenry Solid State 3 17th August 2007 07:51 AM
Driving large mosfets: active PNP turn off Pierre Class D 31 15th August 2007 04:16 AM
Phono output driving amp freakyone Pass Labs 7 6th December 2006 04:37 PM
Active load output stage croccodillo Tubes / Valves 68 22nd January 2006 10:04 PM
Q:balanced output preamps with active crossovers rlim Pass Labs 4 10th January 2003 11:04 PM


New To Site? Need Help?

All times are GMT. The time now is 08:13 AM.

Page generated in 0.09295 seconds (79.14% PHP - 20.86% MySQL) with 10 queries

Copyright ©1999-2012 diyAudio