You are on page 1of 14

1

MODUL PERKULIAHAN

PERANCANGAN
BERBASIS
MIROPORSESSOR

Microcontroller
BCD to 7 Segment Decoder

Abstrak Sub-CPMK (lihat di RPS)

Diisi dengan deskripsi pokok Sub-CPMK X.X


bahasan dari setiap modul Kemampuan akhir yang direncanakan
pertemuan (minggu) yang dari setiap modul pertemuan (minggu)
mengacu kepada capaian untuk memenuhi CPMK dan CPL
Sub-CPMK

Fakultas Program Studi Tatap Muka Disusun Oleh

09
Zendi Iklima, M.Sc
Fakultas Teknik Teknik Elektro
7 Segment Display
Seven segment display is an electronic device which consists of seven Light Emitting
Diodes (LEDs) arranged in a some definite pattern (common cathode or common anode
type), which is used to display Hexadecimal numerals(in this case decimal numbers, as
input is BCD i.e., 0-9). Seven-segment displays are widely used in digital clocks, electronic
meters and other electronic devices that display numerical information.
A standard 7-segment LED display generally has eight (8) input connections, one for each
LED segment and one that acts as a common terminal or connection for all the internal
display segments. Some single displays have also have an additional input pin to display a
decimal point in their lower right or left hand corner.

Text
Text

Two types of seven segment LED display:

2021 Pengantar Ilmu Bahan


2 Zendi Iklima, M.Sc
Biro Bahan Ajar E-learning dan MKCU
http://pbael.mercubuana.ac.id/
Common Cathode Type: In this type of display all cathodes of the seven LEDs are
connected together to the ground or –Vcc (hence, common cathode) and LED displays
digits when some ‘HIGH’ signal is supplied to the individual anodes.

Two types of seven segment LED display:


Common Anode Type: In this type of display all the anodes of the seven LEDs are
connected to battery or +Vcc and LED displays digits when some ‘LOW’ signal is supplied
to the individual cathodes.

BCD to 7 Segment Display


A Digital Decoder IC, is a device which converts one digital format into another and
one of the most commonly used devices for doing this is called the Binary Coded Decimal
(BCD) to 7-Segment Display Decoder.
Typically 7-segment displays consist of seven individual coloured LED’s (called the
segments), within one single display package. In order to produce the required numbers or
HEX characters from 0 to 9 and A to F respectively, on the display the correct combination
of LED segments need to be illuminated and BCD to 7-segment Display Decoders such as
the 74LS47, 74LS48, CD4511, etc do just that.
A BCD to Seven Segment decoder is a combinational logic circuit that accepts a
decimal digit in BCD (input) and generates appropriate outputs for the segments to display
the input decimal digit.
This BCD to seven segment decoder has four input lines (A, B, C and D) and 7
output lines (a, b, c, d, e, f and g), this output is given to seven segment LED display which
displays the decimal number depending upon inputs.

CD4511
LSHD-A103

2021 Pengantar Ilmu Bahan


3 Zendi Iklima, M.Sc
Biro Bahan Ajar E-learning dan MKCU
http://pbael.mercubuana.ac.id/
BCD to 7 Segment Truth Table

Working of 7-Segment Display (LED & LCD) Circuit


7 LED segments of the display and their pins are “a”, “b”, “c”, “d”, “e”,
“f” & “g” as shown in the figure given below. Each of the pins will
illuminate the specific segment only.
Suppose we want to display digit ‘0’, in order to display 0, we need to
turn on “a”, “b”, “c”, “d”, “e”, “f”. & turn-off the “g”. which would look like
the figure given below.
7-Segment Display Segments for all Numbers
Display combination of decimal numbers is given below.
Digit 1: to display the digit 1 we need to turn on the segments b, c. and turn off
the LED segments a, d, e, f, and g. This configuration will result in the display
as shown in the figure below.
Display combination of decimal numbers is given below.
Digit 2: to display the digit 2 we need to turn on the segments a, b, d, e, g. and
turn off the LED segments c, f. This configuration will result in the display as
shown in the figure below.
Display combination of decimal numbers is given below.
Digit 3: to display the digit 3 we need to turn on the segments a, b, c, d, g.
and turn off the LED segments e, f. This configuration will result in the
display as shown in the figure below.
Display combination of decimal numbers is given below.
Digit 4: to display the digit 4 we need to turn on the segments b, c, f, g. and
turn off the LED segments a, d, e. This configuration will result in the display
as shown in the figure below.
Display combination of decimal numbers is given below.
Digit 5: to display the digit 5 we need to turn on the segments a, c, d, f, g.
and turn off the LED segments b, e. This configuration will result in the
display as shown in the figure below.
Display combination of decimal numbers is given below.
Digit 6: to display the digit 6 we need to turn on the segments a, c, d, e, f, g.
and turn off the LED segments b. This configuration will result in the display as
shown in the figure below.

2021 Pengantar Ilmu Bahan


4 Zendi Iklima, M.Sc
Biro Bahan Ajar E-learning dan MKCU
http://pbael.mercubuana.ac.id/
7-Segment Display Segments for all Numbers
Display combination of decimal numbers is given below.
Digit 7: to display the digit 7 we need to turn on the segments a, b, c. and
turn off the LED segments d, e, f, g. This configuration will result in the
display as shown in the figure below.
Display combination of decimal numbers is given below.
Digit 8: to display the digit 8 we need to turn on the segments a, b, c, d, e, g
only. This configuration will result in the display as shown in the figure below.
Display combination of decimal numbers is given below.
Digit 9: to display the digit 2 we need to turn on the segments a, b, c, d, f,
g. and turn off the LED segments e. This configuration will result in the
display as shown in the figure below.

