AY-5-3600 Keyboard Encoder pinout

DIP-40. Keyboard encoder

Scans the X0-X8 / Y0-Y9 key matrix and outputs a key code on B1-B9 with Data Ready. PMOS: VCC +5 V (pin 30), VGG -12 V (pin 27), VDD 0 V (pin 15). Pins 1-5 take mask-programmed options. In the IIe the code lines feed the keyboard ROM (UE12, drawn as a 2716 on Apple schematic 050-0051-D sheet 2), and any-key-down and the strobe go to the IOU.

Open the interactive AY-5-3600 pinout

Pins

PinNameTypeSignal
1Option 1ctrlOption pin (mask, data sheet p. 3-24): external clock input, or one of the three RC pins (1-3) of the internal oscillator.
2Option 2ctrlOption pin (mask, data sheet p. 3-24): LO/RO (lockout or rollover select) or CC (complement control) input with an external clock; one of the RC oscillator pins (1-3) with the internal oscillator.
3Option 3ctrlOption pin (mask, data sheet p. 3-24): CC (complement control) or CE (chip enable) input with an external clock; one of the RC oscillator pins (1-3) with the internal oscillator.
4Option 4ctrlOption pin (mask, data sheet p. 3-24): CE input or AKO (any-key output) with an external clock; LO/RO, CC, CE or AKO with the internal oscillator. Input or output depending on the mask option.
5Option 5ctrlOption pin (mask, data sheet p. 3-24): AKO (any-key output) or B10 (data output) with an external clock; CC, CE, AKO or B10 with the internal oscillator. Input or output depending on the mask option.
6B9dataKey code bit 9.
7B8dataKey code bit 8.
8B7dataKey code bit 7.
9B6dataKey code bit 6.
10B5dataKey code bit 5.
11B4dataKey code bit 4.
12B3dataKey code bit 3.
13B2dataKey code bit 2.
14B1dataKey code bit 1.
15VDDgroundVDD, tied to 0 V (data sheet standard conditions).
16DataRdyctrlData ready strobe: a key code is valid.
17Y0kbdMatrix column Y0.
18Y1kbdMatrix column Y1.
19Y2kbdMatrix column Y2.
20Y3kbdMatrix column Y3.
21Y4kbdMatrix column Y4.
22Y5kbdMatrix column Y5.
23Y6kbdMatrix column Y6.
24Y7kbdMatrix column Y7.
25Y8kbdMatrix column Y8.
26Y9kbdMatrix column Y9.
27VGGpowerVGG, -12 V gate supply.
28CtrlInkbdControl key input.
29ShiftInkbdShift key input.
30VCCpowerVCC, +5 V (substrate).
31DlyNodectrlDelay node input: an external capacitor (C71 on the IIe) sets the strobe delay (debounce) with a resistor inside the chip.
32X8kbdMatrix row X8.
33X7kbdMatrix row X7.
34X6kbdMatrix row X6.
35X5kbdMatrix row X5.
36X4kbdMatrix row X4.
37X3kbdMatrix row X3.
38X2kbdMatrix row X2.
39X1kbdMatrix row X1.
40X0kbdMatrix row X0.

Fitted in

Sources