CSCI 345: Lab 8

Shift Registers and 7-Segment LEDs
Due: 10PM on Monday, April 20th

In this lab, you should learn:

  • How to use a shift register to control multiple outputs
  • How to control a 7 segment display

To complete this lab, you will need:

  • A computer.
  • An arduino.
  • A USB cable to connect your arduino to your computer.
  • 8 LEDs
  • 8 270Ω resistors.
  • A 74HC595 Shift Register
  • A seven segment display.
  • 8 330Ω resistors.
  • A breadboard.
  • Wires.

Part 0 - Github

Click here to create your github repo for this lab.

Part 1 - Shift Register

Follow this guide to learn how to multiplex your arduino outputs using a shift register.

Part 2 - 7 Segment LED

Follow this guide to control a 7-segment LED with your arduino.

Part 3 - 7 Segment LED and Shift Register

Follow this guide to control a 7-segment LED through your shift register.

Part 4 - Put it together and get creative

Connect some input device (button, thermoresistor, etc) to your arduino, and have it control what gets displayed on the 7-segment display. The 7-segment display should be connected to your arduino through the shift register.

Handin

You will submit your assignment by posting a comment on the piazza thread for lab 8. Your post should include a link to the a video of you demoing your program, and a link to a github repository that contains your arduino code.


C. Taylor