Pages: [1]   Go Down
Author Topic: Using a shift register for driving a 7 segment display.  (Read 833 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Sr. Member
****
Karma: 0
Posts: 258
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

SE USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged


Offline Offline
Sr. Member
****
Karma: 0
Posts: 258
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Pages: [1]   Go Up
Jump to: