Author Topic: LEDs on output of 74HC00  (Read 6454 times)

0 Members and 1 Guest are viewing this topic.

Offline ChaiTopic starter

  • Regular Contributor
  • *
  • Posts: 50
  • Country: ca
LEDs on output of 74HC00
« on: September 07, 2017, 08:05:26 pm »
Does this mean I could attach an LED to each Y direct to gnd and expect 4mA without damage? Does the loading require a resistor in series?  :-//

74HC00 datasheet: http://www.ti.com/lit/ds/symlink/sn74hc00.pdf

 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19522
  • Country: gb
  • 0999
Re: LEDs on output of 74HC00
« Reply #1 on: September 07, 2017, 08:29:27 pm »
Does this mean I could attach an LED to each Y direct to gnd and expect 4mA without damage? Does the loading require a resistor in series?  :-//

74HC00 datasheet: http://www.ti.com/lit/ds/symlink/sn74hc00.pdf


The short answer is no. It just means the output voltage will be at least 3.7V, when the output current is 4mA, indicating a maximum resistance of R = (4.5 - 3.7)/0.004 = 200Ohm. The typical figure shows 4.3V, when the output current is 4mA, which gives an output resistance of R = (4.5 - 4.3)/0.004 = 50Ohm. Again that's a typical figure, it could be lower.

Note, that this is with a supply voltage of 4.5V. If one runs through the above calculations again, they'll get higher resistances at lower supply voltages, and lower resistances as the supply voltage is increased.
 

Offline Quarlo Klobrigney

  • Frequent Contributor
  • **
  • Posts: 967
  • Country: pt
  • This Space For Rent
Re: LEDs on output of 74HC00
« Reply #2 on: September 07, 2017, 09:19:22 pm »
A LED is about a 20mA load, so I don't see that driving anything at 4mA.
Voltage does not flow, nor does voltage go.
 

Offline ChaiTopic starter

  • Regular Contributor
  • *
  • Posts: 50
  • Country: ca
Re: LEDs on output of 74HC00
« Reply #3 on: September 07, 2017, 09:43:41 pm »
@hero999 -- thanks. so at the top of the datasheet this just means you should limit output to -5mA to get good operation at 5V VCC?



@Quarlo -- they light fine as low as 3mA but they're dim.
 

Offline langwadt

  • Super Contributor
  • ***
  • Posts: 4427
  • Country: dk
Re: LEDs on output of 74HC00
« Reply #4 on: September 07, 2017, 10:34:12 pm »
A LED is about a 20mA load, so I don't see that driving anything at 4mA.

your granddads LEDs maybe ;) modern LEDs are often plenty bright at a few mA
 
The following users thanked this post: Alex Eisenhut

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19522
  • Country: gb
  • 0999
Re: LEDs on output of 74HC00
« Reply #5 on: September 07, 2017, 10:57:39 pm »
@hero999 -- thanks. so at the top of the datasheet this just means you should limit output to -5mA to get good operation at 5V VCC?


If the current output is greater than 4mA, then the output voltage might be outside the range required to give a valid logic level. This means if an output is driving too higher current, it might not be able to reliably drive another logic input. The maximum current output rating is 25mA. The total maximum current in/out of all of the output pins in the IC is 50mA.
 

Offline ChaiTopic starter

  • Regular Contributor
  • *
  • Posts: 50
  • Country: ca
Re: LEDs on output of 74HC00
« Reply #6 on: September 07, 2017, 11:39:43 pm »
@hero999 -- thanks. so at the top of the datasheet this just means you should limit output to -5mA to get good operation at 5V VCC?


If the current output is greater than 4mA, then the output voltage might be outside the range required to give a valid logic level. This means if an output is driving too higher current, it might not be able to reliably drive another logic input. The maximum current output rating is 25mA. The total maximum current in/out of all of the output pins in the IC is 50mA.

Got it.

Final question, are the guys who write these 7x00 series datasheet all allergic to just putting a table explaining the pinout?  |O
 

Offline Quarlo Klobrigney

  • Frequent Contributor
  • **
  • Posts: 967
  • Country: pt
  • This Space For Rent
Re: LEDs on output of 74HC00
« Reply #7 on: September 08, 2017, 12:24:58 am »
"your granddads LEDs maybe ;) modern LEDs are often plenty bright at a few mA"

