Skip to the content
2 layers228.6 × 84.2 mmBluepill 40P Keyboard, the printed circuit board in 3D

Smallest keyboard format possible with cheap STM32F103C8T6 microcontroller

Size
228.6 × 84.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
107
Nets
89
Pads
489
Tracks, vias
817, 78
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
31 Mar 2026
Updated
4 Apr 2026

Overview

Bluepill 40P Keyboard is an open-source printed circuit board by fallingdowncat, from the fallingdowncat/40-Keyboard-with-STM32-Bluepill repository on GitHub, published under the MIT licence. It is a 2-layer board of 228.6 × 84.2 mm with 107 parts on 89 nets, routed with 817 tracks and 78 vias.

It is built around the STM32F103C8T6, DSK26 and USBLC6-2SC6Y. Its parts include 40 diodes, 40 switches, 12 capacitors, 6 resistors and 2 ICs. It belongs with the keyboards and input boards and the STM32 boards of this library.

Main components

3

README

README.md

40-Keyboard-with-STM32-Bluepill

Smallest keyboard format possible with cheap STM32F103C8T6 microcontroller

Features

  • STM32F103C8T6 (Bluepill) microcontroller
  • 40% keyboard layout
  • Designed in KiCad 9.0

Files

  • Bluepill 40P Keyboard.kicad_pcb - PCB layout
  • Bluepill 40P Keyboard.kicad_sch - Schematic
  • Bluepill 40P Keyboard.kicad_pro - Project file

#Preview {F0F5B5AE-ABF6-406E-8AE0-8C5BC32F7743} {1956511D-A115-432F-B440-80F3E09DFA8E} {7AE03541-43D2-4D8E-8AA5-CC378D46083F}

Bill of Materials (BOM)

DesignatorValue / DescriptionLCSC Part Number
STM32F103C8T6MicrocontrollerC8734
USB_C_Receptacle_USB2.0_16PUSB ReceptacleC393939
MCP1700T-3302E/TTVoltage RegulatorC39051
USBLC6-2SC6YUSB ESD ProtectionC5310974
Conn_01x04_Pin4-Pin Header (mounting holes only)—
ABM3-8.000MHz8 MHz CrystalC144380
DSK26Schottky DiodeC50553
SW_Push (×40)Keyboard SwitchesAny Cherry MX compatible
SW_PushReset ButtonC720477
D1–D40Keyboard DiodesC83528
C1, C2, C61µF CapacitorC215803
C3, C427pF CapacitorC1808
C510µF CapacitorC15850
C7, C10, C134.7µF CapacitorC1779
C8, C9, C11100nF CapacitorC1711
R2, R7100kΩ ResistorC149504
R3, R45.1kΩ Resistor (CC pull-down)C114539
R5, R622Ω Resistor (USB D+/D−)C2907310

Reminder

The schematic should technically work, but still not tested by printing the actual PCB board. When PCB arrives, this part of the post will be edited.

License

This project is licensed under the MIT license

Parts

107
QtyValueFootprintReferences
40DDiode_SMD:D_SOD-123D1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +24
32SW_PushPCM_Switch_Keyboard_Hotswap_Kailh:SW_Hotswap_Kailh_MX_1.00uSW1, SW2, SW10, SW11, SW12, SW14, SW15, SW16, SW17, SW18, SW19, SW20, SW21, SW22, SW25, SW26 +16
5SW_PushPCM_Switch_Keyboard_Hotswap_Kailh:SW_Hotswap_Kailh_MX_1.25uSW13, SW33, SW35, SW39, SW40
3100nPCM_JLCPCB:C_0805C8, C9, C11
31uPCM_JLCPCB:C_0805C1, C2, C6
34.7uPCM_JLCPCB:C_0805C7, C10, C13
2100kPCM_JLCPCB:R_0805R2, R7
222PCM_JLCPCB:R_0805R5, R6
227pPCM_JLCPCB:C_0805C3, C4
25.1kPCM_JLCPCB:R_0805R3, R4
2SW_PushPCM_Switch_Keyboard_Hotswap_Kailh:SW_Hotswap_Kailh_MX_1.75uSW23, SW24
110uPCM_JLCPCB:C_0805C5
1ABM3-8.000MHZCrystal:Crystal_SMD_5032-2Pin_5.0x3.2mmY1
1Conn_01x04_PinConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ2
1DSK26PCM_JLCPCB:D_SOD-123FLDD24
1MCP1700x-330xxTTPackage_TO_SOT_SMD:SOT-23U1
1STM32F103C8T6PCM_JLCPCB:LQFP-48_7x7mm_P0.5mmU3
1SW_PushKiCAD footprints:SW_TS-1088-AR02016SWW1
1SW_PushPCM_Switch_Keyboard_Hotswap_Kailh:SW_Hotswap_Kailh_MX_6.25uSW38
1USBLC6-2SC6YKiCAD footprints:SOT95P280X145-6NDD2
1USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalJ1

