Close
0%
0%

Repairing a Broken Compaq Portable Keyboard

The Compaq Portable was Compaq's first product. It is an amazing machine, but its lousy keyboard doesn't hold up over time.

Similar projects worth following
Compaq's Portable computer started shipping in January of 1983, making it 32 years old this year. A few weeks ago I purchased one in an online auction for about $50. In many ways, it is an amazing piece of technology, and it is a testament to their build quality in that mine functions almost perfectly. Unfortunately a material design choice in their keyboard made it the weak point of the system.

It Begins!

A few weeks ago I was looking around one of my favorite online auction sites, http://www.shopgoodwill.com/ and came across an original Compaq Portable with the high bid at $5. I watched the auction, put in a bid, and won.

So. Long story short? The keyboard didn't work. So I fixed it. This is the story in four acts. I go through all of the trials and tribulations, and then show you how to replicate my results. Hopefully this can teach you something, as well as entertain. I have linked the story in its correct order below. Enjoy!

Step 0 - Introduction to the Compaq Portable

Step 1 - Researching the Problem

Step 2 - Defining the Problem

Step 3 - Trying to Fix the Problem

Step 4 - Final Solution


  • Step 4 - Final Solution

    leadacid4409/14/2015 at 01:15 4 comments

    Well, what happened in step 3 was a series of oversights on my part. Ultimately the reason my first version of the contact disks didn't work is that they weren't thick enough. The disks that I made using the craft foam ended up being a little over 2mm, or 1/8" of an inch, which apparently is not thick enough. I discovered this because I wasn't feeling anything at the end of the keystroke. There should have been *some* kind of bottom resistance when the contact disk touched the PCB, but all I got was the hard plastic-on-plastic of the key bottoming out in its spring.

    So foo...what to do? Well, in a fit of desperation, I simply super-glued two disks together and put that into one the keyboard switches. That worked!

    Well, kinda. I was getting a lot of duplicated or random characters. For example, if I tried to use the 'a' key, I would get a string of random characters. It was never consistent and could contain even non-text characters like CTRL. Because there was no pattern I made the assumption that it had to be the way I had assembled my experimental double-sandwich stack. I suspected that perhaps because it is a capacitance sensing keyboard, the double-sandwich method was causing some kind of capacitor effect? So I went forward and created about a half-dozen of the double stack disks by simply doubling up the foam, rather than just gluing two sandwiches together. I put version 2 of the craft foam disks into various spots on the keyboard and gave it a whirl. Annoyingly this did not help. The keys were triggering reliably (meaning the foam thickness was good) but they were producing random characters. Not exactly my definition of success. And on top of it all, I was getting very inconsistent key press requirements depending on the placement of the disk, indicating that my materials choice or disk diameter was probably wrong.

    Something had to be done.

    So at this point I decided to try making a set of disks out of the same foam that Compaq used originally. Based on the previous disks, I figured that they had used polyethylene foam, probably light density, and probably around 1/8". Measuring the old ones proved extremely difficult, as they didn't stay intact through the measuring process. Near as I could tell, they were a bit over 1/8".

    Now, a side note about foam. Ah foam. What a pain. I knew what I wanted, but had no idea what it was called! I'm sure there's someone in the foam industry saying that the types and materials and densities are all very different and I'm an idiot for getting them confused. Well, let me tell ya this, I didn't know my polyethylene from polystyrene from polypropylene. All I knew was that I wanted that light grey squashy foam that you sometimes get at the bottom of a box of stuff from electronics vendors. It couldn't be too stiff, it couldn't be too light.

    So I tore my house apart, thinking that I must have a sheet of it somewhere. It's one of those materials that you're pretty sure you have laying around but you can't be sure where you last saw it. The basement? Nope. The office? Nope. At work in that junk closet? Nope. Well, apparently I don't have anything even remotely like it, because I still have yet to see anything like this foam just laying around. Oh sure, I had thick stuff. Like 1/2" or larger, but nothing smaller. You could cut the foam thinner, but that seems like it would be a major pain. And even if I did, I certainly didn't have any that was new enough that it would be worth carving up to use in a project. It could disintegrate next year for all I know. I needed new stuff that's the exact size.

    So I started digging around on the Internet thinking SOMEONE must sell this kind of stuff. McMaster-Carr? Nope. Amazon? Not as far as I can tell. ULine? Nope, nothing this small. Finally I came across a company called Foam Factory Inc. They had exactly what I needed. I actually ended up buying a few different types, but ultimately what you want is 1/8" closed-cell polyethylene foam in the 2 lb density. This...

    Read more »

  • Step 3 - Trying to Fix the Problem

    leadacid4409/13/2015 at 21:09 0 comments

    When I discovered that the contact disks were failing on the keyboard, I decided that I wanted to try to make a new set. I chose this instead of coming up with some different method of achieving the same goal. In my research I had heard of several people doing kooky things, like wadding up tiny balls of tinfoil and putting them inside the keyboard. There were also anecdotes of people making new disks by taking stiff plastic and gluing it to foam and then gluing a thermal blanket or some kind of foil to the opposite side of that, effectively recreating the original sandwich. I decided to go down that path.

    So I dug up a thermal blanket that I had laying around, and tried poking it into the contacts on the keyboard. Letters appeared on the screen! Huzzah! That told me that the blanket would work, and probably more importantly, that the keyboard itself and its associated electronics still worked.

    So I decided that would be a feasible route, so I'll just cook up a new set of disks. How hard could it be? Famous last words.

    First things first, I took some measurements of the disks. Because of how flimsy and degraded they were, and the lousy ruler I had, I wasn't sure if they were metric or standard. Either 11mm or 7/16" in diameter.

    The next question was how to cut the materials into little disks. I had debated whether or not to cut the disks first and then glue them together or to somehow cut them after the fact. On one hand, cutting them before would allow the use of a vinyl cutter, a hole punch or something else like that, whereas a complete sandwich may be too big to fit in the tool. But on the other hand, gluing those disks together after the fact and getting the alignment right would be darn near impossible.

    I did some Google searching and came to the conclusion that there was no such thing as an 11mm OR 7/16" circular hole punch. Larger? Sure. Smaller? Sure. Goofy star-shapes? Sure. But round 11mm? Nope. And even if I DID find one that was the right size, often they had a very small (read: paper thickness) punch limit and cost a small fortune.

    Finally (and I honestly have no idea how I even got to this idea) I thought of a leather hole punch. I did some more Googling, and found that Harbor Freight sells a set of hollow punches intended for leather crafting, and included in the set is a 7/16" punch. Huzzah!

    So I dug round the house, found some old 3M transparency film I had laying round, grabbed my thermal blanket, a took a trip to Hobby Lobby to get some black craft foam and some spray adhesive, and rounded out the afternoon by going over to Harbor Freight and buying the punch set.

    I liked the transparency film as it was somewhat stiff, strong, but not brittle. Excellent for this project. Also, I didn't need to buy any. Always a plus. Honestly, I don't know why I have the stuff. Who uses transparencies anymore these days?

    The foam I grabbed was the thickest sheet foam I could find that was still kind of dense and what I figured would hold up to the abuse. I figured if anything this would be my weakest point, but also the cheapest part to change out if it didn't work.

    As for the glue, I went with spray adhesive. I would have gone with 3M Super 77 if I could have justified the high price of the can. So I went with TreeHouse Studio glue, which I can't seem to find anywhere online. It had the most VOC warnings compared to the others on the shelf, so I figured it had to be good.

    So I glued up a sandwich, stuck it between some heavy boxes and the floor to allow it to cure completely under pressure, and called it a night. Of particular note, when you're gluing something like this, I did the spray-on-and-then wait-a-minute process, which seemed to form a very good bond between the layers. Of particular note, if you are like me and have some...shall we say...hairy arms, be sure to wear a long shirt or something to cover your arms from the glue overspray. While it wasn't bad or anything...the atomized glue has a habit of condensing on your arm...

    Read more »

  • Step 0 - Introduction to the Compaq Portable

    leadacid4409/13/2015 at 16:49 2 comments

    So a few weeks ago I was looking around one of my favorite online auction sites, http://www.shopgoodwill.com/ and came across a Compaq Portable (the original) with bids going around $5. I watched the auction, put in a bid, and won it for $5, a hell of a deal. Well, unfortunately shipping that heavy beast cost me another $45. Whoops.

    So a few days later the monster is sitting on my kitchen table and I power it up. Amazingly enough, it seemed to survive the trip without issue. I half expected a broken yolk on the CRT or something. Anyway, the first power-up test worked well. No smoke, no fire. It beeped and wanted a boot disk. Success!

    Unfortunately I didn't have a 360k 5.25" bootable floppy around at the time, so I didn't get very far. I powered it off and put it aside.

    Fast forward one weekend trip to my storage unit and digging through some old boxes of stuff, I came back home armed with a bootable floppy and a old Mountain DriveCard. A kind of 20MB hard-drive-on-an-8-bit-ISA-card device, which I used to use way back in the day on my last 8088 IBM. I figured if it wouldn't boot from the floppy, the DriveCard should work.

    (It's amazing to think that this hokey thing from 1986 still works, and its practically my go-to device for debugging and testing vintage computers. What's even more amazing is the price the sucker commanded back in the day - $1,195! Apparently that was a excellent deal in those days! - Google Books - PC World Review in 1986)

    Well, surprise surprise, the floppy drive didn't work, and while I was mucking about with it, I started to suspect that there may be a problem with the keyboard, but I dismissed that thought at the time. So I pushed onward and put the DriveCard in. At the same time I poked around the system to see what other kinds of goodies were in it. Interestingly enough, not much had been changed over the years in it. Same 2x 5.25" floppies, a floppy/parallel controller, a CGA card, a old 2400 baud modem, and a Central Point TransCopy card. Interesting. I pulled out the TransCopy card, which goes in between the floppy controller and the drives themselves, thinking that might be causing it to not boot the floppy, but nope. No dice. Drat.

    There also was a strange interposer card on the CPU.

    Here it is removed from the system. Apparently this is a dClock RTC, sold by Microsync in about 1986. I have since removed the absolutely stone-dead lithium battery. Here's an ad for it from the March 1986 issue of InfoWorld. (As a side note-if anyone has any information about this device, or the software that's supposed to go with it, please contact me!)

    Anyway, so I went ahead and put the DriveCard in. Lo and behold, it booted! A click, a whir, a bunch of drive head read noise, and I was looking at an MS-DOS 5 prompt! But at this point it became obvious that the keyboard was unresponsive. Odd.

    I poked and prodded with the keyboard for some time, thinking there was a problem with the cable or with the controller, or with the keyboard itself. Nothing really changed, so it was time to hit the internet and find out what the problem may be.

  • Step 2 - Defining the Problem

    leadacid4409/13/2015 at 16:41 0 comments

    Well, now that I had a plan of attack, it was time to take things apart. I took to the keyboard and did a little cleaning while I was in there, and was somewhat surprised (even with the fore-knowledge of how it was supposed to work) at the construction.

    The Compaq Portable (and a few other Compaq systems from that era) uses an interesting arrangement for it's keyboard. The keyboard switches aren't switches in the traditional sense, like the mechanical, buckling spring, or even rubber-dome contacts like many of the other popular types available at the time or since. Instead, the keyboard behaves somewhat like the modern capacitive touchscreen, albeit on a much larger, much less transparent, scale.

    The keyboard has three components: the physical plastic keycap and traveling spring, the plastic-foam-mylar contact disk, and the keyboard PCB itself. As Philip describes in his article, and as the others at the Vintage Computer Forums mention, the keyboard doesn't necessarily sense an electrical contact, but senses the capacitance of that contact disk, which than triggers the input. Interestingly, human fingertips can also be used in lieu of the plastic keyboard parts.

    Here is a picture of my PCB. Note the contact surfaces for each key. Also note the pennies on top of the voltage regulator in the upper right corner. If you wish to test your keyboard while you have it taken apart, be sure to give some kind of heat-sink to that regulator so it doesn't burn up. A few coins worked well.

    Here is a picture of the underside of the keyboard. You can see the individual plastic keycap-spring combos, and the mylar side of the plastic-foam-mylar contact disks. You can already see that many of them are not in the best condition.


    Here you can see three old disks. The left most one is plastic side up, the middle one mylar side up, and the rightmost is on edge. These are the three best ones I could remove! As you can see on the left, the foam is already disintegrating.
    The idea is that this disk is connected to the bottom of the keycap, which is then held slightly above the PCB until it is depressed and contacts the surface. When it does, the mylar changes the capacitance value for that key, triggering the input.

    The foam allows a little give between the trigger of the input and the bottoming of the keystroke, in theory yielding a lighter touch than a purely mechanical switch would.

    Here is a closeup of the keycaps themselves. You can see the little white plastic clips that the disc snaps into, four per key. This will come up later.
    So overall, its a rather interesting approach, and I'm not sure why this was chosen over a more traditional setup. Cost I suppose. Perhaps weight as well?

    Well, either way, the crux of our problem is that plastc-foam-mylar sandwich I keep talking about. Well, what seems to happen is that over time, that foam will slowly degrade and either turn to dust or turn to a sticky goo. Mine had gone down the dust road. Perhaps more interesting was that when I picked up a piece of the mylar disc and tried to use it on the keyboard manually, it also did not trigger! So how to create a new set of disks?

  • Step 1 - Researching the Problem

    leadacid4409/13/2015 at 16:11 0 comments

    So now armed with the knowledge that the Portable probably maybe kinda works, I did what anyone would in my situation would, I set about Googling the snot out of the problem.

    I came across two major sources of information about the problem and potential solutions:

    1. Vintage Computer Forums
      1. There were several threads about the issue, which is apparently a widely known one. (Good! I probably have a known problem rather than something more exotic!) However the forums weren't especially helpful in actually resolving the problem, but rather the information was mixed in a mish-mash of guesswork, vague solutions, and anecdotes of other's half-formed solutions. Apparently at one point a guy was selling replacement parts, but people weren't recommending him anymore.
    2. Old, Broken Junk
      1. Philip has an excellent website, and he had gone through a similar situation as I with his Compaq Portable. That whole project was covered in a Hackaday retro post back in 2014. Thankfully I didn't have to do quite so much resurrection as he did. About halfway through his post he describes the problems he had with the keyboard.

    Ultimately both sources brought me to this conclusion:


    There are some little plastic-foam-foil disks in the keyboard that act as the keyboard's contact switches, and they have more than likely self-destucted over the years. They would need to be replaced.

