Binary Decoder Project

Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

University of Southeastern Philippines

Bo. Obrero, Davao City

College of Engineering

PROJECT I – DECODER CIRCUITS

In Partial Fulfillment to the Requirements in

ECE314L – Logic Circuits and Switching Theory

Submitted to

ENGR. ROBERTO I. CANDA

Submitted by

CHARMAE A. BONGGO

October 30, 2021


Statement of the Problem

Nowadays, display circuits have played a vital role in our daily activities. It is very

evident in almost electronic gadget we have and we found at home, say for example the

computers, calculators, electronic inductions, air-condition, washing machine, and etc. It serves

as a very important component as it makes our life easier and more convenient. As we study

Logic Circuits and Switching Theory, we have learned how to design display or decoder circuit

and hence tasked to create one. This project goal is to design a combinational logic circuit with

four bit inputs that outputs four unique characters in a 4 7-segment display.

Scope and Limitations

This project made use of transistor-transistor logic ICs. These TTL ICs are NOT, AND, OR

coming from the same TTL family. The input voltage is also limited to 5 volts. The design is also

assembled on breadboards. The wirings used is UTP wires restricted to color orange and a

combination of blue and white following that the wiring connections does not have any flyovers

or diagonal connection. The time allotted to make this project was 15 days; however due to

circumstances, this was assembled from October 11 to October 30, 2021.

Description of the Project

In this project, there are four 7-segment LED displays that were driven by logic

combinational circuit. The circuit was connected to a 4 channel DIP switch which serves as the

four bit inputs. The output of the decoder circuit that should be displayed is “c r i n “. The

output should follow a pattern that during the first set of combinations of the four bit inputs,
the desired name outputted must move from left to right, and then moves downward, and then

blinks two times.

System Hardware and Specifications

7 segment LED display

This decoder circuit used a 7 segment LED display common cathode type where the 7

pins of the display are for the 7 segments fed by different states depending upon the output of

the logic gates and ground is the common pin of the LEDs in the display.
Transistor – Transistor Logic IC

This project also utilized several 74LS series ICs. In this project, there are 19 pieces of ICs

used. 6 pieces of 74LS32 for the OR gates, 6 pieces of 74LS11 for the AND gates with 3 input,

and 6 pieces of 74LS21 for the AND gates with 4 inputs, and 1 piece of 74LS04 IC for the

inverter.

DIP switch and LED indicators

The DIP switch used has four channels that serves as the four bit inputs. There are four

LEDs connected in parallel to the DIP switch and in series to resistors going to the ground. The

lighting of the LED indicates the binary numbers represented by the DIP switch.

Pattern of the Output Character Display

0000

0001

0010

0011

0100

0101

01 10

0111

1000

1001
1010

1011

1100

1101

1110

1111

Karnaugh Maps

FIRST SEGMENT DISPLAY:

A B C D E F G
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 1 1 0 0 1 0 1 0 1
0 0 1 0 2 0 0 1 0 0 0 0
0 0 1 1 3 0 0 0 0 1 0 1
0 1 0 0 4 0 0 0 1 1 0 1
0 1 0 1 5 0 0 0 0 0 0 0
0 1 1 0 6 0 0 0 0 0 0 0
0 1 1 1 7 0 0 0 0 0 0 0
1 0 0 0 8 0 0 0 0 0 0 0
1 0 0 1 9 1 0 0 0 0 0 0
1 0 1 0 10 1 0 0 0 0 1 1
1 0 1 1 11 0 0 0 1 1 0 1
1 1 0 0 12 0 0 0 0 0 0 0
1 1 0 1 13 0 0 0 1 1 0 1
1 1 1 0 14 0 0 0 0 0 0 0
1 1 1 1 15 0 0 0 1 1 0 1
SECOND SEGMENT DISPLAY:

A B C D E F G
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 1 1 0 0 0 0 0 0 0
0 0 1 0 2 0 0 1 0 1 0 1
0 0 1 1 3 0 0 1 0 0 0 0
0 1 0 0 4 0 0 0 0 1 0 1
0 1 0 1 5 0 0 0 1 1 0 1
0 1 1 0 6 0 0 0 0 0 0 0
0 1 1 1 7 0 0 0 0 0 0 0
1 0 0 0 8 0 0 0 0 0 0 0
1 0 0 1 9 0 0 0 0 0 0 0
1 0 1 0 10 1 0 0 0 0 1 0
1 0 1 1 11 0 0 0 0 1 0 1
1 1 0 0 12 0 0 0 0 0 0 0
1 1 0 1 13 0 0 0 0 1 0 1
1 1 1 0 14 0 0 0 0 0 0 0
1 1 1 1 15 0 0 0 0 1 0 1
THIRD SEGMENT DISPLAY:

A B C D E F G
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 1 1 0 0 0 0 0 0 0
0 0 1 0 2 0 0 0 0 0 0 0
0 0 1 1 3 0 0 1 0 1 0 1
0 1 0 0 4 0 0 1 0 0 0 0
0 1 0 1 5 0 0 0 0 1 0 1
0 1 1 0 6 0 0 0 1 1 0 1
0 1 1 1 7 0 0 0 0 0 0 0
1 0 0 0 8 0 0 0 0 0 0 0
1 0 0 1 9 0 0 0 0 0 0 0
1 0 1 0 10 0 1 0 0 0 0 0
1 0 1 1 11 0 0 1 0 0 0 0
1 1 0 0 12 0 0 0 0 0 0 0
1 1 0 1 13 0 0 1 0 0 0 0
1 1 1 0 14 0 0 0 0 0 0 0
1 1 1 1 15 0 0 1 0 0 0 0
FOURTH SEGMENT DISPLAY:

A B C D E F G
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 1 1 0 0 0 0 0 0 0
0 0 1 0 2 0 0 0 0 0 0 0
0 0 1 1 3 0 0 0 0 0 0 0
0 1 0 0 4 0 0 1 0 1 0 1
0 1 0 1 5 0 0 1 0 0 0 0
0 1 1 0 6 0 0 0 0 1 0 1
0 1 1 1 7 0 0 0 1 1 0 1
1 0 0 0 8 0 0 0 0 0 0 0
1 0 0 1 9 0 0 0 0 0 0 0
1 0 1 0 10 1 1 0 0 0 1 0
1 0 1 1 11 0 0 1 0 1 0 1
1 1 0 0 12 0 0 0 0 0 0 0
1 1 0 1 13 0 0 1 0 1 0 1
1 1 1 0 14 0 0 0 0 0 0 0
1 1 1 1 15 0 0 1 0 1 0 1
NI Multisim Design Simulation
Actual Design Circuit
Recommendation

In this project, I would first recommend to purchase materials with good quality and brand-new

materials as it would greatly affect the output of the project. Another recommendation is to choose

good brand for the TTL IC components because as I went through troubleshooting, some of the IC

components started to malfunction which caused me to buy another set of components. Lastly, for

future projects, it must be taken into account to observe and know the basics.

Video Link

https://youtu.be/YkWugpw_qXA

You might also like