Electronic – Why can a 74HC595 drive 8 LEDs

7segmentdisplaydriverled

I don't understand, I have seen many people use the 74HC595 to drive 5V across 8 5mm green LEDs via 220Ohm resistors at the same time, whereas the datasheet says that the maximum Vcc current is 70mA. This should add up to in excess of 100mA…

I'd like to drive a 7 segments display via a 8 bit shift register, so if there is a reason why it works, I'd like to know. The 7 segments I've found draw 20mA per segment, but so do 5mm green LEDs!

Example: http://jumptuck.com/2011/11/03/how-to-drive-595-shift-registers-with-avr-hardware-spi/

Best Answer

You can (and should) run the LEDs at lower than the maximum current. Many modern LEDs are plenty bright at a few mA, no need to run them at 20mA unless you are planning to cast shadows across the room or blind unsuspecting users.

Exceeding the absolute maximum Vcc or GND current is not guaranteed to kill the part immediately, but it will probably affect reliability negatively. You could always use a 74LVC595A (100mA abs max) but it's still bad practice to get close to the absolute maximum values.