The goal is to make a large pace clock with two digits for minutes and two digits for seconds.
I am using four tpic6c596 8-bit shift registers instead of using Sparkfun's large digit driver (the same chips, just on a PCB) from this Instructable: instructables.com/id/Large-7-Segment-LED-Pace-Clock
From the code, there are five pins that need to be connected to the four daisy chained shift registers:
For the Instructable, the Sparkfun shift registers are all daisy chained together with latch, clock and serial data (for IN and OUT). So there are three pins going in, and three pins chained to the next shift register.
The pinout for the stand-alone shift register (instead of the fancy Sparkfun board one) is below on the left:
Are all the RCK tied together for all four chips? Same with the SRCK (clock) leads?
Is the only pin that needs to be daisy chained the SER IN/OUT?
Starting from page 14 of the tpic6c596 datasheet, and on page 15 (Figure 14) it seems so.
It seems way too simple.
What about CLR and G: Are they supposed to be grounded or all tied together (among the shift registers)? Page 13 of the datasheet causes me to think that they're needed to clear the clock (or would it automatically shift from 99:99 to 00:00?
I am using four tpic6c596 8-bit shift registers instead of using Sparkfun's large digit driver (the same chips, just on a PCB) from this Instructable: instructables.com/id/Large-7-Segment-LED-Pace-Clock
From the code, there are five pins that need to be connected to the four daisy chained shift registers:
// Arduino Nano - Pin I/O definitions
byte segmentClock = 9; // PWM
byte segmentData = 10;
byte segmentLatch = 11; // PWM
byte segmentClock = 9; // PWM
byte segmentData = 10;
byte segmentLatch = 11; // PWM
For the Instructable, the Sparkfun shift registers are all daisy chained together with latch, clock and serial data (for IN and OUT). So there are three pins going in, and three pins chained to the next shift register.
The pinout for the stand-alone shift register (instead of the fancy Sparkfun board one) is below on the left:
Are all the RCK tied together for all four chips? Same with the SRCK (clock) leads?
Is the only pin that needs to be daisy chained the SER IN/OUT?
Starting from page 14 of the tpic6c596 datasheet, and on page 15 (Figure 14) it seems so.
It seems way too simple.
What about CLR and G: Are they supposed to be grounded or all tied together (among the shift registers)? Page 13 of the datasheet causes me to think that they're needed to clear the clock (or would it automatically shift from 99:99 to 00:00?
Attachments
-
327.9 KB Views: 2