Not my granddad's LED, he had no electricity until the 70's!
But I stand corrected, there they are with 5mA and such. Who knew!
« Last Edit: September 08, 2017, 12:26:40 am by Quarlo Klobrigney »
Voltage does not flow, nor does voltage go.
 

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: LEDs on output of 74HC00
« Reply #8 on: September 08, 2017, 02:49:55 am »
HC Cmos output current is massive if the output transistor is allowed to have a substantial voltage drop. Its typical output current is only 4mA when it has a 5V supply and an output voltage drop of only about 0.2V. When its output is shorted then the output current will try to be typically 51mA. Driving a 1.8V red LED with no resistor the current is typically 47mA which will zap the LED. BUT the maximum allowed output current is only 25mA so you must use a series resistor to limit the current.

Here are graphs showing 4.5V and 6V supplies and the output current at various output voltage drops:
 

Offline ChaiTopic starter

  • Regular Contributor
  • *
  • Posts: 50
  • Country: ca
Re: LEDs on output of 74HC00
« Reply #9 on: September 08, 2017, 04:44:48 am »
HC Cmos output current is massive if the output transistor is allowed to have a substantial voltage drop. Its typical output current is only 4mA when it has a 5V supply and an output voltage drop of only about 0.2V. When its output is shorted then the output current will try to be typically 51mA. Driving a 1.8V red LED with no resistor the current is typically 47mA which will zap the LED. BUT the maximum allowed output current is only 25mA so you must use a series resistor to limit the current.

Here are graphs showing 4.5V and 6V supplies and the output current at various output voltage drops:

I did try a red led direct to ground and I got around 45mA @ 5vcc. Where did those graphs come from?



 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19522
  • Country: gb
  • 0999
Re: LEDs on output of 74HC00
« Reply #10 on: September 08, 2017, 08:15:22 am »
@hero999 -- thanks. so at the top of the datasheet this just means you should limit output to -5mA to get good operation at 5V VCC?


If the current output is greater than 4mA, then the output voltage might be outside the range required to give a valid logic level. This means if an output is driving too higher current, it might not be able to reliably drive another logic input. The maximum current output rating is 25mA. The total maximum current in/out of all of the output pins in the IC is 50mA.

Got it.

Final question, are the guys who write these 7x00 series datasheet all allergic to just putting a table explaining the pinout?  |O
Probably here. Look at page 34 or 35, depending on whether you go by the PDF page number or not.
https://assets.nexperia.com/documents/user-manual/HCT_USER_GUIDE.pdf

@hero999 -- thanks. so at the top of the datasheet this just means you should limit output to -5mA to get good operation at 5V VCC?


If the current output is greater than 4mA, then the output voltage might be outside the range required to give a valid logic level. This means if an output is driving too higher current, it might not be able to reliably drive another logic input. The maximum current output rating is 25mA. The total maximum current in/out of all of the output pins in the IC is 50mA.

Got it.

Final question, are the guys who write these 7x00 series datasheet all allergic to just putting a table explaining the pinout?  |O
The pin out is quite clear, in my opinion.

Perhaps this data sheet is more clear:
https://mil.ufl.edu/3701/docs/74HC00_ST.pdf
 

Offline TomS_

  • Frequent Contributor
  • **
  • Posts: 834
  • Country: gb
Re: LEDs on output of 74HC00
« Reply #11 on: September 08, 2017, 12:26:22 pm »
Final question, are the guys who write these 7x00 series datasheet all allergic to just putting a table explaining the pinout?  |O

Page 3?  ???
 

Online wraper

  • Supporter
  • ****
  • Posts: 16864
  • Country: lv
Re: LEDs on output of 74HC00
« Reply #12 on: September 08, 2017, 12:46:56 pm »
A LED is about a 20mA load, so I don't see that driving anything at 4mA.
20mA is MAXIMUM rated current for most of the small LEDs. You should not drive them at such current if expect high reliability. 4mA is more that enough to achieve high brightness with modern ultrabright LEDs.
 
The following users thanked this post: Chai

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 16615
  • Country: us
  • DavidH
Re: LEDs on output of 74HC00
« Reply #13 on: September 08, 2017, 07:47:34 pm »
The fact that a 4 milliamp output drive is a feature of HC/HCT logic means that you can reliably draw that much current continuously but you will still require a current limiting resistor.  Somewhere between 220 and 470 ohms is typical but high efficiency low current LEDs could use 1 kilohm.

Most indicator LED types have reliably worked on 4 milliamps almost since they were made available and some were intended to be driven on only 1 milliamp.

Final question, are the guys who write these 7x00 series datasheet all allergic to just putting a table explaining the pinout?

Some manufacturers produce much better datasheets than others.
 
The following users thanked this post: Chai

Offline ChaiTopic starter

  • Regular Contributor
  • *
  • Posts: 50
  • Country: ca
Re: LEDs on output of 74HC00
« Reply #14 on: September 08, 2017, 08:05:41 pm »
Final question, are the guys who write these 7x00 series datasheet all allergic to just putting a table explaining the pinout?  |O

