Download presentation
Published byMaia Sherman Modified over 9 years ago
1
System Digital Encoder, Decoder, and Contoh Penerapanya
2
Encoder/Decoder Vocabulary
ENCODER- a digital circuit that produces a binary output code depending on which of its inputs are activated. DECODER- a digital circuit that converts an input binary code into a single numeric output.
3
ENCODERS AND DECODERS Hanya Satu masukan yang aktif pada satu waktu
Masukan berupa kode biner Keluaran berupa kode biner Hanya satu keluaran yang aktif pada satu waktu
4
The truth table of 2-to-4 Decoder
5
2-to-4 Decoder
6
2-to-4 Decoder
7
The truth table of 3-to-8 Decoder
1
8
3-to-8 Decoder
9
3-to-8 Decoder with Enable
10
2-to-4 Decoder: NAND implementation
Decoder is enabled when E=0 and an output is active if it is 0
11
2-4 Decoder with 2-input and Enable
12
Decoder Expansion Decoder expansion
Combine two or more small decoders with enable inputs to form a larger decoder 3-to-8-line decoder constructed from two 2-to-4-line decoders The MSB is connected to the enable inputs if A2=0, upper is enabled; if A2=1, lower is enabled.
13
Decoder Expansion
14
Combining two 2-4 decoders to form one 3-8 decoder using enable switch
The highest bit is used for the enables
15
THE 8421 BCD CODE Decimal number 4926 4 9 2 6
BCD stands for Binary-Coded Decimal. A BCD number is a four-bit binary group that represents one of the ten decimal digits 0 through 9. Example: Decimal number 8421 BCD coded number
16
ELECTRONIC ENCODER - DECIMAL TO BCD
BCD output Decimal input Decimal to BCD Encoder 3 7 5 Encoders are available in IC form. This encoder translates from decimal input to BCD output.
17
10 line to 4 line Encoder
19
10 line to 4 line Encoder
21
4 line to 10 line Decoder
22
7-SEGMENT DECODER/DRIVER
DECODERS: BCD TO 7-SEGMENT DECODER/DRIVER BCD input Decimal output LED BCD-to- 7-Segment Decoder/ Driver Electronic decoders are available in IC form. This decoder translates from BCD to decimal. Decimals are shown on an 7-segment LED display. This IC also drives the 7-segment LED display.
23
? TEST Q #1- What is the decimal output from the decoder that
appears on the 7-segment display? Q #4- What is the decimal output from the decoder that appears on the 7-segment display? Q #3- What is the decimal output from the decoder that appears on the 7-segment display? Q #5- What is the decimal output from the decoder that appears on the 7-segment display? Q #2- What is the decimal output from the decoder that appears on the 7-segment display? Answer: 9 Answer: 7 Answer: 6 Answer: 0 Answer: 3 BCD input Decimal output BCD-to- 7-Segment Decoder/ Driver ?
26
TEST
27
TEST
28
TEST ANSWER THE FOLLOWING QUESTIONS WITH ONE OR MORE OF THESE WORDS: MUX, DEMUX, ENCODER, DECODER. A. Has more inputs than outputs. ENCODER, MUX B. Uses select inputs. MUX, DEMUX C. Can be used in parallel-to-serial conversion. MUX D. Produces a binary code at its output. ENCODER E. Only one of its outputs is activated at one time. DEMUX, DECODER F. Used to route input signals to one of several outputs. MUX G. Used to generate arbitrary logic functions. MUX, DEMUX H. 3 line-to-8 line or binary to octal. DECODER I. Data Selectors are also MUX.
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.