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

BitTorrent Sync 2.0.82 - Sync files secu...
BitTorrent Sync allows you to sync unlimited files between your own devices, or share a folder with friends and family to automatically sync anything. File transfers are encrypted. Your information... Read more
Google Drive 1.20 - File backup and shar...
Google Drive is a place where you can create, share, collaborate, and keep all of your stuff. Whether you're working with a friend on a joint research project, planning a wedding with your fiancé, or... Read more
Simon 4.0.3 - Monitor changes and crashe...
Simon monitors websites and alerts you of crashes and changes. Select pages to monitor, choose your alert options, and customize your settings. Simon does the rest. Keep a watchful eye on your... Read more
Vitamin-R 2.23 - Personal productivity t...
Vitamin-R creates the optimal conditions for your brain to work at its best by structuring your work into short bursts of distraction-free, highly focused activity alternating with opportunities for... Read more
iDefrag 5.0.0 - Disk defragmentation and...
iDefrag helps defragment and optimize your disk for improved performance. Features include: Supports HFS and HFS+ (Mac OS Extended). Supports case sensitive and journaled filesystems. Supports... Read more
PCalc 4.2 - Full-featured scientific cal...
PCalc is a full-featured, scriptable scientific calculator with support for hexadecimal, octal, and binary calculations, as well as an RPN mode, programmable functions, and an extensive set of unit... Read more
FileZilla 3.10.2 - Fast and reliable FTP...
FileZilla (ported from Windows) is a fast and reliable FTP client and server with lots of useful features and an intuitive interface. Version 3.10.2: Note: Now requires a 64-bit Intel processor.... Read more
The Hit List 1.1.11 - Advanced reminder...
The Hit List manages the daily chaos of your modern life. It's easy to learn - it's as easy as making lists. And it's powerful enough to let you plan, then forget, then act when the time is right.... Read more
Bartender 1.2.32 - Organize your menu ba...
Bartender lets you organize your menu bar apps. Features: Lets you tidy your menu bar apps how you want. See your menu bar apps when you want. Hide the apps you need to run, but do not need to... Read more
ClamXav 2.7.5 - Free virus checker, base...
ClamXav is a free virus checker for OS X. It uses the tried, tested, and very popular ClamAV open source antivirus engine as a back end. I hope you like and use ClamXav a lot and that it helps keep... Read more

