You are on page 1of 12

Technological Institute of the Philippines

Electronics Engineering Department

8-Segment LED Pseudo-Facial Expression


Circuit
Final Project

Ö
OBJECTIVES:
1. Fill the truth table of the circuit based on a 3-to-8
decoder.
2. Solve for the Karnaugh Map of the circuit.
3. Design the circuit using the logics gates that correspond
to the Boolean Expression from the K-map of the circuit.

Course Code/Section: ECE 013/EC22A1


Group No.:
Members: Signatur Interpretation of Conclusi Overall
Data and Results on
e Lab
Grade

Alulod, Daniel Psalm M.


Austria, Mark Justin D.
Camacho, Albert N.
De Leon, Manolo E.
Magcale, John Ronald
M.
Data and Results Group Grade:
Question and AnswerGroup Grade:

Engr. Dennis Jefferson A. Amora


Instructor

Date Submitted: March 23, 2020


The Problem

An 8-segment LED display is to be configured to display the pseudo-facial


expressions below. Fill in the truth table so that each of the expressions
can be displayed when the corresponding input values are applied to A , B,
C. Design and give the decoder circuit.
Truth Table and K-map

A B C D0 D1 D2 D3 D4 D5 D6 D7
0 0 0 1 1 1 1 0 1 1 0
0 0 1 1 1 1 0 1 1 0 1
0 1 0 1 1 1 0 0 1 0 0
0 1 1 1 0 1 1 0 1 1 0
1 0 0 0 0 1 0 0 1 0 0
Table 1. Truth Table of the Circuit

Karnaugh Map

Output: D0 Output: D4

B́ Ć B́C BC B Ć B́ Ć B́C BC B Ć
Á 1 1 1 1 Á 0 1 0 0
A 0 X X X A 0 X X X

D 0= Á D 4= B́ C

Output: D1 Output: D5

B́ Ć B́C BC B Ć B́ Ć B́C BC B Ć
Á 1 1 0 1 Á 1 1 1 1
A 0 X X X A 1 X X X

D 1= Á B́+ Á Ć D 5=1

Output: D2 Output: D6

B́ Ć B́C BC B Ć B́ Ć B́C BC B Ć
Á 1 1 1 1 Á 1 0 1 0
A 1 X X X A 0 X X X

D 2=1 D 6= Á B́ Ć+ BC

Output: D3 Output: D7

B́ Ć B́C BC B Ć B́ Ć B́C BC B Ć
Á 1 0 1 0 Á 0 1 0 0
A 0 X X X A 0 X X X

D 3= Á B́ Ć+ BC D 7= B́ C
Circuit Design in Simulator

Figure 1. Decoder Circuit Design


Results

Smile (A=0, B=0, C=0)

Frown(A=0, B=0, C=1)


Wink (A=0, B=1, C=1)

Calm (A=0, B=1, C=0)


Asleep (A=1, B=0, C=0)
Task Distribution

MEMBERS TASKS PERFORMED DATE


FINISHED
Alulod, Daniel  Circuit Design March 22,
Psalm M.  Lab Format 2020
Austria, Mark  K-Map March 21,
Justin D. 2020
Camacho, Albert  Truth Table March 21,
N. 2020
De Leon, Manolo  Truth Table March 21,
E. 2020
Magcale, John  K-Map
Ronald M. March 21,
2020
Individual Reflection (Alulod, Daniel Psalm M.)

By definition, a decoder is a device or program that translates encoded


data into another format. It could be a circuit that changes a code into a set
of signals. It is called a decoder because is does the reverse of encoding. The
given problem in the project was about translating inputs from A, B, C input
pseudo-facial expression through an 8-segment decoder. The LEDs in the
circuit are placed to make it look like a face of a human being. The main
mechanism or trick in the circuit is that certain codes make the face change
its expression. This makes it different from the 3-to-8-line decoder because
the latter changes binary coded digit into line with corresponding values.
This circuit, instead does a specific facial expression to a specific code which
makes it a sort of code to facial expression decoder.

Based on the results of the truth table and k-mapping of the circuit, D2
and D5 does not need any logic gate connection because based on the facial
expression they are always ON no matter what expression the circuit is
supposed to output. So, the 2 LEDs are simply connected to the VCC. For D3
and D6 they use 2 AND gates and one OR gate. They are the same because
the face circuit is symmetrical. For D0, it only has one inverter connected to
the A input. For D4 and D7 being symmetrical they have the same circuit
which is just one AND gate connected from the C and inverted B inputs.
Lastly, for D1, its circuit includes 2 AND gates with both input having an
inverted A and the others being C and B which is then connected to an OR
gate. Overall, the project was simple and only needed analysis in the circuit
design.
Individual Reflection (Magcale, John Ronald M.)