The 106 most common of 107 parts.

Similar boards

  • 2 layers40 × 40 mmIkoka nano meshtastic device, the printed circuit board in 3D

    Ikoka nano meshtastic device

    ndoo/ikoka-nano-meshtastic-device

    A Meshtastic device based on the Seeed Studio XIAO nRF52840 and EBYTE E22-XXXMXXS series LoRa modules. Pinout matches the Meshtastic xiaoble variant.

    22 parts104CERN-OHL-P-2.0
  • 2 layers47 × 27.7 mmBirbMesh One, the printed circuit board in 3D

    BirbMesh One

    KokoSoft/BirbMesh-One

    Compact 1 W Meshtastic node based on the nRF52840 ProMicro. Multiple configuration options, proper power-supply design, optional LCD, battery monitoring, and support for E22(M), Ra‑01SH‑P, and HT‑RA62 radio modules.

    50 parts7CERN-OHL-S-2.0
  • 2 layers49.6 × 43.6 mmA1-Toolhead Board, the printed circuit board in 3D

    A1-Toolhead Board

    DevCyclonekitten/Bambu-A1-Klipper

    A repository about the development of modifying a bambu labs a1 printer to run on klipper

    74 parts4GPL-3.0
  • 2 layers40 × 40 mmIkoka NanoX, the printed circuit board in 3D

    Ikoka NanoX

    YuriySm/Ikoka-NanoX-Meshtastic-Device

    Small 1W LoRA on Seeed Studio XIAO nRF52840 PCB for Meshtastic (fork of Ikoka Nano)

    33 parts3GPL-3.0
  • 4 layers120 × 100 mmIO LINK, the printed circuit board in 3D

    IO LINK

    ucandevices/IO-LINK-Covnerter

    172 parts6MIT
  • 2 layers86.2 × 50.2 mmMostlyBuildsSpeakerPod, the printed circuit board in 3D

    MostlyBuildsSpeakerPod

    MostlyBuilds/speaker-pod-pcb

    This is a PCB design for an ESP32-based speaker controller

    93 parts3CC-BY-SA-4.0
  • 2 layers23 × 52 mmDevboard, the printed circuit board in 3D

    Devboard

    zPirroZ3007/devboard

    Breadboard-friendly STM32F411 development board with USB-C support.

    24 parts2
  • 2 layers77.5 × 83 mmProject 2.0, the printed circuit board in 3D

    Project 2.0

    changl21/ECE445

    61 parts

Questions

How big is the Bluepill 40P Keyboard PCB?

It measures 228.6 × 84.2 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Bluepill 40P Keyboard use?

107 parts, built around the STM32F103C8T6, DSK26 and USBLC6-2SC6Y. 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 Bluepill 40P Keyboard KiCad files?

From the fallingdowncat/40-Keyboard-with-STM32-Bluepill repository on GitHub, at the commit this page was made from: the board is Bluepill 40P Keyboard.kicad_pcb and its schematic Bluepill 40P Keyboard.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Bluepill 40P Keyboard 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).