Dungeon Hunter 5 Coming on March 12
Gameloft has excitedly announced that Dungeon Hunter 5 is on its way! Once again, you will adventure across the land of Valenthia exploring dungeons and fighting monsters. The game will have a new asynchronous multiplayer mode called Strongholds... | Read more »
It Came From Canada: Jurojin: Immortal N...
At this point it’s pretty safe to say that no MOBA is going to dethrone Dota 2 and League of Legends anytime soon. After all, if Batman can’t do it, nobody can. However, with a genre as popular and profitable as this one, there’s still room for... | Read more »
Tiny Farm – Animals, Tractors and Advent...
Tiny Farm – Animals, Tractors and Adventures! Review By Amy Solomon on March 3rd, 2015 Our Rating: :: LIVELY LANDSCAPESUniversal App - Designed for iPhone and iPad Tiny Farm – Animals, Tractors and Adventures! includes farm-related... | Read more »
This Week at 148Apps: February 23-27, 20...
Final February Fun at 148Apps   How do you know what apps are worth your time and money? Just look to the review team at 148Apps. We sort through the chaos and find the apps you’re looking for. The ones we love become Editor’s Choice, standing out... | Read more »
GDC 2015 – Does Not Commute is Definitel...
GDC 2015 – Does Not Commute is Definitely a Game You Should Keep an Eye on Posted by Rob Rich on March 2nd, 2015 [ permalink ] We were teased about Mediocre Games’ (Smash Hit, | Read more »
F84 Games & POW! Announce Stan Lee V...
F84 Games has announced that it is working with legendary comic creator Stan Lee and POW! Entertainment to produce Stan Lee’s Hero Command. The game will be a action adventure of heroic proportions. | Read more »
Setlyst Keeps Your Set Straight So You C...
Setlyst Keeps Your Set Straight So You Can Focus On Rocking Out. Posted by Jessica Fisher on March 2nd, 2015 [ permalink ] Universal App - Designed for iPhone and iPad | Read more »
Space is Vast, So Space Agency Has a Vas...
Space is Vast, So Space Agency Has a Vast New Update! Posted by Jessica Fisher on March 2nd, 2015 [ permalink ] Universal App - Designed for iPhone and iPad | Read more »
Size DOES Matter Review
Size DOES Matter Review By Campbell Bird on March 2nd, 2015 Our Rating: :: HARD TO BEATUniversal App - Designed for iPhone and iPad This rhythm game has a unique control scheme and performance system that make it feel like a true... | Read more »
The first ever action 3D card battler Al...
On the other hand, you probably haven’t played an action 3D card battler – until now. Step forward, All Star Legion. All Star Legion is a 3D QTE-based action RPG card battler, but fear not – the game itself isn’t as convoluted as its description.... | Read more »

Price Scanner via MacPrices.net

Another Tranche Of IBM MobileFirst For iOS Ap...
IBM has announced the next expansion phase for  its IBM MobileFirst for iOS portfolio, with a troika of new apps to address key priorities for the Banking and Financial Services, Airline and Retail... Read more
Sale! 15-inch Retina MacBook Pros for up to $...
B&H Photo has the new 2014 15″ Retina MacBook Pros on sale for up to $250 off MSRP for a limited time. Shipping is free, and B&H charges NY sales tax only: - 15″ 2.2GHz Retina MacBook Pro: $... Read more
WaterField Designs Introduces the Minimalist...
With Apple Pay gaining popularity, Android Pay coming in May 2015, and loyalty cards and receipts that can be accessed from smartphones, San Francisco’s WaterField Designs observes that it may be... Read more
Sale! 15-inch 2.2GHz Retina MacBook Pro for $...
 Best Buy has the 15″ 2.2GHz Retina MacBook Pro on sale for $1774.99 $1799.99, or $225 off MSRP. Choose free home shipping or free local store pickup (if available). Price valid for online orders... Read more
13-inch 2.5GHz MacBook Pro (refurbished) avai...
The Apple Store has Apple Certified Refurbished 13″ 2.5GHz MacBook Pros available for $170 off the cost of new models. Apple’s one-year warranty is standard, and shipping is free: - 13″ 2.5GHz... Read more
13-inch 2.5GHz MacBook Pro on sale for $100 o...
B&H Photo has the 13″ 2.5GHz MacBook Pro on sale for $999.99 including free shipping plus NY sales tax only. Their price is $100 off MSRP. Read more
27-inch 3.5GHz 5K iMac in stock today and on...
 B&H Photo has the 27″ 3.5GHz 5K iMac in stock today and on sale for $2299 including free shipping plus NY sales tax only. Their price is $200 off MSRP, and it’s the lowest price available for... Read more
Apple Launches Free Web-Based Pages and Other...
Apple’s new Web-only access to iWork productivity apps is a free level of iCloud service available to anyone, including people who don’t own or use Apple devices. The service includes access to Apple... Read more
Survey Reveals Solid State Disk (SSD) Technol...
In a recent SSD technology use survey, Kroll Ontrack, a firm specializing in data recovery, found that while nearly 90 percent of respondents leverage the performance and reliability benefits of SSD... Read more
Save up to $600 with Apple refurbished Mac Pr...
The Apple Store is offering Apple Certified Refurbished Mac Pros for up to $600 off the cost of new models. An Apple one-year warranty is included with each Mac Pro, and shipping is free. The... Read more

Jobs Board

*Apple* Solutions Consultant - Retail Sales...
**Job Summary** As an Apple Solutions Consultant (ASC) you are the link between our customers and our products. Your role is to drive the Apple business in a retail Read more
*Apple* Pay Automation Engineer - iOS System...
**Job Summary** At Apple , great ideas have a way of becoming great products, services, and customer experiences very quickly. Bring passion and dedication to your job Read more
Sr. Technical Services Consultant, *Apple*...
**Job Summary** Apple Professional Services (APS) has an opening for a senior technical position that contributes to Apple 's efforts for strategic and transactional Read more
Event Director, *Apple* Retail Marketing -...
…This senior level position is responsible for leading and imagining the Apple Retail Team's global engagement strategy and team. Delivering an overarching brand Read more
*Apple* Pay - Site Reliability Engineer - Ap...
**Job Summary** Imagine what you could do here. At Apple , great ideas have a way of becoming great products, services, and customer experiences very quickly. Bring Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.