You are on page 1of 8

USING A SHIFT REGISTER

Activity ___

Learning Outcome(s):
After completing this experiment the students will be able to:
1. Demonstrate the use of the shift register in displaying a series of data.
2. Implement the shiftOut() function in your codes.
3. Construct circuits that will be interfaced with the shift registers.
COMPONENTS:
1. 1 x Arduino Board
2. 1 x 74HC595 Shift Register
3. 1 x 1µF Capacitor
4. 8 x LED’s
5. 8 x 220Ω Resistors
6. 1 x breadboard

CIRCUIT & SCHEMATIC DIAGRAM:

Figure 1. Circuit diagram 1


Figure 2. Schematic Diagram 1

Figure 3. TinkerCAD Circuit of Diagram 2

A. “HELLO WORLD”
PROCEDURE:
1. Open your TinkerCAD account and create a new circuit.
2. Gather the components needed through the Components Tab at the right side.
3. Connect your Arduino to your breadboard along with the other components as shown in Figure 1.
4. Using the Code button, encode and verify the program below, if no errors occurred start the
simulation by clicking the Start Simulation button.

B. “HELLO WORLD AGAIN”

PROCEDURE:
1. Open your TinkerCAD account and create a new circuit.
2. Gather the components needed through the Components Tab at the right side.
3. Connect your Arduino to your breadboard along with the other components as shown in Figure 1.
4. Using the Code button, encode and verify the program below, if no errors occurred start the
simulation by clicking the Start Simulation button.
C. ONE BY ONE

PROCEDURE:
1. Open your TinkerCAD account and create a new circuit.
2. Gather the components needed through the Components Tab at the right side.
3. Connect your Arduino to your breadboard along with the other components as shown in Figure 1.
4. Using the Code button, encode and verify the program below, if no errors occurred start the
simulation by clicking the Start Simulation button.

D. USING AN ARRAY
PROCEDURE:
1. Open your TinkerCAD account and create a new circuit.
2. Gather the components needed through the Components Tab at the right side.
3. Connect your Arduino to your breadboard along with the other components as shown in Figure 1.
4. Using the Code button, encode and verify the program below, if no errors occurred start the
simulation by clicking the Start Simulation button.

COMPONENTS:
7. 1 x Arduino Board
8. 1 x 74HC595 Shift Register
9. 1 x 1µF Capacitor
10. 8 x LED’s
11. 8 x 220Ω Resistors
12. 1 x breadboard

CIRCUIT & SCHEMATIC DIAGRAM:


Figure 4. Circuit diagram 2

Figure 5. Schematic Diagram 2


Figure 6. TinkerCAD Circuit of Diagram 2

E. Dual Binary Counters

PROCEDURE:
1. Open your TinkerCAD account and create a new circuit.
2. Gather the components needed through the Components Tab at the right side.
3. Connect your Arduino to your breadboard along with the other components as shown in Figure 3.
4. Using the Code button, encode and verify the program below, if no errors occurred start the
simulation by clicking the Start Simulation button.

F. Dual One by One


PROCEDURE:
1. Open your TinkerCAD account and create a new circuit.
2. Gather the components needed through the Components Tab at the right side.
3. Connect your Arduino to your breadboard along with the other components as shown in Figure 3.
4. Using the Code button, encode and verify the program below, if no errors occurred start the
simulation by clicking the Start Simulation button.

Results and Observations:

You might also like