Sie sind auf Seite 1von 7

11/26/2016 Keyboard Encoder | Electrical4u

MENU
Keyboard Encoder
« Previous Next »

A  keyboard  encoder  is  basically  decimal  to  8­4­2­1  BCD  encoder.The  truth  table  for  decimal  to  BCD  conversion  can  be  represented  like  as 
follows,

From the above truth table it is cleared that, the logical circuit of this keyboard encoder must have 10 input parts (0 to 9) and four output parts. A, 
B, C and D.

The circuit can be drawn by using diode and SR flip flops like this 

http://www.electrical4u.com/keyboard­encoder/ 1/7
11/26/2016 Keyboard Encoder | Electrical4u

http://www.electrical4u.com/keyboard­encoder/ 2/7
11/26/2016 Keyboard Encoder | Electrical4u

A keyboard encoder is employing a diode matrix. 
Here, the SR flip flops are used to store the BCD output when once any of the key (0 to 9) is pressed on the actual keyboard. 
In the circuit the Vcc line of any decimal digit is connected to either S (SET) or R (RESET) input of each flip flop depending upon the BCD equivalent 
of the said digit. If any key is pressed, flip flops corresponding to the BCD equivalent of the corresponding digit of the key, are SET and RESET 
depending upon the digit. Suppose 9 is pressed, the Vcc line of 9 is connected to S input of flip flop B and C, through diodes. Hence, flip flop A and
D give high output and B and C gives low output. The output of the circuit will become 1001 and from truth table, it is the BCD equivalent of 9. 
Now suppose key 7 is pressed, then only A is set and B, C and D are reset and the output becomes 1000 which is BCD equivalent of 7. Again when 
no key is pressed, both R and S are connected to earth with a resistance, hence both S and R will have 0 value so there will be no change flip flop 
state, hence output of the previously pressed key will remain in the key board encoder unless the next key is pressed.

« Previous Next »

Closely Related Articles

Binary Number System | Binary to Decimal and Decimal to Binary Conversion

Binary to Decimal and Decimal to Binary Conversion

BCD or Binary Coded Decimal | BCD Conversion Addition Subtraction

Binary to Octal and Octal to Binary Conversion

Octal to Decimal and Decimal to Octal Conversion

Binary to Hexadecimal and Hex to Binary Conversion

Hexadecimal to Decimal and Decimal to Hexadecimal Conversion

http://www.electrical4u.com/keyboard­encoder/ 3/7
11/26/2016 Keyboard Encoder | Electrical4u

Gray Code | Binary to Gray Code and that to Binary Conversion

Octal Number System

Digital Logic Gates

2′s Complement

1′s Complement

ASCII Code

Hamming Code

2s Complement Arithmetic

Error Detection and Correction Codes

9s complement and 10s complement | Subtraction

Some Common Applications of Logic Gates

Alphanumeric codes | ASCII code | EBCDIC code | UNICODE

More Related Articles

Digital Electronics

Boolean Algebra Theorems and Laws of Boolean Algebra

Switching Algebra or Boolean Algebra

De Morgan Theorem and Demorgans Laws

Truth Tables for Digital Logic

Binary Arithmetic

Binary Addition

Binary Subtraction

Binary Multiplication

Simplifying Boolean Expression using K Map

Binary Division

Excess 3 Code Addition and Subtraction

K Map or Karnaugh Map

Binary Adder Half and Full Adder

Binary Substractor

Seven Segment Display

Binary to Gray Code Converter and Grey to Binary Code Converter

Binary to BCD Code Converter

BCD to Seven Segment Decoder

Digital Encoder or Binary Encoder

Binary Decoder

Basic Digital Counter

Digital Comparator

OR Operation | Logical OR Operation

AND Operation | Logical AND Operation

Logical OR Gate

Logical AND Gate

NOT Gate

Universal Gate | NAND and NOR Gate as Universal Gate

http://www.electrical4u.com/keyboard­encoder/ 4/7
11/26/2016 Keyboard Encoder | Electrical4u

NAND Gate

Diode and Transistor NAND Gate or DTL NAND Gate and NAND Gate ICs

X OR Gate and X NOR Gate

Transistor Transistor Logic or TTL

NOR Gate

Fan out of Logic Gates

INHIBIT Gate

NMOS Logic and PMOS Logic

Schmitt Gates

Logic Families Significance and Types of Logic Families

Latches and Flip Flops

S R Flip Flop S R Latch

Active Low S R Latch and Flip Flop

Gated S R Latches or Clocked S R Flip Flops

D Flip Flop or D Latch

J K Flip Flop

Master Slave Flip Flop

Read Only Memory

Programmable Logic Devices

Programmable Array Logic

Application of Flip Flops

Shift Registers

Buffer Register and Controlled Buffer Register

Data Transfer in Shift Registers

Serial In Serial Out (SISO) Shift Register

Serial in Parallel Out (SIPO) Shift Register

Parallel in Serial Out (PISO) Shift Register

Parallel in Parallel Out (PIPO) Shift Register

Universal Shift Registers

Bidirectional Shift Register

Dynamic Shift Register

Conversion of Flip Flops

New Articles

Parallel Operation of Alternator

Application of Power Electronics

Advantages and Disadvantages of Power Electronic Converters

Xenon Arc Lamp

Concept of Power Electronics

Sinusoidal Wave Signal

Please provide your valuable comments
Name : ­
Enter your name here  

http://www.electrical4u.com/keyboard­encoder/ 5/7
11/26/2016 Keyboard Encoder | Electrical4u
Email : ­ 
Enter your email here  

Location : ­
Enter your location here  

Your content : ­ 
Enter your content here

Enter the above code here  

Regenerate Code

Submit

Reset

© 2011­2016 electrical4u.The content is copyrighted to electrical4u and may not be reproduced on other websites. 

http://www.electrical4u.com/keyboard­encoder/ 6/7
11/26/2016 Keyboard Encoder | Electrical4u

http://www.electrical4u.com/keyboard­encoder/ 7/7

Das könnte Ihnen auch gefallen