For this finals project, we were tasked to display a pseudo-facial


expressions consisting of 3 binary inputs (0 and 1) to light up 8 LEDs
depending on the combination desired which can display an imitation an
facial expression of a human being. There are five combinations which are
needed to be resembled through our own simulations. This concept comes
from the idea of a decoder, As defined, a decoder is a combinational circuit
that converts binary information from n input lines to a maximum of
2^raised to n unique output lines. It is called a combinational circuit for the
reason that the output is dependent at all times on the combination of its
inputs. Thus, a combinational circuit is memoryless, which makes this project
quite distinct.

For the process, we have first observed what are the outputs being
shown to make the five facial expressions possible, which are presented
below.

Afterwards, Karnaugh-Mapping (K-mapping) is done in order to reduce the


need for extensive calculations and to permit the rapid identification and
elimination of unnecessary values. After the process, we have found out that
2 LEDs are automatically on no matter what 3 binary input combinations are
given, which are diodes 2 and 5 (D2 & D5), which had led to them being
automatically connected to the VCC. There are also four diodes which the k-
map had ensured that they have the same logic, which are D3 & D6, and D4
& D7.

After doing k-mapping, we have taken in consideration the fact that in


decoders, inverters & AND gates are mainly used and may sometimes
require the presence of an OR gate which in our circuit, are present. After
our leader is done creating the circuit, we have now returned to the basic
truth table we created earlier and one by one tested each 3 binary inputs to
show five different facial expressions. When all inputs are off, it presented a
smile and if only input A is off, it presented a wink. When input A is the only
one on, it presented an ‘asleep expression. Calm when only B is on and
frown when only C is on. In short, it showed us well what the importance of
the basics are, which are the truth table and k-mapping. Knowledge about
decoders and many more follows.
In doing this experiment, to reiterate, I realized the importance of the
basics, we came back to it to recheck whether we did it correctly. Through
through analysis of what problem is presented to us, we have successfully
done the project with minimal problems encountered.

Individual Reflection (DeLeon, Manolo E.)

As part of ECE 013, Digital Logics 1: Logic Circuits and Switching


Theory, the class were assigned a task to simulate a circuit that could exhibit
a pseudo-facial expression, specifically, a Smiley face, using Digital Logic
Gates. The truth table and the K-Mapping of the task that were handed was
already given as a quiz earlier, that is why the class already had an idea on
how to design the assigned project. The group Leader was able to design the
given project using the simulator software ‘Circuit Wizard.’

The circuit consists of a combinational circuit decoder that is inputted


by three input (A, B, and C). Through this, the decoder can power or
translate its code to power the LED where its output is assigned to. In this
case, we have 8 (0, 1, 2, 3, 4, 5, 6, and 7).

After building the circuit through the truth table and through Karnaugh
Mapping, we came up by outputs that is shown in the image presented
below,

Through this Project I was able to further improve my knowledge in


understanding the concepts and applications of different Logic Gates. I
learned about how a combinational circuit can work together collaboratively
to create something that could display different forms of expressions through
Logic gates and Light Emitting Diodes. With the given components, the group
were able to successfully display a Smiley Face Expression.
Individual Reflection (Camacho, Albert N.)
In this project we were assigned to display a pseudo-facial expressions
that consist of 3 binary inputs to light up 8 LEDs which can display the
assigned imitation of a facial expression of a human to us which are the
smile, frown, wink, calm and lastly is asleep. The objective of this project is
to fill the truth table of the circuit based on a 3-to-8 decoder, solve for the
Karnaugh Map of the circuit. And lastly is to design the circuit using the
logics gates that correspond to the Boolean Expression from the K-map of
the circuit.

Every facial expression has a different combinational code that’s


why decoder plays a big role in this project. To define what the decoder is ,
The Decoder means to translate or decode coded information from one format into
another. So a digital decoder transforms a set of digital input signals into an
equivalent decimal code at its output. A decoder is a combinational circuit that
converts binary information from n input lines to a maximum of 2 raised to n
unique output lines.

For me, this experiment helps me to improve my knowledge in


understanding the problem that is given to us and analyzing the circuit
design of it. As to reflect from this project, I realized the importance of the
lesson that we learned from the previous class inside the classroom.
Especially the different kind of the logic gates and the different use of it. And
also the Karnaugh-Mapping or K-mapping. Because without the knowledge
on this, doing this project will be very difficult to us.

You might also like