Skip to content

Hardware Setup

Joel Spadin edited this page Aug 17, 2025 · 20 revisions

To build a Marten Numpad, you will need the following hardware:

Part Qty. Description
Assembled PCB 1 (TODO: link to files and ordering info)
MX switch 17-22 Number of switches required depends on the layout you choose
2U MX stabilizer 2-3 Only two stabilizers are required if using both 0 and 00 keys
Plate 1 ~1.5 mm thick (TODO: link to file and ordering info)
Case top 1 3D printed
Case bottom 1 3D printed
Power button 1 3D printed
Battery tray insert 1 Optional: 3D printed
M2 heat set insert 6 ~3.6 mm diameter, 3 mm thick. I used these from CNC Kitchen.
M2 x 4 mm screw 6 4 mm length, <= 3.5 mm head diameter
1/4" x 1/8" x 1/16" magnet 10 Rectangular neodymium magnets
6 mm bumpon 4 e.g. 3M SJ5382
Li-ion or LiPo battery 1 Optional: see battery notes below

You will also need the following tools:

Tool Description
J-Link debug probe Required to flash the PCB if you did not get a bootloader flashed by the factory
Tag-Connect TC2030-*-NL cable Select a cable that is compatible with your debug probe.
Screwdriver With bit compatible with your M2 screws
CA glue (super glue) or epoxy For attaching magnets
Masking tape For protecting the rest of the case from glue
Disposable gloves For protecting your hands from glue
Toothpick (or other non-ferrous tool) For adjusting magnet positions and removing excess glue
Soldering iron For installing heat set inserts
Soldering iron tip for M2 insert For installing heat set inserts. CNC Kitchen sells tips for various irons.
Kapton tape Used to protect the case when installing heat set inserts
Double-sided tape Optional: for holding in the battery tray insert

The PCB cannot be soldered by hand without a hot plate or oven. Using a PCB assembly service is recommended. See the (TODO: page on PCB assembly) page for information on the PCB.

Peripherals

Marten Numpad supports optional peripheral modules. Each peripheral requires extra hardware and tools that are listed on their respective pages.

Knobs

You can use up to two SKYLOONG keyboard knobs, one in each of the top-left and top-right corners. For a higher quality feel (and slightly taller knob), you can build your own encoder module that uses an EC11 encoder.

TODO: image of knob positions

Display

Currently, only a nice!view module has been tested, but the hardware supports using an OLED.

TODO: image of display positions

Custom Peripheral

The display connector provides 3.3V power, ground, and three GPIO pins. You can use this to add your own custom hardware instead of a display.

TODO: create a page with more details

Battery Selection

To use the keyboard wirelessly, you must use a 3.7 V Lithium-ion or LiPo battery. There are two connectors on the PCB for different types of batteries.

⚠️ Use only one battery. Do not use both connectors at the same time! ⚠️

  • The bottom connector fits a Nintendo Switch Joy-Con battery.
    • Note: the Switch 2 uses a different battery which does not have a compatible connector.
  • The top connector is a 2-pin JST SH connector. Take note of the polarity! I matched this to Nordic's nPM1300 evaluation kit, but there is no standard polarity for batteries with this connector.
    • If you get a battery with the wrong polarity, you can use a small screwdriver to remove each pin from the connector and swap the order, taking care not to allow the two pins to touch.

Flash Firmware

See Firmware Setup for instructions on flashing the bootloader and firmware. (This can still be done once the numpad is assembled, but it is easier to do beforehand.)

3D Printing

Case Top

Print in any rigid material with the top side down.

TODO: link to file

TODO: picture of print orientation

Case Bottom

Print in any rigid material with the bottom side down. No supports are necessary.

TODO: link to file

TODO: picture of print orientation

Power Button

Print in a somewhat flexible material (PLA, PETG, etc.) with the side with the tab down. Depending on your printer's capabilities, you may need a brim and/or supports for the screw holes.

TODO: link to file

TODO: picture of print orientation

Battery Tray Insert

If you are using a Nintendo Switch battery, the battery will be able to slide around in the battery tray. You can add this piece to hold it in place.

For best results, print in a soft material such as TPU to dampen the noise of the battery and insert moving around (or use an adhesive to hold things in place). Print with the bottom side down.

TODO: link to file

TODO: picture of print orientation

Assembly

TODO: add a diagram with top/bottom/NEWS indicators and use those terms throughout the instructions.

  1. Place two heat set inserts into the holes on the case bottom and use the soldering iron set to low heat to press them in. Stop when they are flush with the plastic.

    (TODO: add pictures)

  2. Place a couple layers of Kapton tape on the case top around the four holes for the heat set inserts. The soldering iron will come into contact with the walls here, so this is necessary to prevent melting the case.

    (TODO: add pictures)

  3. Place four heat set inserts into the holes on the case top and use the soldering iron set to low heat to press them in. Stop when they are flush with the plastic.

    (TODO: add pictures)

  4. You will probably get some glue residue on the case during the next step, so use masking tape to protect the outside surfaces of the case. You will almost certainly get glue on your fingers as well, so put on gloves.

  5. Place a drop of glue in one of the rectangular holes on the case bottom and insert a magnet into it. Repeat for the other four holes, making sure that all the magnets' poles are oriented in the same direction. Use a non-ferrous object such as a toothpick to wipe away any excess glue. Wait for the glue to cure.

    (TODO: add pictures)

  6. Repeat for the five rectangular holes on the case top, making sure that all the magnets' poles are oriented so that they attract the case bottom. Wait for the glue to cure.

    (TODO: add pictures)

  7. Place the power button into the slot in the case bottom, aligning the two circular holes with the heat set inserts. Use two M2 x 4 mm screws to attach it. Before tightening the screws, adjust the position of the button so it is centered and moves freely when pressed from the bottom.

    (TODO: add pictures)

  8. Place the plate into the case top in the orientation shown below. Use four M2 x 4 mm screws to attach it.

(TODO: add pictures)

  1. Attach the four bumpons to the circular indents on the bottom of the case bottom.

    (TODO: add pictures)

  2. If you are using the battery tray insert, place this into the battery tray at the back of the case bottom. You can use double-sided tape between the case and insert to hold it in place.

    (TODO: add pictures)

  3. If you want to add an encoder or display, pause here and attach the module(s) to the plate before continuing.

  4. Place the PCB below the plate and insert MX switches through the plate and into the PCB. Support the hot swap sockets from below with your hand while doing this.

(TODO: add pictures)

  1. If using a display module, open the latch on the FPC connector marked "display", then place the free end of FPC cable into the connector with the metal contact side towards the PCB. Close the latch.

  2. If using a battery, attach it to the PCB using one of the two connectors marked "battery".

  3. Put the case top and bottom together. Make sure the battery sits in the battery tray at the back of the case bottom.

(TODO: add pictures)

Disassembly

  1. If using a battery, flip the keyboard upside down to avoid putting strain on the battery wires when opening the case.

  2. Using the small notch on the bottom of the back of the case, pull the bottom of the case away from the top.

    (TODO: add pictures)

  3. Disconnect the battery from the PCB.

  4. You can now follow the assembly instructions in reverse to disassemble the rest of the keyboard.

Clone this wiki locally