Circuit 2
Shift Register
PARTS:
Wire
19
X
CIRCUIT #14
14
Now we are going to step into the world of ICs (integrated
circuits). In this circuit, you’ll learn all about using a shift
register (also called a serial-to-parallel converter). The shift
register will give your RedBoard an additional eight outputs,
using only three pins on your board. For this circuit, you’ll
practice by using the shift register to control eight LEDs.
IC
1
X
330Ω
Resistor
8
X
LED
8
X
LED
8
X
IOREF
RES
ET
RESET
7-15V
SCL
SDA
AREF
GND
13
12
~11
~10
~9
8
7
~6
~5
4
~3
2
1
0
TX
RX
13
3.3V
5V
GND
GND
VIN
A0
A1
A2
A3
A4
A5
POWER
ANALOG IN
DIGIT
AL (PWM~)
ON
ISP
TX
RX
Bend legs to 90° angle.
Align notch on top,
inbetween “e5” and “f5” on
the breadboard. The notch
indicates where pin 1 is.
1
2
3
4
5
6
7
8
Q
B
Q
C
Q
D
Q
E
Q
F
Q
G
Q
H
GND
V
CC
Q
A
SER
OE
RCLK
SRCLK
SRCLR
Q
H’
16
15
14
13
12
11
10
9
*Do not connect pin 9
74HC595
Resistors
(330 ohm)
(Orange-Orange-Brown)
LEDs
(Light-Emitting Diodes)
RedBoard
GND
(Ground)
OE
13
GND
8
QA
15
QB
1
QC
2
QD
3
QE
4
QF
5
QG
6
QH
7
QH*
9
RCK
12
SCK
11
SCL
10
SER
14
VCC
16
5 volt
PIN 2
PIN 3
PIN 4
Page 73
Содержание RedBoard
Страница 13: ...Page 11...