unified_retro_keyboard/hardware/documents/Keyboard_build.md
2020-07-13 16:50:19 -05:00

8.0 KiB

Keyboard build notes

Preparing the Keyboard PCB

I recommend installing the diodes and resistors at ALL switch positions. Doing so will allow you to install additional switches later, and will give you flexibility to modify the keymap. Installing the components is easiest before the switches are installed.

  1. The keyboard is too big for most PCB holders. To keep the components flat as you insert them, I suggest taping the keyboard PCB to the edge of your bench, and install two rows at a time.

    Secure the PCB with space for the leads
  2. Using a lead-bender will help speed up the process and can help produce a neater result. However, neatness is not critical, as the diodes will be mostly hidden.

    Lead bending tool
  3. Check that the diodes are all facing the same (correct) direction.

  4. Once the diodes are inserted, I suggest using a piece of painters tape to keep then in place when you flip over the board for soldering.

    Use Painters' tape to secure components
  5. After installing the diodes, install all the through-hole resistors.

    All parts installed
  6. Finally, flip over the PCB and install the 40-pin connector on the back side (opposite side from the diodes and resistors).

    Connector is opposite side fromg the through-hole components

  7. It's important that the connector is seated flat to the PCB. To ensure a properly seated connector, first tack pins on opposite corners of the connector. Then, applying heat to one tacked pin, press the connector flat onto the PCB. You will feel a small "snap" as the connector seats. Repeat for the other tacked pin.

    Tack corners of connector for flush install

Preparing the Aligner (futaba)

Combining the PCB and aligner (futaba switches)

For futaba switches, no standoffs are required between the aligner and PCB, since the futaba switches provide sufficently sturdy mechanical support.

  1. For the futaba aligners, the simplest way to assemble is to install all the key switches in the aligner by press-fitting them into place. Install the switches necessary for the keyboard you plan to build. Shown below is the switch configuration for the Apple II+ keyboard.

  2. Install the cherry MX PCB-mount stabilizers onto the PCB.

    Install the stabilizers
  3. Line up the pins of the switches in the aligner assembly with the PCB. The two assemblies should "zip" together easily. If you feel resistance, take the assemblies apart and check the pins on all the switches to make sure none are bent.

  4. Once the assemblies are combined, it's important to make sure that the switches are seated flush on the PCB. To do this, first tack ONE pin on each of the four switches at the corners of the keyboard.

  5. Now, one by one, reheat each tacked pin while pressing the corresponding switch tightly against the PCB. You should feel a small "snap" as the key seats. Remove the heat, and repeat for the pins on all four corners. Finally, solder the second pin on each of the four corner keys.

  6. Repeat the above for the spacebar and the middle key on the top row.

    Tack down switches at the edges first
  7. Now, solder in all the other keys.

The Spacebar Stabilizer

Cherry MX keys

Stabilizer hardware

The keyboard is designed to accommodate PCB-mounted Cherry-MX compatible Spacebar aligner hardware. Most standard aligner kits come with pre-bend rods for a 6.25u spacebar. Since the 8u spacebar in the retro-keyboards, you will need to bend your own rod. I have included some sources for the rods below (1).

Bending the stabilizer rod

The aligner PCB includes a guide for bending the stabilizer.

  1. Start by creating a 90 degree bend about 2 cm from the end of the rod. This allows enough room to clip the end down to the correct length later.

    First Bend
  2. Insert the bent end into one guide hole, and, keeping the rod as flat to the board as possible, use the second guide hole to estimate the position of the second bend. Your estimate should be about 1mm short to allow for a bending radius. Once you have the pliers positioned on the rod, make your 90 degree bend.

    Insert Rod in Guide
  3. Look along the length of the rod to make sure that both "arms" are in line. If necessary, align the two arms by twisting about the axis of the axis of the rod.

  4. Test the fit of the rod by inserting it into the guide holes. Adjust as needed.

    Test Fit
  5. Clip the arms of the rod to about 11 mm.

    Clip Arms to Length
  6. Install the Cherry MX stabilizers to the board.

  7. Install the spacebar and insert the rod.

Futaba MD4-PCS keys

Stabilizer hardware

See the Cherry MX section above for notes on installing the Cherry MX stabilizer hardware and bending the spacebar stabilizer rod.

Longer Stabilizer posts for Futaba

The Futaba aligner PCB includes two stabilizer posts, allowing the futaba keys to be used with the Cherry MX PCB-mount stabilizers.

Futaba stabilizer adapter posts
  1. Remove both posts from the PCB. Newer revisions of the aligner board include perforations for easier break-away of the posts.

    Break away posts from aligner
  2. Be sure to file away any excess material from the breakaway tab.

    Broken offfiling Removed breakaway tabs

  3. File away the area marked "File to 1.5mm". The aligner includes a thickness gauge to test fitting, but it turns out that manufacturing tolerances are not adequate, and the gauge is not reliable. Use a spare key cap to test the thickness. The post should require some pressure to inert into the keycap base.

  4. The post should be just under 4mm wide. The post in this example is an early revision that was specified at 4mm, and ended being a sliver too wide to fit the keycap base. It required a alittle extra filing along one side to fit properly. The posts on newer revs are thinner and should not require extra filing to narrow side-to-side width.

    Posts before and after filing Posts ready to install
  5. The posts should be just tight enough to require a pair of pliers to insert. Use pliers to insert both posts fully. Use a ruler or caliper to ensure the prodruding portions of both posts are the same length.

Press the posts into the spacebar
  1. Install the spacebar center mount on the spacebar key, aligning the posts so that they slide into the PCB-mounted stabilizers.

  2. Holding down the spacebar, align the arms stabilizer rod with the holes in the posts, and then snap the rod into place at the front of the stabilizer mounts.

Stabilizer installed