Page 3?  ???

Ooh yea. This nand pdf is OK but some aren't. I was just generally frustrated.  :scared:
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19522
  • Country: gb
  • 0999
Re: LEDs on output of 74HC00
« Reply #15 on: September 08, 2017, 09:17:21 pm »
Final question, are the guys who write these 7x00 series datasheet all allergic to just putting a table explaining the pinout?  |O

Page 3?  ???

Ooh yea. This nand pdf is OK but some aren't. I was just generally frustrated.  :scared:
Pages 1, 2 & 3?

Are you struggling with interpreting it? Is it that the power supply pins are only shown on the first page and not on the schematics? That's fairly standard on logic component data sheets. The 74 series normally uses the bottom right left pin for GND and the top right for Vcc.
« Last Edit: September 16, 2017, 10:57:14 pm by Hero999 »
 

Offline TomS_

  • Frequent Contributor
  • **
  • Posts: 834
  • Country: gb
Re: LEDs on output of 74HC00
« Reply #16 on: September 16, 2017, 05:48:49 pm »
Final question, are the guys who write these 7x00 series datasheet all allergic to just putting a table explaining the pinout?  |O

Page 3?  ???

Ooh yea. This nand pdf is OK but some aren't. I was just generally frustrated.  :scared:

I find the NXP datasheets to be generally pretty good. I use them a lot as a reference.
 

Offline alsetalokin4017

  • Super Contributor
  • ***
  • Posts: 2055
  • Country: us
Re: LEDs on output of 74HC00
« Reply #17 on: September 16, 2017, 08:53:34 pm »
Final question, are the guys who write these 7x00 series datasheet all allergic to just putting a table explaining the pinout?  |O

Page 3?  ???

Ooh yea. This nand pdf is OK but some aren't. I was just generally frustrated.  :scared:
Pages 1, 2 & 3?

Are you struggling with interpreting it? Is it that the power supply pins are only shown on the first page and not on the schematics? That's fairly standard on logic component data sheets. The 74 series normally uses the bottom right pin for GND and the top right for Vcc.

Are you quite sure about that?

The easiest person to fool is yourself. -- Richard Feynman
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19522
  • Country: gb
  • 0999
Re: LEDs on output of 74HC00
« Reply #18 on: September 16, 2017, 10:55:41 pm »
Final question, are the guys who write these 7x00 series datasheet all allergic to just putting a table explaining the pinout?  |O

Page 3?  ???

Ooh yea. This nand pdf is OK but some aren't. I was just generally frustrated.  :scared:
Pages 1, 2 & 3?

Are you struggling with interpreting it? Is it that the power supply pins are only shown on the first page and not on the schematics? That's fairly standard on logic component data sheets. The 74 series normally uses the bottom right pin for GND and the top right for Vcc.

Are you quite sure about that?
Typographical error. Fixed.
« Last Edit: September 16, 2017, 10:58:06 pm by Hero999 »
 

Offline EEVblog

  • Administrator
  • *****
  • Posts: 37740
  • Country: au
    • EEVblog
Re: LEDs on output of 74HC00
« Reply #19 on: September 16, 2017, 11:24:52 pm »
The short answer is no.

Err, the answer is yes. You can easily drive a LED direct from the output of a HC chip at 4mA with a dropper resistor.
Yes the output voltage will drop, but who cares unless you are driving other logic with the output.
 

Offline EEVblog

  • Administrator
  • *****
  • Posts: 37740
  • Country: au
    • EEVblog
Re: LEDs on output of 74HC00
« Reply #20 on: September 16, 2017, 11:28:15 pm »
20mA is MAXIMUM rated current for most of the small LEDs. You should not drive them at such current if expect high reliability. 4mA is more that enough to achieve high brightness with modern ultrabright LEDs.

Even old LEDs worked fine on a few mA or two.
This digital clock I did using 1980's vintage LED displays worked on around 1mA per segment IIRC.

 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19522
  • Country: gb
  • 0999
Re: LEDs on output of 74HC00
« Reply #21 on: September 16, 2017, 11:31:31 pm »
The short answer is no.

Err, the answer is yes. You can easily drive a LED direct from the output of a HC chip at 4mA with a dropper resistor.
Yes the output voltage will drop, but who cares unless you are driving other logic with the output.
No, I didn't say that. Please read the original poster's first post again!

Does this mean I could attach an LED to each Y direct to gnd and expect 4mA without damage? Does the loading require a resistor in series?  :-//

I thought I'd leave it up to the original poster to figure out that a separate series resistor is required.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf