

Sreeram keyboard
Mechanical Keyboard using STM32F405RGT
- Size
- 333.8 × 162.2 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 216
- Nets
- 151
- Pads
- 1,149
- Tracks, vias
- 1,714, 107
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 12 Jun 2026
- Updated
- 13 Jun 2026
Overview
Sreeram keyboard is an open-source printed circuit board by theRealMantaflow, from the theRealMantaflow/custom_mechanical_keyboard repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 333.8 × 162.2 mm with 216 parts on 151 nets, routed with 1,714 tracks and 107 vias.
It is built around the AP2112K-3.3, USBLC6-2SC6 and TS02-66-70-BK-260-LCR-D. Its parts include 86 diodes, 17 capacitors, 7 resistors, 6 switches and 4 ICs. It belongs with the keyboards and input boards and the STM32 boards of this library.
Main components
3AP2112K-3.3
SOT253.3V 600mA CMOS Low Dropout Linear Regulator with EnableDiodes IncorporatedUncategorisedUSBLC6-2SC6
SOT-23-60.35pF、0.8pF 100nA 150W@8/20us 15V 2 5V 6A@8/20us 6V ESD SOT-23-6 ESD and Surge Protection (TVS/ESD) ROHSUMWESD And Surge Protection (TVS/ESD)TS02-66-70-BK-260-LCR-D
插件-30℃~+80℃ 12V 2.6N 50mA 60,000 Cycles PC Pin Round Button SPST Through Hole 插件 Tactile Switches ROHSCUITactile Switches
README
README.mdCustom STM32 Mechanical Keyboard
This repository contains the hardware design files (PCB schematics and mechanical enclosures) for a custom mechanical keyboard. The PCB is designed in KiCad, and the case/mechanical components are modeled in FreeCAD.
Features
- Microcontroller: STM32F405RGT
- Connectivity: USB-C 2.0 with dedicated ESD protection (USBLC6-2SC6)
- Switch Matrix: 6x16 layout supporting up to 96 keys
- Switches: Cherry MX compatible, utilizing Khail hot-swap sockets
- Anti-Ghosting: Per-key diodes for full N-Key Rollover (NKRO)
- Extras: Support for a rotary encoder and broken-out SWD/I2C pins for easy debugging and expansion
Repository Structure
/- Contains the KiCad project, schematics, and PCB layout files./case/- Contains the FreeCAD design files for the keyboard case and plate./pcbway_production/- Contains the gerber files.
Prerequisites & Environment Setup
Before opening the KiCad project files, you need to configure your KiCad environment with the appropriate custom libraries and plugins used in this design.
KiCad Package Installation
Follow these steps exactly to ensure all footprints and symbols load correctly:
- Add the ebastler repository:
- Open KiCad and go to the Plugin and Content Manager.
- Click on Manage Repositories (usually at the bottom left).
- Add a new repository with the following URL: https://raw.githubusercontent.com/ebastler/KiCad-repository/main/repository.json
- Install custom libraries:
- Switch the repository dropdown at the top of the Plugin Manager to the newly added
ebastlerrepo. - Find and install the
marbastlibpackage.
- Switch the repository dropdown at the top of the Plugin Manager to the newly added
- Switch back to the official repository:
- Change the repository dropdown back to the official KiCad repository.
- Install required keyboard packages:
- Search for and install the
Keyswitch KiCad Library. - (Optional) If you plan on modifying the PCB layout, install the
Keyboard footprints placerplugin to make routing and placing switches easier.
- Search for and install the
Once these packages are installed, you can safely open the .kicad_pro file.
Contributions
Feel free to fork this repository and submit pull requests if you have improvements for the PCB routing or case design.
My Ko-fi link if you wanna support my efforts: Kofi
Thanks
Inspired from: Modern Hobbyist
License
This project is licensed under the GNU General Public License v3.0 (GPL-3.0). See the LICENSE file for more details.
Parts
216| Qty | Value | Footprint | References |
|---|---|---|---|
| 86 | D | Diode_SMD:D_SOD-123 | D1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +70 |
| 86 | MX_SW_HS | PCM_marbastlib-mx:SW_MX_HS_S_CPG151101S11_1u | MX1, MX2, MX10, MX11, MX12, MX13, MX14, MX15, MX16, MX17, MX18, MX19, MX20, MX21, MX22, MX23 +70 |
| 8 | 0.1uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C1, C3, C5, C6, C7, C8, C13, C15 |
| 5 | MountingHole_2.2mm_M2 | MountingHole:MountingHole_2.2mm_M2 | M1, M3, M6, M7, M8 |
| 4 | 10k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R3, R5, R6, R7 |
| 4 | MX_stab | PCM_marbastlib-mx:STAB_MX_P_2u | S2, S3, S4, S5 |
| 3 | 10uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C2, C4, C14 |
| 2 | 0.01uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C16, C17 |
| 2 | 2.2uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C9, C10 |
| 2 | 22pF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C11, C12 |
| 2 | 5.1k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R1, R2 |
| 2 | Conn_01x10_Pin | Connector_PinHeader_2.54mm:PinHeader_1x10_P2.54mm_Vertical | J2, J3 |
| 1 | 100k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R4 |
| 1 | 12Mhz | KiCad_Crystal_12MHz:ABLS | Y1 |
| 1 | 550mA | Fuse:Fuse_1206_3216Metric_Pad1.42x1.75mm_HandSolder | F1 |
| 1 | AP2112K-3.3 | Mouser_VReg_SOT25:SOT95P285X140-5N | U2 |
| 1 | MX_stab | PCM_marbastlib-mx:STAB_MX_P_6.25u | S1 |
| 1 | PEC11L-4020F-S0020 | KiCad_PEC11L4120FS0020:PEC11L4120FS0020 | U4 |
| 1 | STM32F405RGTx | Package_QFP:LQFP-64_10x10mm_P0.5mm | U1 |
| 1 | TS02-66-70-BK-260-LCR-D | KiCad_PushButtons:TS0266100BK100LCRD | S6 |
| 1 | USBLC6-2SC6 | Package_TO_SOT_SMD:SOT-23-6 | U3 |
| 1 | USB_C_Receptacle_USB2.0_14P | Connector_USB:USB_C_Receptacle_GCT_USB4085 | J1 |
Similar boards
- 4 layers60.8 × 61.3 mm