BCD to 7 Segment Truth Table


Truth Table – For common cathode type BCD to seven segment decoder:

• Note
• For Common Anode type seven segment LED display, we only have to
interchange all ‘0s’ and ‘1s’ in the output side i.e., (for a, b, c, d, e, f, and g replace
all ‘1’ by ‘0’ and vice versa) and solve using K-map.
• Output for first combination of inputs (A, B, C and D) in Truth Table corresponds to
‘0’ and last combination corresponds to ‘9’. Similarly rest corresponds from 2 to 8
from top to bottom.

2021 Pengantar Ilmu Bahan


5 Zendi Iklima, M.Sc
Biro Bahan Ajar E-learning dan MKCU
http://pbael.mercubuana.ac.id/
• BCD numbers only range from 0 to 9,thus rest inputs from 10-F are invalid inputs.

Truth Table – For common Anode type BCD to seven segment decoder:

BCD to 7 Segment K-MAP


Karnaugh Maps (K-MAP) Simplification
For other combinations of input, the output is “don’t care X” as there are no more digits to
display. We will derive the expression for each output using Karnaugh map (K-MAP).

2021 Pengantar Ilmu Bahan


6 Zendi Iklima, M.Sc
Biro Bahan Ajar E-learning dan MKCU
http://pbael.mercubuana.ac.id/
2021 Pengantar Ilmu Bahan
7 Zendi Iklima, M.Sc
Biro Bahan Ajar E-learning dan MKCU
http://pbael.mercubuana.ac.id/
CD4511 Logic Diagram

74LS74 Logic Diagram

2021 Pengantar Ilmu Bahan


8 Zendi Iklima, M.Sc
Biro Bahan Ajar E-learning dan MKCU
http://pbael.mercubuana.ac.id/
74LS74 Truth Table

74LS74 Simple Use

2021 Pengantar Ilmu Bahan


9 Zendi Iklima, M.Sc
Biro Bahan Ajar E-learning dan MKCU
http://pbael.mercubuana.ac.id/
TinkerCad

Simulasi dengan tinkercad

2021 Pengantar Ilmu Bahan


10 Zendi Iklima, M.Sc
Biro Bahan Ajar E-learning dan MKCU
http://pbael.mercubuana.ac.id/
CD4511 Simple Use

2021 Pengantar Ilmu Bahan


11 Zendi Iklima, M.Sc
Biro Bahan Ajar E-learning dan MKCU
http://pbael.mercubuana.ac.id/
Tugas Forum
Silahkan membuat simulasi Counter menggunakan TinkerCad / Proteus. Counter akan
bertambah jika push button di ditekan dan akan kembali 0 jika mencapai 99. Komponen
yang digunakan sebagai berikut:
• Arduio UNO
• IC Decoder CD4511 / 74LS47 / 74LS48
• 7 Segment Common Anode / Cathode
• Push button
• Etc

>> Jawaban dalam bentuk URL Youtube kemudian URL tersebut di submit via POST-FT.
Didalam video harus terdapat NAMA dan NIM. Video dibuat dari awal membuka aplikasi
TinkerCad / Proteus (workspace awal / bukan yang sudah jadi). Jika ditemukan project
dalam video sudah jadi maka tidak terhitung nilai dan absen. MOHON JANGAN SHARE
PROJECT 1 SAMA LAIN!!

2021 Pengantar Ilmu Bahan


12 Zendi Iklima, M.Sc
Biro Bahan Ajar E-learning dan MKCU
http://pbael.mercubuana.ac.id/
Tugas Forum

2021 Pengantar Ilmu Bahan


13 Zendi Iklima, M.Sc
Biro Bahan Ajar E-learning dan MKCU
http://pbael.mercubuana.ac.id/
Daftar Pustaka
• Charles M. Gilmore, “Microprocessor : Principles and Application”, Glencoe/Mc.Graw-
Hill, 2nd International Editions, 1998.
• John Crisp,(2004),Introduction Microprocessors and Microcontrollers (2nd Edition),an
imprint of Elsevier, ISBN: 0-7506-5989-0.
• Lance A. Leventhal, “Introduction to Microprocessors : Software, Programming”,
Prentice Hall, 1998
• Barry B. Brey, “Microprocessors and Peripherals : Hardware, Software, Interfacing, and
Applications”, Merrill Publishing Company 1998.
• Charles M. Gilmore, “Microprocessor : Principles and Application”, Glencoe/Mc.Graw-
Hill, 2nd International Editions, 1998.
• John Crisp,(2004),Introduction Microprocessors and Microcontrollers (2nd Edition),an
imprint of Elsevier, ISBN: 0-7506-5989-0.
• Lance A. Leventhal, “Introduction to Microprocessors : Software, Programming”,
Prentice Hall, 1998
• Barry B. Brey, “Microprocessors and Peripherals : Hardware, Software, Interfacing, and
Applications”, Merrill Publishing Company 1998.

2021 Pengantar Ilmu Bahan


14 Zendi Iklima, M.Sc
Biro Bahan Ajar E-learning dan MKCU
http://pbael.mercubuana.ac.id/

You might also like