BBC Micro Model A/B Keyboard Repair

The keyboard of the BBC Micro Model A/B is a separate printed circuit board carrying the keyswitches, four logic ICs, the three LEDs and the start-up option links, and Acorn supplied it as a single spare, keyboard assembly A1/103,001 including the speaker.[1] The faults are a dead or intermittent key, a group of keys dead because a track or pad on the keyboard board has broken, a failed logic IC on the keyboard, and faults on the main board that stop the keyboard being read at all. The BBC Micro Model B+ uses the same keyboard.[2]
Symptoms
[edit | edit source]| Symptom | Where to look |
|---|---|
| One key dead or intermittent | That keyswitch: dirty contacts or a dry joint[2] |
| Several keys on the right-hand side dead | Tracks on the keyboard PCB broken in transit[3] |
| A group of keys dead on a heavily used machine | Solder pads lifted from the board[3] |
| SHIFT or CTRL not working, with f4 permanently on | A keyswitch[4] |
| Wrong characters, for example T typed for 9 | 74LS30 (IC4) or 74LS251 (IC2) on the keyboard[4] |
| No characters at all from the keyboard | 74LS30 (IC4) on the keyboard[4] |
| Continuous beep and no response from any key | System VIA (IC3) or addressable latch (IC32) on the main board[4][5]; see BBC Micro Model A/B System VIA and Addressable Latch Replacement |
| Caps Lock LED does not light | Loose LED leads on the keyboard, or IC32 (74LS259) on the main board[2][4] |
IC numbers on the keyboard (IC1 to IC4) are a separate series from those on the main board, so IC3 on the keyboard is the 7445 decoder and IC3 on the main board is the system VIA.[6][7] Other start-up faults are in the BBC Micro Model A/B Troubleshooting Guide.
Safety
[edit | edit source]The power supply sits under the lid beside the keyboard. Unplug the mains lead before removing the lid; Acorn's manual says the lid must not be removed with mains connected.[8] The supply's own hazards are covered in BBC Micro Model A/B Power Supply Repair.
Tools and parts
[edit | edit source]- A multimeter with a continuity range, and an oscilloscope or logic probe for the clock and IC checks. See Recommended Tools.
- A solder pump or desoldering braid, and isopropyl alcohol.[2]
- A replacement switch of the same type. Chris Richardson recommends fitting a known working switch from a donor keyboard instead of cleaning a failed one.[2] BBC Micro keyboards were built with four switch types: Type 1 (Futaba), Type 2 (SMK), Type 3 (PED) and Type 4 (SMK), and 8-Bit Software lists Type 2 as the more failure-prone.[9]
- Fine wire for bridging broken tracks.[2]
- Logic ICs as fitted on the keyboard: 74LS163 (IC1), 74LS251 (IC2), 7445 or 74145 (IC3) and 74LS30 (IC4).[6]

Procedure
[edit | edit source]Try the simple fixes first
[edit | edit source]- Use the key firmly for a minute or so. Keyboards that have stood unused often recover.[2]
- If the key still fails, ease the keycap off its stem with a small screwdriver between it and the neighbouring cap. If it is stiff, remove an adjacent cap first to get a better angle. Work the switch again and blow into it.[2]
Remove the keyboard
[edit | edit source]- Unplug the mains lead.[8]
- Remove the four lid screws, two on the rear panel and two underneath at the front, and lift the lid. Keep the two spire clips on the lid.[8]
- Undo the two or three screws and nuts that hold the keyboard to the case bottom, noting where each washer goes.[8]
- Unplug the 17-way keyboard connector (PL13 on the main board), the 2-way loudspeaker connector and, if fitted, the 10-way serial ROM connector.[8][1]
- Push the ribbon connector on and off a few times at both ends before going further. A dirty contact here causes keyboard faults on its own.[2]
- Check that each end of the ribbon was fully on its pins. Acorn's B+ manual, which covers the same keyboard, warns that either connector is easily displaced one pin to the left or right, and that a wire can break inside the cable where the connector grips it. Replace the ribbon cable if one has broken.[10]

