Presentation is loading. Please wait.

Presentation is loading. Please wait.

System Digital Encoder, Decoder, and Contoh Penerapanya.

Similar presentations


Presentation on theme: "System Digital Encoder, Decoder, and Contoh Penerapanya."— Presentation transcript:

1

2 System Digital Encoder, Decoder, and Contoh Penerapanya

3 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.

4 ENCODERS AND DECODERS Hanya Satu masukan yang aktif pada satu waktu Keluaran berupa kode biner Masukan berupa kode biner Hanya satu keluaran yang aktif pada satu waktu

5 The truth table of 2-to-4 Decoder

6 2-to-4 Decoder

7

8 The truth table of 3-to-8 Decoder A2A1A0D0D1D2D3D4D5D6D

9 3-to-8 Decoder

10 3-to-8 Decoder with Enable

11 2-to-4 Decoder: NAND implementation Decoder is enabled when E=0 and an output is active if it is 0

12 2-4 Decoder with 2-input and Enable

13 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 A 2 =0, upper is enabled; if A 2 =1, lower is enabled.

14 Decoder Expansion

15 Combining two 2-4 decoders to form one 3-8 decoder using enable switch The highest bit is used for the enables

16 THE 8421 BCD CODE 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 BCD coded number

17 ELECTRONIC ENCODER - DECIMAL TO BCD 0 Decimal to BCD Encoder BCD output Decimal input Encoders are available in IC form. This encoder translates from decimal input to BCD output.

18 10 line to 4 line Encoder

19

20

21

22 4 line to 10 line Decoder

23 BCD-to- 7-Segment Decoder/ Driver DECODERS: BCD TO 7-SEGMENT DECODER/DRIVER BCD input 0 0 Decimal output LED 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.

24 BCD-to- 7-Segment Decoder/ Driver BCD input Decimal output ? Q #1- What is the decimal output from the decoder that appears on the 7-segment display? Answer: 3 Q #2- What is the decimal output from the decoder that appears on the 7-segment display? 0 0 Answer: 0 Q #3- What is the decimal output from the decoder that appears on the 7-segment display? Answer: 9 Q #4- What is the decimal output from the decoder that appears on the 7-segment display? Answer: Q #5- What is the decimal output from the decoder that appears on the 7-segment display? Answer: TES T

25

26

27

28

29 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 alsoMUX.


Download ppt "System Digital Encoder, Decoder, and Contoh Penerapanya."

Similar presentations


Ads by Google