Lab / Digital electronics

Shift registers (SISO, SIPO, ring and Johnson counters)

To verify serial-in parallel-out operation of a shift register and build ring and Johnson counters from it.

Digital electronicsVirtual readings4 viva questions
ABY

Theory

A shift register is a chain of D flip-flops: on each clock edge every bit moves one place. Serial-in parallel-out turns a serial stream into parallel bits. Feeding the last output back to the input makes a ring counter (N states for N flip-flops). Feeding back the complement makes a Johnson (twisted-ring) counter with 2N states.

Apparatus

  • IC 7495 or 74164 (or 74HC595 with an Arduino)
  • Digital trainer kit
  • LEDs

Circuit connections

  • Serial input from a switch, clock from the pulser, parallel outputs to LEDs; feedback from the last Q (or Q′) to the serial input for the counters

Procedure

Pre-lab check

4 questions · 75% to be ready
1How many clock pulses to load 4 bits serially?
2States in a 4-bit Johnson counter?
3Where is the 74HC595 used?
4What is the difference between SIPO and PISO?

Try the readings before the lab

Calculated, not measured. In the lab, write down your own readings.
ClockQ0Q1Q2Q3
00000
11000
20100
31010
41101

Precautions

  • Clear the register before each run.
  • Use a debounced clock.

My readings

Type what you measured. It goes into your record book, and to My Garage when you are signed in.

S. No.ClockQ0Q1Q2Q3
1
2
3
4
5
6

Check my readings

Put the value you set in the first column, then compare. Real parts have tolerance.

Open my record book

Your lab record

Result formatData shifts one place per clock. The ring counter has 4 states and the Johnson counter 8.

Everything above is free. The print-ready write-up comes with Maker.

Printed pages leave the observation table empty for your own readings.

Viva practice

Say your answer out loud first, then check. The first 2 answers are free; Maker opens all 4.

1. How many clock pulses to load 4 bits serially?
2. States in a 4-bit Johnson counter?
3. Where is the 74HC595 used?
4. What is the difference between SIPO and PISO?

Quick answers for your record and viva

What is the aim of the shift registers (siso, sipo, ring and johnson counters) experiment?

To verify serial-in parallel-out operation of a shift register and build ring and Johnson counters from it.

What apparatus is needed for shift registers (siso, sipo, ring and johnson counters)?

IC 7495 or 74164 (or 74HC595 with an Arduino), Digital trainer kit, LEDs.

What is the theory behind shift registers (siso, sipo, ring and johnson counters)?

A shift register is a chain of D flip-flops: on each clock edge every bit moves one place. Serial-in parallel-out turns a serial stream into parallel bits. Feeding the last output back to the input makes a ring counter (N states for N flip-flops). Feeding back the complement makes a Johnson (twisted-ring) counter with 2N states.

What result should I get in shift registers (siso, sipo, ring and johnson counters)?

Data shifts one place per clock. The ring counter has 4 states and the Johnson counter 8.

What precautions should I take in shift registers (siso, sipo, ring and johnson counters)?

Clear the register before each run. Use a debounced clock.

Shift registers (SISO, SIPO, ring and Johnson counters)