Professional Documents
Culture Documents
Objectives:
The following equipment and materials are needed in performing this laboratory exercise:
1 DC power supply with +5V output capability
1 74148 of 74LS148 Priority Encoder TTL IC
1 7447 or 74LS47 BCD-to-Seven-Segment Decoder TTL IC
1 7404 or 74LS04 Hex Inverter TTL IC
8 Push button switches
8 47 ohms, ¼ W resistors
4 LEDS
1 Common Anode Seven-Segment LED Display
1 Solderless Breadboard
1 Set of connecting wires
Procedure:
1. Remove the dc power supply connection from the circuit you created and tested if Part 1.
2. Remove the resistors and LEDs from the circuit and replace them with the seven-segment
display, 7404, and 7447 as shown in Figure 2.
3. When all the required components in the figure are properly connected, double-check
your wiring and make sure that all pins are accounted for especially the GND and Vcc pins
before applying power to the circuit.
4. Set the power supply output to +5V.
5. Power up the circuit.
6. Test the circuit by pressing any key on the keypad. Take note of the display that will appear
in the seven-segment LED display for each key that was pressed.
7. Use Table 2 to record the result. Indicate the status of each segment if "ON" or "OFF" to
indicate 1 or 0 value respectively.
8. Try pressing two or more keys at the same time and take note what will be displayed in
the seven-segment LED display.
TIP: To determine the pin configuration of the available common anode seven- segment LED
display, hold the device with the seven-segment facing you and the dot is located at the lower
right portion of the display. The following are the pin configurations of the device in a
clockwise direction starting from the top leftmost pin: segment g, segment f, anode pin,
segment a, segment b, dot, segment c, anode pin, segment d, and segment e.