TweetFollow Us on Twitter

Keyboard repair
Volume Number:5
Issue Number:1
Column Tag:The Electrical Mac

Keyboard Repair

By Richard Clark, Mission Viejo, CA

The Incredible Dying Keyboard

I have a confession to make - I don’t own a Mac Plus. What I do have is an ancient 512Ke which began life as an early 128K. It’s had two power supplies (“analog boards” to those in the repair business), two keyboard cables, a new 512K mother board, and an Incredible Dying Keyboard. A different key dies about once a month now; there’s no warning, the key just stops working.

The Incredibly Frustrating Repairman

Fixing a broken key is supposed to be simple for the repairman - you just open up the keyboard, remove the old switch, and solder in a new one. It’s a five minute job, and that includes waiting for the soldering iron to warm up. There’s only one problem: “the rest of us” can’t get the special keyboard switches that Apple uses. After a run-in with one particular dealer who refused both to sell individual switches and to fix the keyboard (he wanted to sell a new keyboard for $130), I decided to open up the keyboard and see what I could do.

Fixing Dead Keyboards is Easy (and cheap)

I learned that, with some limited soldering and mechanical skills, most keyswitch problems can be fixed. You remove the switch, make an adjustment or two, and replace it in the keyboard. It’s easy and works almost all of the time. So far, I’ve managed to repair 11 out of 12 dead switches myself (and the one failure was because I tried a shortcut which damaged the switch beyond repair.)

Notice that these repair techniques only work in the case where the switch is the culprit. Also, I haven’t tried these with one of the new ADB keyboards, but Apple seems to be using the same switch supplier, so this should work. Also, these techniques may not apply to “locking” keyswitches (like the Caps Lock). If the entire keyboard is dead, then I can’t help you (except to say “take a good look at your keyboard cable” because if you stretch the cable too much you can pull the connections apart inside of the clear connectors.) If the whole keyboard is dead, and it isn’t the cable, then you’ll need a new keyboard since Apple doesn’t supply the spare parts for fixing the keyboard electronics to anybody.

Now that we’ve gotten the disclaimers out of the way, we’ll discuss what you’ll need. First, you’ll need some basic soldering equipment: a soldering iron, solder (use only rosin-core solder, not acid-core) , and some sort of solder remover. The vacuum-type removers seem to work better than “solder wick” for keyboard work. A small can of flux remover (sold in Radio Shack as “cleaner/degreaser”) is optional but helps tidy up the keyboard after you’re done.

You’ll also need some basic tools and supplies: a medium-sized Phillips screwdriver (about 1/4”), two or three small straight-blade screwdrivers (about 1/8” across), a pair of needle-nose pliers, and a pair of scissors or an X-Acto knife. You’ll need two small pieces (about 3“ each) of wire, stripped at both ends. And, depending on the problem you’re fixing, you’ll need either a small tube of cement or some self-adhesive labels.

Finally, you’ll need to know how to solder and unsolder on single-sided printed circuit boards. Anybody who’s built a Heathkit or two will understand how to do this. If you’ve never handled a soldering iron before, then get a friend to help.

The Secret Life of Keyswitches

OK, if you’ve gotten this far, then you’re interested in fixing keyboards. So let’s talk about how keyboards work. Looking at Figure 1, you can see that a keyswitch consists of five major parts: the upper and lower case sections, the stem, a spring, and a “contact assembly”. The contact assembly consists of a plastic frame containing two metal pieces shaped in such a way that when you press on the front of the assembly, the metal pieces come together and close the switch. When you press down on a key, the stem travels downward, resisted by the spring, and presses on a small metal tab sticking out of the front of the contact assembly. This compresses the assembly and closes the switch. When you remove your finger, the spring pushes the stem back up which removes the pressure from the contacts and opens the circuit again. The keyswitches are wired to an “encoder” which turns the switch closure into a signal for the Mac.

So, how does a keyboard break? Well, there’s 2 common problems: if the switch just quits working (or works only if you press the key hard and/or wiggle it around), then the contact assembly is wearing out. Or, if the key seems to be “floating” - that is, the keycap is a little higher than all of the others and is putting out multiple characters on each press - then the upper and lower case assemblies have come apart and aren’t guiding the stem properly. Both of these problems are easily fixed.

Fixing Keyboards: Step by Step

So, here’s the step-by-step procedure for repairing a Mac keyboard:

1. Organize your tools and plug in the soldering iron. Detach any cables connected to the keyboard.

2. While the soldering iron is warming up, turn the keyboard over and remove the 5 phillips-head screws holding the bottom of the keyboard case on. Remove the bottom casing and set it aside, then lift out the keyboard assembly. Set the top casing aside with the bottom casing.