Find which part of the matrix has failed
[edit | edit source]Acorn's keyboard circuit is a matrix of ten lines driven in turn by IC3, a 7445 decoder fed by the 74LS163 counter IC1, and eight lines read back through IC2, a 74LS251 data selector. When a key is pressed, IC4, a 74LS30 gate, signals the system VIA's CA2 input and the operating system reads the keys individually.[11] The Advanced User Guide lists every key's internal key number.[12] Its low hex digit matches the IC3 line in Acorn's diagram and its high digit matches the IC2 line: ESCAPE (&70), Q (&10), f0 (&20), 1 (&30), CAPS LOCK (&40), SHIFT LOCK (&50), TAB (&60) and SHIFT (&00) all sit on IC3 output 0, each on a different IC2 input.[12][6] So keys that fail together and share a digit point to one line, and the tables below give the pin to measure.
| Low digit | IC3 pin | Keys on this line |
|---|---|---|
| 0 | 1 | SHIFT, Q, f0, 1, CAPS LOCK, SHIFT LOCK, TAB, ESCAPE |
| 1 | 2 | CTRL, 3, W, 2, A, S, Z, f1 |
| 2 | 3 | link bit 7, 4, E, D, X, C, SPACE, f2 |
| 3 | 4 | link bit 6, 5, T, R, F, G, V, f3 |
| 4 | 5 | link bit 5, f4, 7, 6, Y, H, B, f5 |
| 5 | 6 | link bit 4, 8, I, U, J, N, M, f6 |
| 6 | 7 | link bit 3, f7, 9, O, K, L, comma, f8 |
| 7 | 9 | link bit 2, minus, 0, P, @, semicolon, full stop, f9 |
| 8 | 10 | link bit 1, ^, _, [, colon, ], /, \ |
| 9 | 11 | link bit 0, LEFT, DOWN, UP, RETURN, DELETE, COPY, RIGHT |
| High digit | IC2 input (pin) | Pull-up | Keys on this line |
|---|---|---|---|
| 0 | D0 (4) | R4 | SHIFT, CTRL, start-up option links |
| 1 | D1 (3) | R10 | Q, 3, 4, 5, f4, 8, f7, minus, ^, LEFT |
| 2 | D2 (2) | R9 | f0, W, E, T, 7, I, 9, 0, _, DOWN |
| 3 | D3 (1) | R8 | 1, 2, D, R, 6, U, O, P, [, UP |
| 4 | D4 (15) | R7 | CAPS LOCK, A, X, F, Y, J, K, @, colon, RETURN |
| 5 | D5 (14) | R6 | SHIFT LOCK, S, C, G, H, N, L, semicolon, ], DELETE |
| 6 | D6 (13) | R5 | TAB, Z, SPACE, V, B, M, comma, full stop, /, COPY |
| 7 | D7 (12) | R11 | ESCAPE, f1, f2, f3, f5, f6, f8, f9, \, RIGHT |

