Elektronika dan Instrumentasi: Elektronika Digital 3...

Post on 09-Mar-2019

386 views 16 download

Transcript of Elektronika dan Instrumentasi: Elektronika Digital 3...

Elektronika dan Instrumentasi:

Elektronika Digital 3 –

Enkoder, Dekoder, 7 segment

Yusron Sugiarto

Materi Kuliah

Dekoder dan Enkoder

A0

A1

A2

A3

A4

A5

A6

A7

ENCODER

O0

O1

O2

A0

A1

A2

O0

O1

O2

O3

O4

O5

O6

O7

DECODER

ONLY ONE INPUT

ACTIVATED AT A TIME

BINARY CODE OUTPUT

BINARY CODE INPUT

ONLY ONE OUTPUT

ACTIVATED AT A TIME

Enkoder Binary

ELECTRONIC ENCODER - DECIMAL

TO BCD

0

Decimal

to

BCD

Encoder

BCD output

Decimal input 0 0 0 0

5

0 1 0 1

7

0 1 1 1

3

0 0 1 1

• Encoders are available in IC form.

• This encoder translates from

decimal input to BCD output.

10 line to 4 line Encoder

ENCODER

1248

DECIMAL BINARY (BCD)

9 5V

8 5V

7 5V

6 5V

5 5V

4 5V

3 5V

2 5V

1 5V

74147I9I8I7I6I5I4I3I2I1

A0A1A2A3

10 line to 4 line Encoder

Binary Dekoding Dekoder adalah suatu rangkaian logika yang memiliki sedikit masukan dan banyak keluaran.

1 to 2 Dekoder

2 to 4 Dekoder

Rangkaian 2 to 4 Dekoder

3 to 8 Dekoder

Rangkaian 3 to 8 Dekoder

0

1

2

3

4

5

6

7

8

9

DECODER

BINARY (BCD)

DECIMAL

1 0V

2 0V

4 0V

8 0V

74LS42

A3A2A1A0

9876543210

4 line to 10 line Decoder

BCD-to-

7-Segment

Decoder/

Driver

DECODERS: BCD TO 7-SEGMENT

DECODER/DRIVER BCD input

0 0 0 0

Decimal output LED

0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0

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

BCD-to-

7-Segment

Decoder/

Driver

BCD input Decimal output

0 0 1 1

?

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 0 0

Answer: 0

Q #3- What is the decimal output from the decoder that appears on the 7-segment display?

1 0 0 1

Answer: 9

Q #4- What is the decimal output from the decoder that appears on the 7-segment display?

Answer: 7

0 1 1 1

Q #5- What is the decimal output from the decoder that appears on the 7-segment display?

Answer: 6

0 1 1 0

TEST

BCD-TO-SEVEN SEGMENT DECODER DRIVER

5V

abcdef g .

V+

74LS47A3A2A1A0

testRBI

gfedcba

RBO

7-segmen display

Rangkaian Pengubah kode BCD ke LED 7-segmen

Thankyou