Now we find all the parallel input pins
(pin 1, 4 to 7 and 13 to 15) of our shift registers and connect a 10
K resistor to ground on each of the input pins.
Time to connect the switches to our
shift registers. Starting with number 1:
Pin 7 (parallel input 1) goes to S1;
Pin 6 (parallel input 2) goes to S2;
Pin 5 (parallel input 3) goes to S3;
Pin 4 (parallel input 4) goes to S4;
Pin 1 (parallel input 8) goes to S5;
Pin 15 (parallel input 7) goes to S6;
Pin 14 (parallel input 6) goes to S7;
Pin 13 (parallel input 5) goes to S8;
We carry on to shift register 2:
Pin 7 (parallel input 1) goes to S9;
Pin 6 (parallel input 2) goes to S10;
Pin 5 (parallel input 3) goes to S11;
Pin 4 (parallel input 4) goes to S12;
Pin 1 (parallel input 8) goes to S13;
Pin 15 (parallel input 7) goes to S14;
Pin 14 (parallel input 6) goes to S15;
Pin 13 (parallel input 5) goes to S16;
Finally the shift register 3:
Pin 7 (parallel input 1) goes to S17;
Pin 6 (parallel input 2) goes to S18;
The rest of the input pins of shift
register 3 staying empty for now. Don't worry, we will use a couple
of more inputs at a later stage.
In the next part we start writing the
code for the input stage.
No comments:
Post a Comment