Skip to the content
PCBKitNew board
2 layers271.8 × 103.9 mmHotswap ble, the printed circuit board in 3D

ZMK-based replacement PCB for Cornelius keyboard

Size
271.8 × 103.9 mm
Copper layers
2
Thickness
1.6 mm
Parts
146
Nets
110
Pads
761
Tracks, vias
991, 89
Pours
194
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
18 Feb 2024
Updated
5 Jan 2026

Overview

Hotswap ble is an open-source printed circuit board by ebastler, from the ebastler/cornholius repository on GitHub. It is a 2-layer board of 271.8 × 103.9 mm with 146 parts on 110 nets, routed with 991 tracks and 89 vias.

It is built around the 74LVC1G11GW, BQ24075RGT and SRV05-4, with the 1N4148WT, BLM15PX121SN1D11 and TYPE-C-31-M-12 among its other parts. Its parts include 49 diodes, 14 capacitors, 11 resistors, 5 ICs and 3 connectors. It belongs with the keyboards and input and radio and wireless boards and the nRF52 and nRF5x boards of this library.

Main components

6

README

readme.md

Cornholius Keyboard

Cornholius is, first and foremost, a Bluetooth Low Energy capable replacement PCB for the Foostan Cornelius. Key and connector positions as well as PCB outline and plate were derived from the original Cornelius repository, but altered to fit the scope of this project - Thank you for open sourcing these files! In accordance with the license chosen by foostan, this project was published under the same license: CC BY-NC-SA 4.0.

Parts of this project:

  • PCB [100%]
  • Plate [100%]
  • 3D printable cornelius/cornholius PCB compatible case [100%] - Published on Printables

Cornholius PCB

The PCB is designed to be 100% assemblable by jlcpcb in their "economic" PCBA option (without hotswap sockets), or the more expensive "standard" PCBA option incl. hotswap sockets. It uses an Ebyte nRF52840_E73-2G4M08S1C BLE module, which is part of their component library, so no external components must be ordered from other shops. This module is configured for full 2-stage DC-DC operation in high voltage mode for maximum battery life.

Battery management is handled by a TI BQ24075 battery management/power path IC, with a charge current of approx. 440 mA and all relevant protections in place. The PCB is designed for a HAC-006 (Nintendo Switch Joycon) battery, as replacement cells for it are affordable and easy to source, and are plug and play for Cornholius, incl. the right connector. It should lead to an estimated battery life of up to 8 months (according to ZMK power profiler).

If you want to use any other battery type, make sure it has a Molex Pico EZmate 2-pin connector, and the correct polarity. Connecting a battery with mismatched polarity may damage the PCB and can potentially turn into a fire hazard.

The 6th column on the PCB can be snapped off, turning it into a 5col PCB.

soldering sockets battery closeup

Programming

Flashing an nRF52840 forn the first time requires hardware tools. Joric wrote up a very good guide on how to program nRF52 series chips in the nrfmicro github wiki. If you have never flashed a nRF52 series chip before, I suggest reading it before proceeding to order any hardware.

The PCB features a TC2030 flashing header footprint, configured in TC2030-CTX-NL pinout. It should be possible to solder wires to this footprint and connect to a debug probe, but I have not tried.

Precompiled bootloader files can be found in the Github Actions tab of my fork of the Adafruit nRF52 Bootloader.

Once the PCBs have a bootloader, they can be programmed via a UF2 mass-storage-device bootloader. Double-tapping the reset button (or using keybinds, once ZMK is running) will send the device to bootloader.

Ordering

Gerber files and assembly files can be found in the hotswap_ble/fab subfolder. Use 1.6mm FR4 substrate.

The jlcpcb assembly files are tested and were working at the time when I ordered prototypes, however, jlcpcb sometimes changes part numbers, or parts run out of stock and need to be replaced by new parts. Please proceed with caution and carefully check both BOM and position/alignment/orientation of all components when uploading to their site.

Cornholius Plate

The plate is made from FR4 substrate, without any copper plating, to minimie interference with the antenna. It also has a hole above the PCB's status LED to keep it visible. While it is compatible with Cornelius cases, the outline and the gasket tabs were slightly altered from the original Cornelius plate to allow for o-ring mount in Cornholius.

Ordering

Gerber files and assembly files can be found in the plate_ble/fab subfolder. Use 1.6mm FR4 substrate.

Cornholius Case

For more information regarding the case and necessary mounting hardware, visit my Printables page. All files were published there, as well as a list of hardware needed for the assembly. The case will need a Cornholius plate for the o-ring mounting, regular Cornelius plates might fit but are untested.

Parts

