Serial -> 7 - Segment display

Hey there,
I try to control 4 7 segment displays with two of these registers DM74LS164N Datasheet(PDF) - Fairchild Semiconductor

I connected the reset pins, the clock pins, and on both of them I connected serial in 1 and 2 .
the serial in inputs of the second one are connected with the last output (OH) of the first register.

Now I cannot figure out how to send serial data to it from the arduino.
Which is the clock pin, which is the serial out pin, how can I access them?

I really dont know how i can get this work :~

  • Flo

Which is the clock pin, which is the serial out pin, how can I access them?

Any pin you want them to be, it is down to your software.

See :- http://www.arduino.cc/en/Tutorial/ShiftOut

Note that for four 7 Segment displays you will need four shift registers not two.

i got it to work now.

it was just a the and gate input of the registers.
I need two 8 bit registers, or four 4bit ...

it works now

it was just a the and gate input of the registers.

Not sure that make any sense.

I need two 8 bit registers, or four 4bit

? a seven segment display has seven segment hence you need seven outputs. Unless of course you don't actually have a seven segment display but a decoder chip driving the seven segment display, which is something different from what you said.

yeah sorry, i meant that there is an AND gate at the inputs of my serial in parallel out shift registers.

and yeah i meant driving the drivers...

i was just so happy that it finally worked ...

  • Flo