3. Using a flat-blade screwdriver, pry up the key cap from the broken key and any surrounding key caps that might get in your way.

4. Turning the keyboard over, locate the 2 pins coming out of the broken switch. (I typically circle them with a pencil after I find them, just so I don’t have to search for them several times.) Unsolder these connections, being careful not to overheat the connection and lift the foil up off of the board.

5. Using a pair of needle-nose pliers, gently move the unsoldered pins to be certain that they are completely free from the sides of the hole.

6. Turn the keyboard back over, so that the key caps are on top. Referring to Figure 2, press in on the 2 tabs at the top and the bottom of the switch. While you are pressing these tabs inwards, lift out the switch. Please resist the temptation to use pliers on the stem of the switch - you could break or damage the stem beyond repair. Having a second person comes in handy here!

7. Now that you have the switch out, you can begin the repair. If the problem is a “floating” keyswitch, then just glue the top and bottom halves of the switch together (making sure that all of the pieces are inside, of course), and skip the next step. If the problem is the more common “dead switch” type, then do the following:

a. Using a pair of small screwdrivers (X-Acto #2 knife blades also work well), and looking at Figure 3, insert the blade of the screwdrivers between the gray tabs and the black upper body. Press the blade all the way down to the bottom of the case on both sides and the two halves will pop apart. Pull the case halves apart, being careful not to lose the small spring.

b. Stack 2 or three layers of self-adhesive paper labels together (I use a spare disk label), and cut it to about 3/8” square - a little smaller than the back of the contact assembly. Then, referring to figure 4, stick this paper “shim” to the back of the contact assembly. When a keyswitch dies, it’s usually because the contact assembly has nothing to press on behind it. The labels provide the necessary backing.

c. Carefully re-assemble the switch. Because of the labels, it may take a little pressure to get the top and bottom casings back together. Don’t forget to install the spring!

8. Now it’s time to test your work. Using the 2 pieces of wire, solder one end of each to each of the pins on the back of the switch. Solder the end of one wire to one of the pads on the keyboard where the switch was soldered, and solder the other wire to the other pad. Now plug in your keyboard, turn on your Macintosh, and test out a few keys, including the one you just modified. If the modified key fails, then take it apart and check your work. Re-assemble it again and try again.

9. Unsolder the wires from the keyboard and keyswitches. Then check that the pins are sticking straight out from the back of the switch and straighten them if necessary. Next, put the switch back into the hole in the keyboard where you removed it. Make sure that the pins in the switch enter the holes in the circuit board, and press the key in until the gray tabs snap into place.

10. Re-solder the switch into place and (optionally) spray a little flux remover on the connection just to clean things up. If you use cleaner, be careful not to get any inside the switch!

11. Re-assemble the keyboard, and you’re done!

The whole process should only take about a half hour the first time you do it, and about 10 minutes each time after. As I noted before, I have 11 keys on my keyboard modified this way (fixed with a stack of paper labels), and the earliest repairs have been working perfectly for a year now.

Unlike most MacTutor articles, you won’t be getting a program listing with this one! So I hope that knowing how to fix your own keyboards will satisfy both you and David Smith. Happy Hacking!

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Latest Forum Discussions

See All

Tokkun Studio unveils alpha trailer for...
We are back on the MMORPG news train, and this time it comes from the sort of international developers Tokkun Studio. They are based in France and Japan, so it counts. Anyway, semantics aside, they have released an alpha trailer for the upcoming... | Read more »
Win a host of exclusive in-game Honor of...
To celebrate its latest Jujutsu Kaisen crossover event, Honor of Kings is offering a bounty of login and achievement rewards kicking off the holiday season early. [Read more] | Read more »
Miraibo GO comes out swinging hard as it...
Having just launched what feels like yesterday, Dreamcube Studio is wasting no time adding events to their open-world survival Miraibo GO. Abyssal Souls arrives relatively in time for the spooky season and brings with it horrifying new partners to... | Read more »
Ditch the heavy binders and high price t...
As fun as the real-world equivalent and the very old Game Boy version are, the Pokemon Trading Card games have historically been received poorly on mobile. It is a very strange and confusing trend, but one that The Pokemon Company is determined to... | Read more »
Peace amongst mobile gamers is now shatt...
Some of the crazy folk tales from gaming have undoubtedly come from the EVE universe. Stories of spying, betrayal, and epic battles have entered history, and now the franchise expands as CCP Games launches EVE Galaxy Conquest, a free-to-play 4x... | Read more »
Lord of Nazarick, the turn-based RPG bas...
Crunchyroll and A PLUS JAPAN have just confirmed that Lord of Nazarick, their turn-based RPG based on the popular OVERLORD anime, is now available for iOS and Android. Starting today at 2PM CET, fans can download the game from Google Play and the... | Read more »
Digital Extremes' recent Devstream...
If you are anything like me you are impatiently waiting for Warframe: 1999 whilst simultaneously cursing the fact Excalibur Prime is permanently Vault locked. To keep us fed during our wait, Digital Extremes hosted a Double Devstream to dish out a... | Read more »
The Frozen Canvas adds a splash of colou...
It is time to grab your gloves and layer up, as Torchlight: Infinite is diving into the frozen tundra in its sixth season. The Frozen Canvas is a colourful new update that brings a stylish flair to the Netherrealm and puts creativity in the... | Read more »
Back When AOL WAS the Internet – The Tou...
In Episode 606 of The TouchArcade Show we kick things off talking about my plans for this weekend, which has resulted in this week’s show being a bit shorter than normal. We also go over some more updates on our Patreon situation, which has been... | Read more »
Creative Assembly's latest mobile p...
The Total War series has been slowly trickling onto mobile, which is a fantastic thing because most, if not all, of them are incredibly great fun. Creative Assembly's latest to get the Feral Interactive treatment into portable form is Total War:... | Read more »

Price Scanner via MacPrices.net

Early Black Friday Deal: Apple’s newly upgrad...
Amazon has Apple 13″ MacBook Airs with M2 CPUs and 16GB of RAM on early Black Friday sale for $200 off MSRP, only $799. Their prices are the lowest currently available for these newly upgraded 13″ M2... Read more
13-inch 8GB M2 MacBook Airs for $749, $250 of...
Best Buy has Apple 13″ MacBook Airs with M2 CPUs and 8GB of RAM in stock and on sale on their online store for $250 off MSRP. Prices start at $749. Their prices are the lowest currently available for... Read more
Amazon is offering an early Black Friday $100...
Amazon is offering early Black Friday discounts on Apple’s new 2024 WiFi iPad minis ranging up to $100 off MSRP, each with free shipping. These are the lowest prices available for new minis anywhere... Read more
Price Drop! Clearance 14-inch M3 MacBook Pros...
Best Buy is offering a $500 discount on clearance 14″ M3 MacBook Pros on their online store this week with prices available starting at only $1099. Prices valid for online orders only, in-store... Read more
Apple AirPods Pro with USB-C on early Black F...
A couple of Apple retailers are offering $70 (28%) discounts on Apple’s AirPods Pro with USB-C (and hearing aid capabilities) this weekend. These are early AirPods Black Friday discounts if you’re... Read more
Price drop! 13-inch M3 MacBook Airs now avail...
With yesterday’s across-the-board MacBook Air upgrade to 16GB of RAM standard, Apple has dropped prices on clearance 13″ 8GB M3 MacBook Airs, Certified Refurbished, to a new low starting at only $829... Read more
Price drop! Apple 15-inch M3 MacBook Airs now...
With yesterday’s release of 15-inch M3 MacBook Airs with 16GB of RAM standard, Apple has dropped prices on clearance Certified Refurbished 15″ 8GB M3 MacBook Airs to a new low starting at only $999.... Read more
Apple has clearance 15-inch M2 MacBook Airs a...
Apple has clearance, Certified Refurbished, 15″ M2 MacBook Airs now available starting at $929 and ranging up to $410 off original MSRP. These are the cheapest 15″ MacBook Airs for sale today at... Read more
Apple drops prices on 13-inch M2 MacBook Airs...
Apple has dropped prices on 13″ M2 MacBook Airs to a new low of only $749 in their Certified Refurbished store. These are the cheapest M2-powered MacBooks for sale at Apple. Apple’s one-year warranty... Read more
Clearance 13-inch M1 MacBook Airs available a...
Apple has clearance 13″ M1 MacBook Airs, Certified Refurbished, now available for $679 for 8-Core CPU/7-Core GPU/256GB models. Apple’s one-year warranty is included, shipping is free, and each... Read more

Jobs Board

Seasonal Cashier - *Apple* Blossom Mall - J...
Seasonal Cashier - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Read more
Seasonal Fine Jewelry Commission Associate -...
…Fine Jewelry Commission Associate - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) Read more
Seasonal Operations Associate - *Apple* Blo...
Seasonal Operations Associate - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Read more
Hair Stylist - *Apple* Blossom Mall - JCPen...
Hair Stylist - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Blossom Read more
Cashier - *Apple* Blossom Mall - JCPenney (...
Cashier - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Blossom Mall Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.