Skip to the content
PCBKitNew board
2 layers138.1 × 124.1 mmSwallowtail, the printed circuit board in 3D

DIY 60% column staggered split keyboard

Size
138.1 × 124.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
114
Nets
87
Pads
904
Tracks, vias
2,069, 258
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
1 Apr 2021
Updated
21 Oct 2021

Overview

Swallowtail is an open-source printed circuit board by takjn, from the takjn/swallowtail repository on GitHub, published under the MIT licence. It is a 2-layer board of 138.1 × 124.1 mm with 114 parts on 87 nets, routed with 2,069 tracks and 258 vias.

Its parts include 60 diodes, 30 switches, 2 connectors and 1 IC. It belongs with the keyboards and input boards and the AVR (ATmega, ATtiny) boards of this library.

README

README.md

Swallowtail

A split keyboard with 5x6 column staggered keys.

PXL_20210722_140038590

Parts List

Required

NameNumberNotes
PCB2This PCB is reversible. One is for left and the other is for right. You can use a gerber file in pcb/plot directory to order your one.
Top plate, bottom plate, OLED protection plate2 setsYou can see the svg file in plate directory. This is designed for 2mm acrylic plate. If you create your plate with another thickness or material, you may need to change spacer height and screw length.
3mm female-to-female spacer12https://www.aliexpress.com/item/33033691154.html
3mm female-to-male spacer16https://www.aliexpress.com/item/33033691154.html
8mm female-to-female spacer4https://www.aliexpress.com/item/33033691154.html
M2 3mm screw323.5mm will be better if you can get.
Diode 1N414860
Kailh PCB Socket60
2 pin Tactile switch2For reset switch
3.5mm TRRS jack2
Adhesive Rubber Cushions8
Pro micro2
Cherry MX switch (5 pin)60
Keycaps6058 1u keycaps and 2 1.5u (or up to 2.25u) keycaps
TRS (3 pole) audio cable1
Micro USB Cable1

Options

Spring loaded pin headers

Highly recommend for beginners. Some shop sell it with a Pro micro.

NameNumberNotes
Spring loaded 12-pin header (a.k.a. Conthrough)4https://talpkeyboard.net/items/5e056626d790db16e2889233
OLED

Just a decorative parts.

NameNumberNotes
SSD1306 OLED module2
4 pin low profile socket (low profile)2
4 pin low profile header (low profile)2
Back light

A led places in bottom (south) side of keycap. Transparent key switch is recommended.

NameNumberNotes
SK6812MINI-E60

Build Instructions

Preparation

QMK firmware

Swallowtail uses QMK firmware. See firmware section and flush a firmware to Pro micro in advance.

Pro micro

Pro micro USB connector is fragile. You can reinforce the connector with epoxy resin adhesive. Put a small amount of epoxy resin around the connector. Be careful not to flow it into the connector. Leave it until fixed.

PXL_20210722_074656557

Soldering

All parts have a position and orientation. See the photo to make sure it is placed correctly before soldering.

Maybe a good idea to use masking tape to hold parts before soldering.

Bridge jumpers

The PCB is reversible. Use one board for the left and the other for the right. Bridge five jumpers on each board. One should be "Left" and the other should be "Right".

PXL_20210712_115354749 PXL_20210712_131139684

Diode

Place diodes on the back side of the pcb. This is the same side on which you jumpered. Make sure the diode orientation is correct. All diodes orientation must be the same on a pcb.

PXL_20210712_125730064 PXL_20210712_120906744 PXL_20210712_121046019 PXL_20210712_121323080 PXL_20210712_132515537

Reset switch and TRRS jack

Solder a reset switch and TRRS jack on the front side of the pcb.

PXL_20210712_141435243 PXL_20210712_142053217

Pro micro

Insert pin headers from the surface on which parts are mounted. Solder it from the blank side of the Pro micro.

Insert a Pro micro into the place on the PCB. If you are using spring loaded pin headers, you don't need to solder it on the PCB so that you can remove Pro micro later easily. If you don't, solder it and cut pins a little not to conflict with the cover plate.

Test

Before moving to the next step, test the pcb once. Flash a firmware to the Pro micro. Then, make short-circuit on each keyswitch pads. You will see some characters in your computer.

Kailh PCB Socket

Place a PCB socket on the back side of pcb. Make sure the position is correct.

PXL_20210712_133130883 PXL_20210712_134213587

OLED (optional)

Place a pin socket on the front side and solder it. Then solder a pin header on a OLED.

Back light (optional)

See a LED. You will see one of pins' corner is cut. The pin should be placed on the bottom-left in where a "L" shape silk is printed.

PXL_20210714_134036294

LED can be broken easily by heat. Be careful not to take too long time to solder. I usually solder only one pin at once and go to the next LED. After all LEDs in a row is fixed, back to the first LED to solder the second pin and repeat the process. This will be good not to heat too much on a LED.