Repair a single key
[edit | edit source]- Check the switch with a continuity tester across its two pins while pressing the key, and look at the solder on both pins and the area around them. Reheating a dry joint is sometimes enough.[2]
- To remove the switch, heat each of its two soldered pegs and clear the solder with a pump; with no pump, heat both pegs together and push the switch out. See Through-Hole Desoldering for the method.[2]
- Wash the switch in isopropyl alcohol, or fit a working switch of the same type. Chris Richardson recommends replacement, because cleaned switches often fail again within days.[2]
- Solder the new switch in and retest the key before refitting the keyboard.
Repair broken tracks and lifted pads
[edit | edit source]- Find the line the dead keys share from the tables above, and test continuity from each dead key's switch pin back along the track to the IC pin for that line.[3][6] Continuity Testing and Signal Tracing covers the method.
- Where the track is broken, scrape the varnish off on both sides of the break and solder a piece of wire across it.[2] Bridge a lifted pad to the next point on its track the same way. See PCB Trace Repair and PCB Pad Repair.
- Retest every key on the repaired line.
Check the keyboard logic
[edit | edit source]If whole lines fail, keys produce the wrong characters, or nothing is typed at all, check the four ICs on the keyboard PCB.
- With the keyboard connected and the machine on, measure +5 V at PL1 pin 15 against 0 V at pin 1, and look for the 1 MHz clock at pin 3, which feeds IC1 pin 2.[6]
- A dead line whose switches and tracks test good points to its IC pin: the IC3 output for a low-digit line, or the IC2 input and its 2K2 pull-up for a high-digit line.[6]
- Substitute IC4 (74LS30) when nothing is typed or the wrong characters appear, and IC2 (74LS251) when the characters are wrong; both have been found faulty on Model B keyboards.[4] A keyboard 7445 (IC3 on the keyboard) has also been reported failed.[13] Logic Chip Testing and IC Removal and Socketing cover testing and replacing them.
- If the keyboard PCB tests good and there is still no response, with a continuous beep at switch-on, move to the main board. The keyboard is read through port A of the system VIA (IC3) and enabled from bit 3 of the addressable latch IC32 (74LS259), and both have failed this way.[11][12][4][5] The checks are in BBC Micro Model A/B System VIA and Addressable Latch Replacement.
LEDs and BREAK
[edit | edit source]
- The three LEDs, LD1 to LD3, each run from +5 V through a 470 Ω resistor (R1 to R3) to PL1 pins 16, 17 and 13.[6] Their leads work loose on many machines; resolder them.[2]
- The Caps Lock and Shift Lock LEDs are driven from outputs 6 and 7 of IC32 on the main board.[11][12] If an LED and its wiring are good and it still does not light, suspect IC32; a faulty IC32 has been found as the cause of a dead Caps Lock LED.[4]
- The BREAK key, SW1, connects the RST line at PL1 pin 2 to 0 V.[6] Test it for continuity like any other switch.
Reassemble
[edit | edit source]- Refit the keyboard with its screws, nuts and washers as noted, and reconnect the 17-way, speaker and serial ROM connectors.[8]
- Refit the lid, pressing it down at the rear while tightening the two rear screws.[8]
Testing
[edit | edit source]- Press every key and check the character on screen, including SHIFT, CTRL, CAPS LOCK, SHIFT LOCK, COPY and the cursor keys.
- The Caps Lock and Shift Lock LEDs follow their keys.[11]
- Two keys held together are both read: the keyboard has two-key rollover.[1]
- If the start-up behaviour has changed (screen mode at power-up, the action of SHIFT and BREAK, or disc speed), check the option links in the bottom right-hand corner of the keyboard PCB; their functions are listed under OSBYTE &FF in the Advanced User Guide.[12]
Model B+
[edit | edit source]The BBC Micro Model B+ and BBC Micro Model B+128 use the same keyboard and keyboard circuit, connected to PL13, so every keyboard step above applies.[10][2][14] The main-board numbers differ: on the B+ the keyboard is read through port A of the 6522 at IC20, whose CA2 input is pin 39, and the 74LS259 addressable latch is IC30.[10] The B+ keyboard is held by two screws and nuts.[10]
Related pages
[edit | edit source]- BBC Micro Model A/B
- BBC Micro Model A/B Troubleshooting Guide
- BBC Micro Model A/B General Maintenance
- BBC Micro Model A/B Power Supply Repair
- BBC Micro Model A/B System VIA and Addressable Latch Replacement
- BBC Micro Model B+
- BBC Microcomputer Service Manual October 1985
- BBC Microcomputer Service Manual October 1985 Section 2
- BBC Micro Advanced User Guide
References
[edit | edit source]- ↑ 1.0 1.1 1.2 Acorn Computers, BBC Microcomputer Service Manual, part no. 0433,001, issue 1, October 1985, Section 1: 1.2.1 "Model A specification" (73-key keyboard with two-key rollover); 9.8 "Parts list", case lower assembly item 4, keyboard assembly A1/103,001 including speaker; item 171 of the main board list, 17-way plug PL13 (keyboard).
- ↑ 2.00 2.01 2.02 2.03 2.04 2.05 2.06 2.07 2.08 2.09 2.10 2.11 2.12 2.13 2.14 Chris Richardson, "Repairing Keyboards", 8-Bit Software, 2000 and 2003 (retrieved 2026-10-25). The BBC B and B+ keyboards are the same; lid and keyboard removal; reseating the ribbon connector; checking switch solder with a circuit tester; desoldering the two switch pegs; washing or replacing a switch; repairing tracks by scraping off the varnish and soldering wire over the break; LED leads working loose; Type 1 (Futaba) and Type 2 (SMK) switches. Community source.
- ↑ 3.0 3.1 3.2 Acorn Computers, BBC Microcomputer Service Manual, Section 1, 6.4 "Most common faults", p. 42: tracks on the right-hand side of the keyboard PCB broken in transit, more often on early machines; solder pads lifted by excessively hard use, shown by a group of non-functional keys; check with a continuity meter.
- ↑ 4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 Paul Martin-Matthews, "BBC Model B Computer Faults/Cures", 8-Bit Software, issue 37 (retrieved 2026-10-25). Faults on issue 2 to 7 boards: 9, continuous beep with no keyboard input, IC3 (6522); 11, keyboard typing wrong characters, keyboard 74LS30; 20, incorrect writing from the keyboard, keyboard 74LS251; 22, SHIFT or CTRL not working and f4 permanently on, keyswitch; 43, 80-column display at switch-on, IC3 port A (keyboard) among other causes; 48, Caps Lock LED not lighting, IC32 (74LS259); 51, no writing from the keyboard, IC4 (74LS30). Community source.
- ↑ 5.0 5.1 Dave Curran, "BBC Micro Repair", Tynemouth Software blog, 16 May 2017 (retrieved 2026-10-25). Issue 7 Model B: single beep and flashing cursor cured by replacing the system VIA; the beep then stayed on and the keyboard did not respond because all outputs of the 74LS259 addressable latch were static; the latch failed an IC tester and replacing it restored the double beep and the keyboard. Community source.
- ↑ 6.00 6.01 6.02 6.03 6.04 6.05 6.06 6.07 6.08 6.09 Acorn Computers, BBC Microcomputer Service Manual, Section 1, 9.6 "Keyboard circuit diagram" (PDF p. 87): IC1 74LS163, IC2 74LS251, IC3 7445/74145, IC4 74LS30; pull-up resistors R4 to R11, 2K2; diodes D1 to D10, 1N4148, and SW2 start-up options; SW1 (BREAK) to the RST line; LEDs LD1 to LD3 with 470 Ω resistors R1 to R3; decoupling C1 to C3 47 nF and C4 22 µF; PL1 pin assignments (1 0 V, 2 RST, 3 1 MHz, 4 KB EN, 5 to 7 PA4 to PA6, 8 to 11 PA0 to PA3, 12 PA7, 13 LED 3, 14 CA2, 15 +5 V, 16 LED 1, 17 LED 2).
- ↑ Acorn Computers, BBC Microcomputer Service Manual, Section 1, 6.3 "Fault isolation", pp. 38–40: system VIA IC3, user VIA IC69, 6502A IC1; socketed devices that can be removed while fault-finding.
- ↑ 8.0 8.1 8.2 8.3 8.4 8.5 8.6 Acorn Computers, BBC Microcomputer Service Manual, Section 1, 1.4 "Mechanical assembly of case etc", p. 5: four lid screws, two on the rear panel and two underneath, and the two spire clips for the rear screws; the lid is not to be removed with mains connected; keyboard held by two or three screws and nuts with washers; 17-way keyboard connector, 2-way loudspeaker connector and 10-way serial ROM connector.
- ↑ 8-Bit Software, "Keyboards, Keyswitches and Keytops" (retrieved 2026-10-25). BBC B and B+ keyswitch types 1 (Futaba), 2 (SMK), 3 (PED) and 4 (SMK), with photographs; Type 2 described as more prone to failure. Community source.
- ↑ 10.0 10.1 10.2 10.3 Acorn Computers, BBC Microcomputer Model B+ Service Manual (BBC Microcomputer Service Manual part no. 0433,001, issue 1, October 1985, Section 2), which covers the same keyboard assembly: reassembly notes (the keyboard ribbon socket is easily displaced one pin to the right or left); 5.1, keyboard read through port A of the 6522 IC20; 5.15 "Keyboard", p. 26 (keyboard on PL13, interrupt through CA2, pin 39 of IC20); 9.9 "Keyboard", p. 47 (single-key and group faults, connectors displaced by one pin, a wire broken inside the ribbon where the connector grips it, trying a known good keyboard); parts list item 151, 74LS259 at IC30.
- ↑ 11.0 11.1 11.2 11.3 Acorn Computers, BBC Microcomputer Service Manual, Section 1, 3.6 "Internal VIA" and 3.7 "Keyboard", p. 21: system VIA port A as the slow data bus to the keyboard; addressable latch IC32 providing the keyboard strobe and driving the Caps Lock and Shift Lock LEDs from its outputs 6 and 7; 1 MHz clock to the 74LS163, decoded by the 7445; 74LS30 output interrupting through CA2 of IC3; the processor loading the row address into the 74LS163 and the column address into the 74LS251.
- ↑ 12.0 12.1 12.2 12.3 12.4 12.5 12.6 Andrew C. Bray, Adrian C. Dickens and Mark A. Holmes, The Advanced User Guide for the BBC Microcomputer, Cambridge Microcomputer Centre, 1983: p. 142, table of internal key numbers (OSBYTE &79); pp. 418–419, system VIA CA2 keyboard interrupt, PB0 to PB3 driving the addressable latch IC32, latch bit B3 keyboard write enable, B6 Caps Lock LED and B7 Shift Lock LED; p. 489, Appendix J, keyboard link options.
- ↑ stardot.org.uk, "Most common BBC IC failures?" (July 2021, retrieved 2026-10-25). marcelaj1: failures over two machines included the keyboard IC3, a 7445; 1024MAK: the main mechanical problem is broken or intermittent connections in the ribbon cable from the keyboard PCB to the main board, or dirty or oxidised switch contacts. Community source.
- ↑ Dave Curran, "BBC Micro B Plus 64K and 128K", Tynemouth Software blog, July 2019 (retrieved 2026-10-02). The B+ 64K and 128K use the same power supply and keyboard as the Model B. Community source.