Professional Documents
Culture Documents
D.1.9.4 Encoders
D.1.9.4 Encoders
Gunter Schillebeeckx
2010-02-09
Encoders
1 Inleiding 2 Decimaal naar binair encoder 3 Decimaal naar binair encoder met ingebouwde prioriteit 4 Encoder ics 5 Toepassingen 6 Multiplexer versus encoder 2010-02-09 Encoders
1 Inleiding
2010-02-09
Encoders
alfanumerieke code
encoder 2010-02-09
2010-02-09
Encoders
0 1 2 3
alfanumerieke code
interface 2010-02-09
2010-02-09
Encoders
actief hoog
S9
R = 270 R = 1 k
actief laag
uit 0 = 8+9
S9
uit 0
S8 S7 S6 S5 S4 S3 S2 S1 S0
uit 1 = 4+5+6+7
...
uit 2 = 2+3+6+7
uit 3 = 1+3+5+7+9
S8 S7 S6 S5 S4 S3 S2 S1 S0
uit 1
...
uit 2
uit 3
2010-02-09
Encoders
0011 0111
0111
2010-02-09 Encoders
10
0001 uit 3 = 1 als S1 gedrukt als S2, S3, S4, S5, S6, S7, S8, S9, niet gedrukt Voor elk van de schakelaars hebben we complexe schakeling
Highest Priority
actief laag
1 2 3 4 5 6 7 8 9
HPRI/BCD
BCD
A B C D
actief laag
Encoders
11
HPRI/BCD
BCD
encoder 74xx147
A B C D
actief laag
Ingang 0 ontbreekt. Als alle ingangen hoog zijn, worden alle uitgangen hoog.
= 1..9 passief = 0000
2010-02-09
Encoders
12
2010-02-09
Encoders
13
4 encoder ics
2010-02-09
Encoders
14
encoder ics type encoder 4-to-2 encoder 4-to-2 priority encoder 8-to-3 encoder 8-to-3 priority encoder 16-to-4 encoder 16-to-4 priority encoder 10-to-4 priority encoder 2010-02-09 74xx348 74xx148/748/848 cascade cascade 74xx147 Encoders ic
15
5 Toepassingen
2010-02-09
Encoders
16
Toepassing: toetsenbord
OF 7 datalijnen?
7
oplossing: encoder met 104 ingangen ==> 7-bit ASCII-code 2010-02-09 Encoders
17
2010-02-09
Encoders
18
2010-02-09
Encoders
19
2010-02-09
Encoders
20
2010-02-09
Encoders
21
multiplexer
1-bit uitgang
2/4/8-bit uitgang
2010-02-09
Encoders
22