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 pinoutPins
| Pin | Name | Type | Signal |
|---|---|---|---|
| 1 | Option 1 | ctrl | Option pin (mask, data sheet p. 3-24): external clock input, or one of the three RC pins (1-3) of the internal oscillator. |
| 2 | Option 2 | ctrl | Option 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. |
| 3 | Option 3 | ctrl | Option 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. |
| 4 | Option 4 | ctrl | Option 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. |
| 5 | Option 5 | ctrl | Option 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. |
| 6 | B9 | data | Key code bit 9. |
| 7 | B8 | data | Key code bit 8. |
| 8 | B7 | data | Key code bit 7. |
| 9 | B6 | data | Key code bit 6. |
| 10 | B5 | data | Key code bit 5. |
| 11 | B4 | data | Key code bit 4. |
| 12 | B3 | data | Key code bit 3. |
| 13 | B2 | data | Key code bit 2. |
| 14 | B1 | data | Key code bit 1. |
| 15 | VDD | ground | VDD, tied to 0 V (data sheet standard conditions). |
| 16 | DataRdy | ctrl | Data ready strobe: a key code is valid. |
| 17 | Y0 | kbd | Matrix column Y0. |
| 18 | Y1 | kbd | Matrix column Y1. |
| 19 | Y2 | kbd | Matrix column Y2. |
| 20 | Y3 | kbd | Matrix column Y3. |
| 21 | Y4 | kbd | Matrix column Y4. |
| 22 | Y5 | kbd | Matrix column Y5. |
| 23 | Y6 | kbd | Matrix column Y6. |
| 24 | Y7 | kbd | Matrix column Y7. |
| 25 | Y8 | kbd | Matrix column Y8. |
| 26 | Y9 | kbd | Matrix column Y9. |
| 27 | VGG | power | VGG, -12 V gate supply. |
| 28 | CtrlIn | kbd | Control key input. |
| 29 | ShiftIn | kbd | Shift key input. |
| 30 | VCC | power | VCC, +5 V (substrate). |
| 31 | DlyNode | ctrl | Delay node input: an external capacitor (C71 on the IIe) sets the strobe delay (debounce) with a resistor inside the chip. |
| 32 | X8 | kbd | Matrix row X8. |
| 33 | X7 | kbd | Matrix row X7. |
| 34 | X6 | kbd | Matrix row X6. |
| 35 | X5 | kbd | Matrix row X5. |
| 36 | X4 | kbd | Matrix row X4. |
| 37 | X3 | kbd | Matrix row X3. |
| 38 | X2 | kbd | Matrix row X2. |
| 39 | X1 | kbd | Matrix row X1. |
| 40 | X0 | kbd | Matrix row X0. |
Fitted in
- Apple IIe Main board; the keyboard reaches it over a 26-pin ribbon
- Apple IIc UB16, marked KEY (schematic 050-0093-A sheet 3/5); the photographed board has an AY-5-3600-PRO (silk KR3600-PRO, ENC)