Assemble

Screw top plate spacers. 3mm female-to-male spacer should be on the front side. Attach a PCB and fix the PCB with a 3mm female-to-female spacer from the back side.

PXL_20210722_105505860 PXL_20210722_105544187 PXL_20210722_105746206

Screw OLED spacers. Each 8mm female-to-female spacer should be on the front side. Fix the spacer with a 3mm female-to-male spacer from the back side.

PXL_20210722_110209773

Put the bottom plate and OLED protection plate too.

PXL_20210722_110312921 PXL_20210722_111859473

Plug key switches on the top plate. Make sure all pins are straight before insert.

PXL_20210722_113817315

Firmware

You can use a prebuilt firmware in the firmware directory. Go to Pro Micro Web Updater and flash the hex file in the firmware directory.

The firmware supports Remap. You can customize key bindings easily without compile. Go to Remap and connect your keyboad.

Swallowtail uses QMK firmware. If you want to customize the firmware, see swallowtail branch in takjn/qmk_firmware.

License

Licensed under the MIT License.

Dependencies

This PCB uses foostan/kbd library.

Parts

114
QtyValueFootprintReferences
30Dkbd:D3_TH_SMD_v2D1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +14
30YS-SK6812MINI-Eswallowtail:YS-SK6812MINI-E_reversible_no_edge_cutsLED1, LED2, LED10, LED11, LED12, LED13, LED14, LED15, LED16, LED17, LED18, LED19, LED20, LED21, LED22, LED23 +14
29SW_PUSHkbd:CherryMX_MidHeight_HotswapSW1, SW2, SW10, SW11, SW12, SW13, SW14, SW15, SW16, SW17, SW18, SW19, SW20, SW21, SW22, SW23 +13
8Val**kbd:M2_Threads_v2Ref**, Ref**, Ref**, Ref**, Ref**, Ref**, Ref**, Ref**
2LOGOswallowtail:tiny_logoG***, G***
1Conn_01x04kbd:OLEDJ2
1JP_A_GNDkbd:JumperJP3
1JP_A_LEFTkbd:JumperJP1
1JP_A_SCLkbd:JumperJP5
1JP_A_SDAkbd:JumperJP6
1JP_A_VCCkbd:JumperJP4
1JP_B_GNDkbd:JumperJP10
1JP_B_RIGHTkbd:JumperJP2
1JP_B_SCLkbd:JumperJP8
1JP_B_SDAkbd:JumperJP7
1JP_B_VCCkbd:JumperJP9
1MJ-4PP-9kbd:MJ-4PP-9J1
1ProMicro_rswallowtail:ProMicro_v2_modU1
1RESET_SWkbd:ResetSWRSW1
1SW_PUSHkbd:CherryMX_MidHeight_Hotswap_1.5uSW30

Questions

How big is the Swallowtail PCB?

It measures 138.1 × 124.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Swallowtail use?

114 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Swallowtail KiCad files?

From the takjn/swallowtail repository on GitHub, at the commit this page was made from: the board is pcb/swallowtail.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Swallowtail design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 2 layers142.9 × 114.9 mmSofleKeyboard, the printed circuit board in 3D

    SofleKeyboard

    josefadamcik/SofleKeyboard

    A split keyboard based on Lily58, Crkbd and Helix keyboards

    114 parts2.6k
  • 2 layers208.8 × 393.9 mmFerris, the printed circuit board in 3D

    Ferris

    pierrechevalier83/ferris

    A low profile split keyboard designed to satisfy one single use case elegantly

    114 parts1.3k
  • 2 layers284 × 140.8 mmAtreis, the printed circuit board in 3D

    Atreis

    dekonnection/atreis

    Based on Keebio's Iris keyboard design files, modified to achieve the same layout in a single-piece form-factor.

    114 parts124MIT
  • 2 layers126.7 × 100.2 mmInput, the printed circuit board in 3D

    Input

    jamessa/Pragmatic

    A modular split keyboard kit.

    114 parts73MIT
  • 2 layers305 × 95 mmCK50, the printed circuit board in 3D

    CK50

    cfbender/keyboards

    A collection of all of my keyboard projects

    114 parts64MPL-2.0
  • 2 layers200 × 81 mmCutiepie2040, the printed circuit board in 3D

    Cutiepie2040

    flamwenco/cutiepie

    A funky little 10.5u with dual 1.75u spacebars.

    114 parts35GPL-3.0
  • 2 layers195.3 × 90.5 mmOrtho410TKL, the printed circuit board in 3D

    Ortho410TKL

    madebyrobq/Ortho4x10TKL

    An open source mechanical keyboard

    114 parts33MIT
  • 2 layers200 × 150 mmMSX ONE, the printed circuit board in 3D

    MSX ONE

    jdgabbard/MSX-ONE-Computer

    MSX 1 Computer from discrete parts

    114 parts28GPL-3.0