Repository navigation
Hardware Setup: Encoder Module
To build the encoder module, you will need:
| Part | Qty. | Description |
|---|---|---|
| PCB | 1 | (TODO: link to files) |
| Top cover | 1 | 3D printed |
| Mounting clip | 1 | 3D printed |
| EC11 encoder | 1 | Bourns PEC11L-4115F-S0020 is the best part I've found for this. |
| Encoder knob | 1 | GMMK Pro knobs work well with the above encoder |
| Würth 9774005243R | 1 | PCB mount threaded spacer |
| Mill-Max 811-22-002-30-004101 | 2 | Pogo pins |
| Texas Instruments TPD1E10B06DYAR | 3 | Optional: adds some ESD protection |
| Kapton or other insulating tape | Needed if using a metal switch plate to prevent the PCB from shorting against it. | |
| M2 x 4 mm screw | 1 | 4 mm length, <= 3.5 mm head diameter |
You will also need the following tools:
| Tool | Description |
|---|---|
| Screwdriver | With bit compatible with your M2 screws |
| Flush cutters | For cutting the encoder legs short |
| Soldering iron, hot plate, or reflow oven | Fine tip recommended. A Soldering iron is required for one component. |
| Pogo pin positioning jig | 3D printed, makes using a soldering iron much easier |
Print in any material with the top side down.
TODO: link to file
TODO: picture of print orientation
Print in any rigid material with the bottom side down.
TODO: link to file
TODO: picture of print orientation
The soldering jig is useful when soldering the pogo pins with a soldering iron.
Print in any rigid material with the bottom side down. Materials that can withstand higher temperatures (PETG, etc.) are recommended.
TODO: link to file
TODO: picture of print orientation
If you choose to use a PCB assembly service, have them only assemble the bottom side. The top side requires modifying the encoder before soldering it. Jump to Encoder Soldering.
If you have a hot plate or reflow oven, start from Hot Plate or Reflow Oven.
If you are using only a soldering iron, start from Hand Soldering.
- Paste all the bottom side pads.
- Place the Würth threaded spacer and (optional) ESD protection diodes in the center.
- Place the two pairs of pogo pins on the sides.
- Solder the PCB.
Jump to Encoder Soldering.
-
Solder the Würth threaded spacer and (optional) ESD protection diodes to the PCB.
(TODO: add pictures)
-
Wait for the PCB to cool.
-
Place the two pairs of pogo pins onto the PCB, then place the positioning jig over top and secure it with an M2 screw.
(TODO: add pictures)
-
Solder the two exposed pogo pin pads.
-
Unscrew and remove the jig.
-
Solder the remaining two pogo pin pads.
Continue to Encoder Soldering.
-
Place the EC11 encoder onto the top of the PCB and note how far each of the five, smaller pin legs extend past the bottom of the PCB.
-
Remove the encoder and cut each of the pins short enough that they do not extend past the bottom of the PCB. Do not cut the two large mounting pins!
(TODO: add pictures)
-
Solder the encoder to the top of the PCB. Use the top side pads when soldering the five signal pins so the bottom side of the PCB remains flat. You can solder on either side of the mounting pins.
-
If using a metal switch plate, cover the bottom side pads of the five signal pins with Kapton tape.
(TODO: add pictures)
-
You will need access to the bottom of the switch plate. Remove the case bottom, switches, and PCB if those are installed.
-
Place the case top and switch plate facing upwards (as if you were typing on it).
(TODO: add pictures)
-
Orient the encoder module so the encoder shaft is pointing up. Rotate it so the pogo pins are facing the South side of the keyboard, then place it into the top-left or top-right hole in the switch plate. The pogo pins should go through the plate, while the encoder PCB should rest on the switch plate.
(TODO: add pictures)
-
Flip everything over so you can access the bottom of the switch plate.
-
Orient the mounting clip so the beveled side is towards you. Place it over the bottom of the encoder module. The circular hole in the center of the clip should line up with the screw threads on the encoder PCB, and the pogo pins should fit through the two rectangular holes.
(TODO: add pictures)
-
Align the mounting clip so it slots into the switch plate. The encoder module and mounting clip should no longer be able to move horizontally or vertically.
-
Attach the mounting clip to the encoder module using an M2 x 4 mm screw through the center hole. Stop tightening once you feel some resistance. Over tightening this screw may damage the PCB.
(TODO: add pictures)
-
Flip everything back over to access the top side.
-
Orient the top cover so the flat side is facing up. Place it over the encoder shaft and rotate it so it is flush with the three walls of the case (one side is slightly shorter so it won't interfere with the adjacent key cap). Press it down until the top is flush with the top of the case.
(TODO: add pictures)
-
Press the knob onto the encoder shaft. If using a knob with a set screw, rotate the set screw to align with the flat side of the encoder shaft and tighten it.
Return to step 12 of the numpad assembly instructions.