Lab 6: BCD-to-decimal decoder and Hexcidecimal-to-Seven-Segment Decoder

2022 - Robucci -- removed mux for the sake of moving lab earlier in semester. Mentioned complementary at-home exercise.

Table of Contents


Lab 6: BCD-to-decimal decoder and Hexcidecimal-to-Seven-Segment Decoder

Discussion

In-Lab Exercise


Objective and Overview

In this lab, you will be

Required Equipment

Discussion

Input Generation

In this lab we will return to use of a DIP switch for inputs. A implementation is depicted in the following graphic.

DIP Switch Setup

BCD Decoder 7442

74LS42 Pinout/Block Diagram
BCD Decoder Truth Table

Hexadecimal-to-seven segment Latch/Decoder LED Driver MC14485 IC

Current-Limiting Reistors for seven-segment display LEDs

The seven-segment display uses LEDs that you might expect to require the inclusion of current-limiting resistors in a driver circuit. The MC14495P1 has these resistors built-in because it is designed to drive such LEDs. This IC is an example of an integrated circuit with more than digital logic Therefore, you do not have to add current-limiting LEDs to your breadboard.

Seven-Segment Decoder Block Diagram. Note the in-built current-limiting resistors.
Seven-Segment Decoder Truth Table (assuming LE=LOW)
Typical Circuit
Seven-Segment Display

Prelab

For this lab, the instructor is providing a complementary exercise related to the design of the logic for one of the decoders. That exercise will be turned in as part a lab report, and does not nessisarily need to be completed before lab. Therefore there is no pre-lab submission. Once you complete the lab activity, the exerience may serve as a reference for understanding the logic design goal (i.e. the function of the decoder) for the at-home exercise.

You should otherwise use time before lab to plan your placement and wiring, and/or you may start assembly of your circuit before lab.

In-Lab Exercise

BCD-to-decimal

  1. Connect the four DIP switch signals to the four inputs A,B,C,D of the 74LS42 BCD decoder.
  2. Use ten output indicator circuits (resistor and LED) to observe the ten active low-outputs.
  3. Demonstrate the operation of the circuit to the TA.

📝 TA Verification

Have the TA check and record your completion.

Hex to Seven-Segment Decoder

  1. Without disrupting the previous circuits, connect the four DIP switch signals to the four inputs A,B,C,D of the MC14485 IC.
  2. Connect MC14485 LE (pin 7) to ground
  3. Connect MC14485 outputs a-g to appropriate inputs a-g of the seven-segment display.
  4. Connect the CC (pin 8) of the seven-segment display to ground.
  5. Demonstrate the operation circuit to the TA. Test input values 0-9, as well as 10-15.

📝 TA Verification

Have the TA check and record your completion.

Grading and Submission

50% Completion of In-Lab activity (verified physical circuit demonstration). This lab is grading for completion only, based on demonstration to the TA.
No report is otherwise required for the in-lab activity.

50% At-home exercise on decoder logic design. This is provided by the instructor.