146
QtyValueFootprintReferences
481N4148WTDiode_SMD:D_SOD-523D1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +32
48MXPCM_marbastlib-mx:SW_MX_HS_1uMX1, MX2, MX10, MX11, MX12, MX13, MX14, MX15, MX16, MX17, MX18, MX19, MX20, MX21, MX22, MX23 +32
64u7Capacitor_SMD:C_0402_1005MetricC1, C2, C4, C7, C10, C11
41uCapacitor_SMD:C_0402_1005MetricC3, C5, C8, C9
310kResistor_SMD:R_0402_1005MetricR3, R7, R8
31kResistor_SMD:R_0402_1005MetricR9, R10, R11
2100nCapacitor_SMD:C_0402_1005MetricC6, C14
212pCapacitor_SMD:C_0402_1005MetricC12, C13
25k1Resistor_SMD:R_0402_1005MetricR1, R2
110 uHInductor_SMD:L_0603_1608MetricL2
11k5Resistor_SMD:R_0402_1005MetricR5
12k2Resistor_SMD:R_0402_1005MetricR6
132.768 KHzCrystal:Crystal_SMD_2012-2Pin_2.0x1.2mmY1
147kResistor_SMD:R_0402_1005MetricR4
1500mAFuse:Fuse_0603_1608MetricF1
174LVC1G11Package_TO_SOT_SMD:SOT-363_SC-70-6U5
178171-0002PCM_marbastlib-various:Molex_Pico-EZmate_78171-0002_1x02-1MP_P1.20mm_VerticalJ2
1BLM15PX121SN1DInductor_SMD:L_0402_1005MetricL1
1BQ24075Package_DFN_QFN:VQFN-16-1EP_3x3mm_P0.5mm_EP1.6x1.6mmU2
1INDPCM_marbastlib-xp-various:LED_1206RLED1
1LOGOprojectlib:logo_silk_10G***
1MAX17048Package_DFN_QFN:DFN-8-1EP_2x2mm_P0.5mm_EP0.7x1.3mmU1
1RSTPCM_marbastlib-various:SW_T1A2QRSW1
1SRV05-4PCM_marbastlib-various:SOT-23-6-routableU3
1TC2030_SWDPCM_marbastlib-various:CON_TC2030_outlinedJ3
1TYPE-C-31-M-12PCM_marbastlib-various:USB_C_Receptacle_HRO_TYPE-C-31-M-12J1
1nRF52840_E73-2G4M08S1CPCM_marbastlib-xp-various:nRF52840_E73-2G4M08S1CU4

The 136 most common of 146 parts.

Questions

How big is the Hotswap ble PCB?

It measures 271.8 × 103.9 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Hotswap ble use?

146 parts, built around the 74LVC1G11GW, BQ24075RGT, SRV05-4 and 1N4148WT. 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 Hotswap ble KiCad files?

From the ebastler/cornholius repository on GitHub, at the commit this page was made from: the board is hotswap_ble/hotswap_ble.kicad_pcb and its schematic hotswap_ble/hotswap_ble.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Hotswap ble design in my own project?

Its repository states no licence, so its author keeps all rights: ask ebastler before reusing the design.

Similar boards

  • 2 layers94.4 × 72.4 mmPockey, the printed circuit board in 3D

    Pockey

    Hob-dev/Pockey

    A play on the word "Pocket", this keyboard is meant to be ultra-portable ultra-low profile using Cherry ULP, with a magnetic enclosure mechanism that let's you fit the keyboard in your pocket.

    57 parts1
  • 2 layers122.4 × 95 mmWoagboard, the printed circuit board in 3D

    Woagboard

    Suya1671/woagboard

    A (probably) bad idea of me trying to design a keyboard

    97 parts2
  • 4 layers47.8 × 89 mmCenere Mouse, the printed circuit board in 3D

    Cenere Mouse

    willwaush/Cenere-Mouse

    Open Source tri-Mode Mouse

    114 parts22
  • 2 layers100 × 86 mmGorilaz, the printed circuit board in 3D

    Gorilaz

    nol00p/Gorillaz

    pcb replacement for the kinesis adv2

    51 parts5
  • 2 layers319 × 95.6 mmOrthus, the printed circuit board in 3D

    Orthus

    Hob-dev/Orthus

    A highly portable split keyboard focused on feeling and sound.

    336 parts1
  • 2 layers337.5 × 121.9 mmWireless Alice, the printed circuit board in 3D

    Wireless Alice

    ojthetiny/Nerf-Alice

    nRF52840 Based Alice replacement PCB

    180 parts1GPL-3.0
  • 4 layers358.9 × 180.7 mmKeys, the printed circuit board in 3D

    Keys

    greifer500/Keyboard

    461 parts