ZX Spectrum 48K board with the KB1 keyboard ribbon connector being replaced

If the KB1 or KB2 keyboard connectors on your Sinclair ZX Spectrum have become worn or loose through age or misuse, a new membrane will not fix your keyboard: you will need to replace the sockets. It is a relatively easy job, and the process is the same on the 16K, 48K and 128K machines. Here I replace a KB1 socket on a 48K board that someone had super glued, which made it a bit more interesting.

A super glued keyboard connector

This 48K Spectrum board was kindly donated by Scot from the 8Bit Boogie Facebook group, and it is going to become the new main board in a 48K for Preston Thomas of Spectrum 4 Ever. What I found was what I can only assume is a mid 1990s attempt to get a keyboard working: the wires from inside a CAT5 cable glued into the KB1 connector with super glue. That has ruined the connector, and the cyanoacrylate vapour had coated the board and almost certainly the contacts inside the socket too. Hot glue would have been a better choice.

ZX Spectrum 48K KB1 keyboard connector with CAT5 wires super glued into it
A mid 90s bodge: CAT5 wires super glued into KB1

These days you can buy replacement membranes and, happily, replacement Molex keyboard connectors too. The ones I used came as a set of Molex keyboard membrane connectors from SellMyRetro.

Advertisement

Removing the old socket without damaging the board

The aim is to get the old connector off with the minimum of damage. I have seen people advocate rocking the socket until it snaps off, but that risks killing the through plating, which is not the best on these boards to begin with. My usual technique is to push the pins out of the plastic body instead. Each pin is keyed with a tiny reverse indentation that holds it in the socket, so if you press down on the pin with something thin (I used a bobby pin) you can squash that lug and slide the pins out. As the whole socket is being replaced, it does not matter if the lugs get bent.

First I carefully pulled the glued wires off, checking that no super glue had stuck to the traces. Most of the pins then pushed through, but a big lump of glue under the socket held the last one solid. In that case the safest option was a gentle rocking motion to break the remaining leads off at the top of the connector, rather than risk the pads. I did not want to use acetone (nail varnish remover) on the leftover glue, so I left it alone.

Lump of super glue under the old KB1 keyboard socket on a ZX Spectrum 48K board
A lump of glue under the socket held the last pin solid

Desoldering the old pins

With the board out of the case (yours will probably have a screw through the middle holding it in), find the reverse side of the KB1 connector and desolder each lead. I was using a new solder pump with heat resistant tubing on the tip, which is far better than the hard tipped ones I had used before. Some leads are longer than others and some had already been formed through the board, so I used them as temporary grips. Be careful: Spectrum boards do not like being overheated.

Desoldering the old KB1 keyboard connector pins on a ZX Spectrum 48K board with a solder pump
Desoldering the old KB1 pins with a solder pump

Afterwards I cleaned up a couple of solder splashes and checked for continuity between every pair of adjacent points to be sure nothing was bridged. All clear.

Fitting the new connector the right way round

The golden rule: do not solder the new socket in the wrong way round, because desoldering it again puts more stress on the board. KB1 and KB2 face in opposite directions, so the contacts of the two sockets must not be on the same side. The connectors have two sets of mounting holes, and I usually use the set further back, but the lump of glue was in the way, so this one went in slightly skewed rather than risk the traces by removing the glue.

I supported the socket from underneath, then soldered both ends first, heating the lead and the pad together for about a count of five so the solder flows evenly onto both. My iron was at 345°C with leaded solder.

Did it work?

Yes. A final continuity check from every pin to its point on the board showed good connections and no bridges. The socket sits at a slight angle, but that was better than digging through the glue behind it, and the board is now ready for a new membrane. Replacing KB2 is exactly the same process; it just has more legs.

Replacement KB1 Molex keyboard socket soldered onto a ZX Spectrum 48K board
The new KB1 socket fitted and ready for a membrane

Related

Once the sockets are sorted, see changing a Spectrum+ membrane, how to safely remove the faceplate on a rubber keyed Spectrum and my review of replacement Spectrum key mats, faceplates and membranes.

Advertisement