Encoder
In an encoder, we have to give a 2n input line and from this, we will get n output line.Know about the decoders in Digital electronics.
8 to 3 line encoder
In every situation in this table, we see only a single output 1, and others are 0. For 8 line input, we get 3 line outputs.
Encoder table
Inputs | Outputs | |||||||||
Q₀ | Q₁ | Q₂ | Q₃ | Q₄ | Q₅ | Q₆ | Q₇ | A | B | C |
1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 |
0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 |
0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 |
0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 |
- A = Q₄+Q₅+Q₆+Q₇
- B = Q₂+Q₃+Q₆+Q₇
- C = Q₁+Q₃+Q₅+Q₇
Use of encoder
- Can covert Alphanumeric letters to BCD, ASCII, and UNICODE, etc
- In controlling the IRQ( Interrupt Request ) in the microprocessor
- In robotics
0 Comments