74HC595 communication question [Resolved]
D Faust
Posts: 608
How do·I communicate with a shift register such as the 74HC595 from a stamp?··Link to datasheet: http://www.fairchildsemi.com/ds/MM/MM74HC595.pdf I'm not sure exactly how to read the diagram, but it looks like·I have to pulse the clock line?· I think I need to use shiftin and shiftout, but i'm not sure what I have to do to the other lines.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Post Edited (D Faust) : 9/17/2007 8:43:57 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
LOOKDOWN ThisThread, [noparse][[/noparse]Your_?, My_?, Cool_Thing], looknum LOOKUP looknum, [noparse][[/noparse]1, 2, 3], subnum ON subnum GOTO Hope_this_helps, Thanks!, WOW!! END
Post Edited (D Faust) : 9/17/2007 8:43:57 PM GMT
Comments
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
Jeff T.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Post Edited (D Faust) : 9/16/2007 11:45:43 PM GMT
UYou can do that.
·Can these be shared with the 74HC parallel to serial?
No.
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
So, if you have 1·shift register chip·with 8 outputs, you shiftout 8 times then LATCH. If you want more,·you feed the highest output from the first latch to the·serial input of the second latch and·then to update, you shiftout 16 and then LATCH the result.
Am I making sense?
Think of it like stacking plates... to get a pattern in a 16 plate stack of red and blue plates... you need to stack the full 16 plates each time you make a change to be sure they are in the right order because everything you do is "sequential".· You can't just swap out plate #5 for example... your clear out the pile and start stacking over again.
In the case of the 595, what they are showing you is that the RCK and G are respnosible for LATCHING the contents of the registers to the output pins. G needs to be low and RCK triggers the latches on the rising edge of the RCK pin change as long as you are not clearing the registers. USE RCK as your latch, SER as your data in and SCK as your clock pin.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There's nothing like a new idea and a warm soldering iron.
Post Edited (pwillard) : 9/17/2007 1:56:59 PM GMT
http://forums.parallax.com/showthread.php?p=552892
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There's nothing like a new idea and a warm soldering iron.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