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

Top Mobile Game Discounts
Every day, we pick out a curated list of the best mobile discounts on the App Store and post them here. This list won't be comprehensive, but it every game on it is recommended. Feel free to check out the coverage we did on them in the links... | Read more »
Price of Glory unleashes its 1.4 Alpha u...
As much as we all probably dislike Maths as a subject, we do have to hand it to geometry for giving us the good old Hexgrid, home of some of the best strategy games. One such example, Price of Glory, has dropped its 1.4 Alpha update, stocked full... | Read more »
The SLC 2025 kicks off this month to cro...
Ever since the Solo Leveling: Arise Championship 2025 was announced, I have been looking forward to it. The promotional clip they released a month or two back showed crowds going absolutely nuts for the previous competitions, so imagine the... | Read more »
Dive into some early Magicpunk fun as Cr...
Excellent news for fans of steampunk and magic; the Precursor Test for Magicpunk MMORPG Crystal of Atlan opens today. This rather fancy way of saying beta test will remain open until March 5th and is available for PC - boo - and Android devices -... | Read more »
Prepare to get your mind melted as Evang...
If you are a fan of sci-fi shooters and incredibly weird, mind-bending anime series, then you are in for a treat, as Goddess of Victory: Nikke is gearing up for its second collaboration with Evangelion. We were also treated to an upcoming... | Read more »
Square Enix gives with one hand and slap...
We have something of a mixed bag coming over from Square Enix HQ today. Two of their mobile games are revelling in life with new events keeping them alive, whilst another has been thrown onto the ever-growing discard pile Square is building. I... | Read more »
Let the world burn as you have some fest...
It is time to leave the world burning once again as you take a much-needed break from that whole “hero” lark and enjoy some celebrations in Genshin Impact. Version 5.4, Moonlight Amidst Dreams, will see you in Inazuma to attend the Mikawa Flower... | Read more »
Full Moon Over the Abyssal Sea lands on...
Aether Gazer has announced its latest major update, and it is one of the loveliest event names I have ever heard. Full Moon Over the Abyssal Sea is an amazing name, and it comes loaded with two side stories, a new S-grade Modifier, and some fancy... | Read more »
Open your own eatery for all the forest...
Very important question; when you read the title Zoo Restaurant, do you also immediately think of running a restaurant in which you cook Zoo animals as the course? I will just assume yes. Anyway, come June 23rd we will all be able to start up our... | Read more »
Crystal of Atlan opens registration for...
Nuverse was prominently featured in the last month for all the wrong reasons with the USA TikTok debacle, but now it is putting all that behind it and preparing for the Crystal of Atlan beta test. Taking place between February 18th and March 5th,... | Read more »

Price Scanner via MacPrices.net

AT&T is offering a 65% discount on the ne...
AT&T is offering the new iPhone 16e for up to 65% off their monthly finance fee with 36-months of service. No trade-in is required. Discount is applied via monthly bill credits over the 36 month... Read more
Use this code to get a free iPhone 13 at Visi...
For a limited time, use code SWEETDEAL to get a free 128GB iPhone 13 Visible, Verizon’s low-cost wireless cell service, Visible. Deal is valid when you purchase the Visible+ annual plan. Free... Read more
M4 Mac minis on sale for $50-$80 off MSRP at...
B&H Photo has M4 Mac minis in stock and on sale right now for $50 to $80 off Apple’s MSRP, each including free 1-2 day shipping to most US addresses: – M4 Mac mini (16GB/256GB): $549, $50 off... Read more
Buy an iPhone 16 at Boost Mobile and get one...
Boost Mobile, an MVNO using AT&T and T-Mobile’s networks, is offering one year of free Unlimited service with the purchase of any iPhone 16. Purchase the iPhone at standard MSRP, and then choose... Read more
Get an iPhone 15 for only $299 at Boost Mobil...
Boost Mobile, an MVNO using AT&T and T-Mobile’s networks, is offering the 128GB iPhone 15 for $299.99 including service with their Unlimited Premium plan (50GB of premium data, $60/month), or $20... Read more
Unreal Mobile is offering $100 off any new iP...
Unreal Mobile, an MVNO using AT&T and T-Mobile’s networks, is offering a $100 discount on any new iPhone with service. This includes new iPhone 16 models as well as iPhone 15, 14, 13, and SE... Read more
Apple drops prices on clearance iPhone 14 mod...
With today’s introduction of the new iPhone 16e, Apple has discontinued the iPhone 14, 14 Pro, and SE. In response, Apple has dropped prices on unlocked, Certified Refurbished, iPhone 14 models to a... Read more
B&H has 16-inch M4 Max MacBook Pros on sa...
B&H Photo is offering a $360-$410 discount on new 16-inch MacBook Pros with M4 Max CPUs right now. B&H offers free 1-2 day shipping to most US addresses: – 16″ M4 Max MacBook Pro (36GB/1TB/... Read more
Amazon is offering a $100 discount on the M4...
Amazon has the M4 Pro Mac mini discounted $100 off MSRP right now. Shipping is free. Their price is the lowest currently available for this popular mini: – Mac mini M4 Pro (24GB/512GB): $1299, $100... Read more
B&H continues to offer $150-$220 discount...
B&H Photo has 14-inch M4 MacBook Pros on sale for $150-$220 off MSRP. B&H offers free 1-2 day shipping to most US addresses: – 14″ M4 MacBook Pro (16GB/512GB): $1449, $150 off MSRP – 14″ M4... Read more

Jobs Board

All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.