System Digital Encoder, Decoder, and Contoh Penerapanya
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.
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
The truth table of 2-to-4 Decoder
2-to-4 Decoder
2-to-4 Decoder
The truth table of 3-to-8 Decoder 1
3-to-8 Decoder
3-to-8 Decoder with Enable
2-to-4 Decoder: NAND implementation Decoder is enabled when E=0 and an output is active if it is 0
2-4 Decoder with 2-input and Enable
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.
Decoder Expansion
Combining two 2-4 decoders to form one 3-8 decoder using enable switch The highest bit is used for the enables
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 4926 4 9 2 6 8421 BCD coded number 0100 1001 0010 0110
ELECTRONIC ENCODER - DECIMAL TO BCD BCD output Decimal input 0 1 1 1 0 1 0 1 0 0 1 1 0 0 0 0 Decimal to BCD Encoder 3 7 5 Encoders are available in IC form. This encoder translates from decimal input to BCD output.
10 line to 4 line Encoder
10 line to 4 line Encoder
4 line to 10 line Decoder
7-SEGMENT DECODER/DRIVER DECODERS: BCD TO 7-SEGMENT DECODER/DRIVER BCD input Decimal output LED 0 0 1 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 1 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.
? 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 0 1 1 1 1 0 0 1 0 0 0 0 0 1 1 0 0 0 1 1 BCD-to- 7-Segment Decoder/ Driver ?
TEST
TEST
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.