Keyboard Encoder / Decoder
Keyboard Encoder
A keyboard encoder is a device that converts the signals from a keyboard
matrix into a serial format data word that can be transmitted to an external
device, such as a computer or a microcontroller.
A keyboard encoder scans the keyboard matrix regularly to detect which
key is pressed or released. It encodes this information into a binary-
coded decimal (BCD) code or a scan code. The encoder sends this code
to the external device via USB or PS/2.
keyboard encoders are integrated circuits (ICs) that use logic gates,
diodes, resistors, capacitors, and flip-flops to encode signals. They are
designed for specific keyboard layouts with fixed matrix tables mapping
row and column coordinates to BCD or scan codes.
What is SR flip-flop ?
SR flip-flop, or Set-Reset flip-flop, is a memory device that stores a single
bit of data and maintains that state until an external input changes it
What is Diode?
A diode is a semiconductor device that allows current to flow in one
direction, while blocking it in the opposite direction
When a diode allows current flow, it is forward-biased. When a diode
is reverse-biased, it acts as an insulator and does not permit current to
flow
When we Press 0 on keyboard
When we Press 1 on keyboard