Power surge with 74HC595
alnajjar1
Posts: 110
Hello,
I am using a BS2 and 74HC595 in a chain to turn on 64 LEDs. It works beautifully but the only problem is that upon power up, all LEDs come on for a fraction of a second of a second. I send a "0" to all the 595s in the first line of the code but still have the initial All-on at start up. How can I avoid that?
Many thanks in advance
Al
I am using a BS2 and 74HC595 in a chain to turn on 64 LEDs. It works beautifully but the only problem is that upon power up, all LEDs come on for a fraction of a second of a second. I send a "0" to all the 595s in the first line of the code but still have the initial All-on at start up. How can I avoid that?
Many thanks in advance
Al
Comments
Even then if it is floating you may get a flash on power up, and to avoid that connect a pullup resistor to it, 10K or 100K would be OK.
Since I have 8 of these 595s in a chain (as you see in the schematic), do I need to do the same for every IC or only the first in the chain?
Many thanks again,