Shiftreg alternate IC for SRLCD

I'm having trouble figuring out the pinouts, I have sparkfun's shift register, (aa74HC595) instead of the (74LS164) Can someone please explain the pins to me, they are called different things in the data sheets.
I know Qa-Qh is the same as Q0-Q7
But the 74LS164 in the SRLCD tutorial has an A,B CLK, and CLR, that I'm not sure what they are on the 74HC595. Then the 74HC595 has 2 extra pins (it's a 16 pin, instead of 14 pin), I'm not sure which ones I need to ground or give 5+.
Thanks,
here's the SRLCD page:
http://code.google.com/p/arduinoshiftreglcd/
and sparkfun's 74HC595 datasheet:

and the 74LS164 datasheet:

This link shows the 595 pins: http://arduino.cc/en/Tutorial/ShiftOut

I've looked at that, but this 595 has a latch pin that's not even mentioned in the SRLCD. I'd like to wire it up so I can use the SRLCD.h library to simplify my LCD.

but this 595 has a latch pin that’s not even mentioned in the SRLCD

That’s because the shiftregister used with the SRLCD (arduinoshiftreglcd) doesn’t have a latch, it’s a somewhat simpler shiftregister. The outputs reflects the data as they are shifted in directly. The '595 however can retain the old output while new data are shifted in, until a latch pulse is given.

However Nadir have a nice solution here, although it only works with the three-wire method: http://arduino.cc/forum/index.php/topic,15364.msg112755.html#msg112755
Notice the enablepin is also connected to pin 12 on the 74HC595 as well as pin 6 (enable) on the LCD.

raron:

but this 595 has a latch pin that's not even mentioned in the SRLCD

That's because the shiftregister used with the SRLCD (arduinoshiftreglcd) doesn't have a latch, it's a somewhat simpler shiftregister. The outputs reflects the data as they are shifted in directly. The '595 however can retain the old output while new data are shifted in, until a latch pulse is given.

However Nadir have a nice solution here, although it only works with the three-wire method: Arduino Forum
Notice the enablepin is also connected to pin 12 on the 74HC595 as well as pin 6 (enable) on the LCD.

Thanks! This looks like the answer...

Updated the schematics for the 74HC595. Also spotted a slight error with the above 595 connections from Nadir, unless he used a real old version of the library. Then I used the four last positions of the shiftregister, but not since implementing the two-wire method.

Not that it is a good practice doing it like this, since both the 595 and the LCD will get the enable pulse at the same time.

http://code.google.com/p/arduinoshiftreglcd/

Note I haven't actually tested this myself yet, and no guarantees and all that GPLv3 stuff :grin:

THANKS RARON!
I had given up in SRLCD--I thought I messed up somewhere on my home brewed pcb. Finally just gave it up, but I tried the new schematic on my breadboard, and it's working great!