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

2023 - Robucci – removed mux for the sake of moving lab earlier in semester. Mentioned complementary at-home exercise. Added description of seven-segment LED with animations.

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 the standard Quad DIP switch with pull-up resistors will be used for inputs.

Output Display

First Circuit 10 LED output

For the first circuit, 10 discrete LEDs and 10 current-limiting resistors can be used. The output of the 74LS42 is ACTIVE LOW. There are OVERBARS (e.g. 3\overline{3}) on the pin labels in the datasheet to indicate this.

Second Circuit Seven-Segment LED output

For the second circuit, a Seven-Segment LED Display will be used. It has seven primary segments which can be independently activated to display characters. Additionally, this display has a right display point. This display has many LEDs with their cathodes tied together with the intent of a common connection to a low supply terminal. This configuration is called common-cathode.

Seven-Segment Display

(Circuit 1) BCD Decoder 7442

74LS42 Pinout/Block Diagram
BCD Decoder Truth Table

(Circuit 2) Hexadecimal-to-seven segment Latch/Decoder LED Driver (MC14495 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.

Typical Circuit. This is the circuit that will be constructed in this lab.
Seven-Segment Decoder Block Diagram. Note the in-built current-limiting resistors.
Seven-Segment Decoder Truth Table (assuming LE=LOW)
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.

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

Discussion

In-Lab Exercise