You are on page 1of 18

Programmable Keyboard/Display Interface

THE 8279

Block diagram of 8279 based system


D7-D0 A3-A0 B3-B0 BD

RD WR
8085 IRQ CLK A0 RL3-RL0

16-character Display

8279

SL0 SL1 SL2


SL3

Decoder

16-Key Matrix Keyboard

Keyboard Control

Introduction 8279
A programmable keyboard and display interfacing chip Hardware approach to interfacing a matrix keyboard and a multiplexed display Scans and encodes up to 64-key keyboard Controls up to 16-digit numerical display

8279 has 4 main segments


Keyboard Scan Display MPU Interface

1. Keyboard Section
Consists of
8 lines (RL0-RL7) that can be connected to eight columns of a matrix keyboard Shift and CNTL/STB (Control/Strobe) 8-byte FIFO RAM

Keys are automatically debounced

Block Diagram 8279


Keyboard Section

2. Display Section
Consists of
8 output lines (A0-A3) and (B0-B3) 16 byte display RAM BD line used to blank displays

Block Diagram 8279


Display Section

3. Scan Section
Consists of
Scan Counter Four scan lines (SL0-SL3)

Used by keyboard and display section for proper functioning

Block Diagram 8279


Scan Section

MPU Interface section


8 bidirectional data lines (DB0-DB7) IRQ line RD line WR line CS line RESET line Buffer address line (A0)

Block Diagram 8279


MPU Interface Section

Pin Description 8279


A0: Selects data (0) or control/status (1) for reads and writes between micro and 8279.
Output that blanks the displays.

CLK: Used internally for timing. Max is 3 MHz.


CN/ST: Control/strobe, connected to the control
key on the keyboard. Chip select that enables programming, reading the keyboard, etc.

DB7-DB0: Consists of bi-directional pins that connect to data bus on micro.

IRQ: Interrupt request, becomes 1 when a key

is pressed, data is available. OUT A3-A0/B3-B0: Outputs that sends data to the most significant/least significant nibble of display.

: Connects to micro's IORC or RD signal, reads data/status registers.


RESET: Connects to system RESET. RL7-RL0: Return lines are inputs used to sense key depression in the keyboard matrix. Shift: Shift connects to Shift key on keyboard. SL3-SL0: Scan line outputs scan both the keyboard and displays.

Scanning keys of a Matrix Keyboard


Vcc
R = 4.7K
R = 4.7K Row0 Row1 Row2 Row3

8
4 0

9
5 1

A
6 2

B
7 3

C0

C1

C2

C3

Connecting a 7-segment display with 8279


SL0 SL1 SL2 SL3

4-to-16 decoder
O0
VCC

O1
VCC

O15

8279
a
A0 A1 A2 A3 B0 B1 B2 B3

f
e

b
c

f
e

b
c

Working with a multiplexed display


SL0 SL1 SL2 SL3

4-to-16 decoder
O0 O1 O2 O3 O15

T1

T2

T3

T4

8279
A0 A1 A2 A3 B0 B1 B2 B3

Connecting a 64-key Keyboard with 8279


SL0 SL1 SL2 SL3

4-to-16 decoder
O0 O7
O8 O9 O10 O11 O12 O13 O14 O15

Multiplexed 7-Segment Display

8279
RL0 RL1 RL2 RL3 RL4 RL5 RL6 RL7

You might also like