To familiarize the student with the seven-segment LED display, and the process of converting one type of binary signal to another (decoding). A good understanding of BCD (Binary Code Decimal - Mano: p.80) should also result.
Circuit diagrams with pin numbers labeled plus a concise verbal description of the operation of the circuits. Truth Table for all seven segments, plus all seven functions in MSOP. Simulation of functional seven segment display circuit.
WARNING! Improper or careless connections to the seven-segment display can destroy it. Double check your connections BEFORE applying power.
The seven-segment LED (Light Emitting Diode) display has become a common device in consumer electronics, from calculators to clocks to microwave ovens. In this lab, you will learn the basic principles of operation of the seven-segment display and the process of converting BCD values to the proper signals to drive the seven-segment display. The seven-segment display has seven separate LED's (bar-shaped) arranged as shown.
|
|
|
If we connect the resistor to +5V instead of ground, there is no voltage drop across the LED and resistor, thus no current through them, and the LED remains dark.
|
|
example:
|
NOTE: You can also use the LED's built into the Digi-Designer for trouble-shooting, but you must remember that they come on with a logic 1. In other words, they have a NOT gate built in to the circuit.
|
|
What we wish to do is input a BCD (4-bit) number to some combinational circuit which causes the appropriate segments to light up. (e.g. if 0000 is input to the circuit, all of the LED pins on the seven-segment display should go low except the pin connected to the center horizontal LED).
For reference purposes, each segment is assigned a letter so that it can easily be referred to. The standard scheme is
|
| D | C | B | A | fa |
| 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 0 | 1 | 1 |
| 0 | 0 | 1 | 0 | 0 |
| 0 | 0 | 1 | 1 | 0 |
| 0 | 1 | 0 | 0 | 1 |
| 0 | 1 | 0 | 1 | 0 |
| 0 | 1 | 1 | 0 | 0 |
| 0 | 1 | 1 | 1 | 0 |
| 1 | 0 | 0 | 0 | 0 |
| 1 | 0 | 0 | 1 | 0 |
| 1 | 0 | 1 | 0 | X |
| 1 | 0 | 1 | 1 | X |
| 1 | 1 | 0 | 0 | X |
| 1 | 1 | 0 | 1 | X |
| 1 | 1 | 1 | 0 | X |
| 1 | 1 | 1 | 1 | X |
fa = D¢C¢B¢A + CB¢A¢
QUESTION: what comes out of this circuit for each of the six invalid inputs? (e.g., what is Fa if the input is 1010?)
Now, make up a truth table for all seven segments and find a function (MSOP) for each. NOTE: you need not make a separate truth table for each segment - just list the inputs once, and have seven output columns.
| D | C | B | A | fa | fb | fc | fd | fe | ff | fg |
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
etc etc
We need not build all these circuits in order to use the seven-segment display, however, because this group of seven circuits can be found in a single IC, the 7447. The 7447 is called a BCD to seven-segment display. A Block diagram.
|
|
Check the six unused input combinations (1010 through 1111) and report which segments light up. Does this match what you would expect from the seven equations you got for the decoder? If not, can you think of one reason why the output might not match your equations?