- 2 layers390 × 120.2 mm

- 2 layers89 × 124 mm

Hub20
joshajohnson/Hub20
Hub20 is a numpad with a bunch of features you never knew you needed.
183 parts68 - 2 layers84.2 × 100 mm

Fabpack out v5 8
yuz207/agentpad13
agentpad13 — open-source 13-key macropad for agentic work (RP2040, vial-qmk, planar joystick, Raw HID agent-status protocol)
126 parts41 - 2 layers80.8 × 30 mm

Stm32 dev
brainstorm/bbtrackball-rs
Experimenting with Blackberry trackball for keyboard ergonomics
61 parts34 - 2 layers46.8 × 52 mm

Usb dev board
cs2dsb/stm32-usb.rs
A dev board designed to facilitate the development of USB firmware for STM32
57 parts30Apache-2.0 - 2 layers64.3 × 25.4 mm

- 2 layers114.1 × 94.7 mm

Questions
How big is the Sreeram keyboard PCB?
It measures 333.8 × 162.2 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Sreeram keyboard use?
216 parts, built around the AP2112K-3.3, USBLC6-2SC6 and TS02-66-70-BK-260-LCR-D. 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 Sreeram keyboard KiCad files?
From the theRealMantaflow/custom_mechanical_keyboard repository on GitHub, at the commit this page was made from: the board is sreeram_keyboard.kicad_pcb and its schematic keys_matrix.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Sreeram keyboard design in my own project?
Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).