View all 5 project logs

Enjoy this project?

Share

Discussions

Garbage wrote 03/09/2017 at 07:30 point

I literally signed up to congratulate you on your repairs and to say it made for entertaining reading (both the electric car and the compaq keyboard).

I was about to buy a compaq portable but now realize, WTH was I thinking.  I don't have the time, expertise or patience to do what you've done with these 2 things.  

You see, I was so excited to get an old pentium computer running, I had fleeting psychosis of nostalgia.   I am now cured!

Keep up the fight.  

  Are you sure? yes | no

Mark Jeronimus wrote 10/12/2015 at 12:19 point

Your keyboard PCB looks like two drops of water like my Wang Model 723 from 1987: (Drag image to address bar to enlarge)


It even has the same four-leaded rounded-box component. It doesn't have a voltage regulator. It just states 5V/0.1A on the back. The foam pads haven't degraded yet and the shiny foil is conductive. The PCB pads don't respond to human fingers.

The most interesting aspect about this keyboard, that NO modern keyboard has ever achieved without adding a boatload of diodes, is N-Key Rollover! (all keys are recognized no matter how many are pressed.) Is your keyboard also NKR?

Interestingly though, my Wang Model 724 is build like a classic keyboard with soldered switches:


The Model 723 also has a more classic layout, with the ESC key in the numpad:


  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates