74HC595 to drive leds
ktekx
Posts: 71
bear with me, as i'm inexperience with digital. I was looking at the 74HC595 IC and was confused about a couple of things. When they refer to "stages," is that how many data registers can be held at any given time? And the "latch" line refers to pulling the next register in line out to be displayed? I'm trying to figure this out so I can try and drive a couple of LEDs just for learning purposes right now. Maybe somebody can explain this whole concept in more simpler terms?
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
The '595 is a dumb device. It takes serialized bits in one end and pumps them out the other. When the latch pin is pulsed the bits that are currently stored inside get transferred to the outputs. It is up to the programmer to keep everything aligned.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
I'm really sorry for stretching this out more than it has to be!!
The LATCH freezes the DATA that was in the 595 at the time LATCH goes active.· The output enable (/OE) places the DATA on the outputs.· Think of it as a switch (8 switches) inside the 595 between the registers and the output pins.
Stampworks V2· pages 134-136 has an excellent example of this cascading deal, so have a bash (will ya?).· Maybe placing an LED on the LATCH and CLOCK might help you understand a bit more (??).
Post Edited (PJ Allen) : 4/19/2006 8:40:42 PM GMT