Go Down

Topic: Using a shift register for driving a 7 segment display. (Read 886 times) previous topic - next topic

XOIIO

Alright, so I want to make a compact counter that counts up on a dual 7 segment display, so I looked at the shift out example.

http://arduino.cc/en/Tutorial/ShiftOut

Now, since I want to have two or more actual displays, I would need to hook multiple ones up but I am unclear on something. They hook two shift registers up to the same pins, so does that mean that the leds they use in the example (red and green) will turn on together, just doubling the output, or can you turn on all of those leds individually?

Osgeld

one of the wires goes from the serial output of the first chip into the serial input of the second, so when you send a byte it shuffles into the first chip, if you send a second, the first byte overflows into the second chip, giving you independent control of 16 channels
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL

XOIIO


one of the wires goes from the serial output of the first chip into the serial input of the second, so when you send a byte it shuffles into the first chip, if you send a second, the first byte overflows into the second chip, giving you independent control of 16 channels


OK excellent because I plan on using an attiny85, and using a switch this would use all the pins

Now to go look through my box of circuit boards, I have some from an LED banner display and I'm sure those have shift registers.

Go Up