

STM32 Keyboard
This schematic has not been officially tested. It follows best practices and should work, but please confirm your design before placing a large order!
- Size
- 38.1 × 38.9 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 47
- Nets
- 28
- Pads
- 202
- Tracks, vias
- 442, 41
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 23 Oct 2020
- Updated
- 27 Oct 2020
Overview
STM32 Keyboard is an open-source printed circuit board by AeternusCo, from the AeternusCo/STM32-Reference-Keyboard repository on GitHub, published under the Unlicense licence. It is a 2-layer board of 38.1 × 38.9 mm with 47 parts on 28 nets, routed with 442 tracks and 41 vias.
It is built around the SRV05-4, CD4148WP and RB060MM-60TR, with the SMF9.0CA among its other parts. Its parts include 4 diodes, 4 switches, 3 ICs, 1 crystal and 1 fuse. It belongs with the keyboards and input boards and the STM32 boards of this library.
Main components
4SRV05-4
SOT-23-6L-55℃~+150℃ 15V 1pF 4A 5V 5uA 6V 80W ESD Four channels IEC 61000-4-2、IEC 61000-4-5 Unidirectional SOT-23-6L ESD and Surge Protection (TVS/ESD) ROHShongjiachengESD And Surge Protection (TVS/ESD)CD4148WP
1206-55℃~+150℃ 1 Independent 1.25V@100mA 150mA 1A 400mW 4ns 5uA@75V 75V 1206 Switching Diodes ROHSLIZSwitching DiodesRB060MM-60TR
SOD-123F2A 30A 50uA@60V 60V 610mV@2A Independent SOD-123F Schottky Diodes ROHSROHM SemiconductorSchottky DiodesSMF9.0CA
SOD-123FLESD And Surge Protection (TVS/ESD)hongjiacheng
README
README.mdSTM32 Keyboard Reference Project
WARNING
This schematic has not been officially tested. It follows best practices and should work, but please confirm your design before placing a large order!
PCBs have been ordered to confirm the design works as intended, this warning will be removed once the design is verified.
Goals
The primary goal of this project is to provide a semi-opinionated starting point for people new to STM32 microcontrollers. A majority of commonly used keyboard features are broken out on pins that are best suited for the purpose. (RGB on SPI, split on USART, etc)
A secondary goal of this project is to provide a schematic that allows for swapping between a number of readily available STM32 MCUs based on need and availability.
An example BOM is listed below, while a majority of parts are JLCPCB basic parts, the goal of this project is not to provide a cheap project, but a common project.
Components used are 0603 or larger as to make hand solderability as easy as possible for the designer.
Libraries Used
The following non-standard libraries were used to design this project:
It is recommended to include these as global libraries in KiCAD, as they are very commonly used on most keyboard projects.
Pictures
Schematic

PCB


BOM
| Designator | Description | Package | LCSC Part Number |
|---|---|---|---|
| Y1 | 8MHz | SMD-5032_2P | C115962 |
| USB1 | HRO-TYPE-C-31-M-12 | HRO-TYPE-C-31-M-12 | C165948 |
| U1 | STM32F072CBTx | LQFP-48_7x7mm_P0.5mm | C81720 |
| U2 | SRV05-4 | SOT-23-6 | C85364 |
| U3 | MCP1700T-3302E_SOT23 | SOT-23 | C39051 |
| RESET1 | SW_Push | SMD-SW-4_5.1x5.1x1.5 | C318884 |
| R_SHIELD1 | 1M | 0603 | C22935 |
| R_RGB1,R_BOOT1 | 10k | 0603 | C25804 |
| R_LDO2,R_LDO1 | 100k | 0603 | C25803 |
| R_I2C2,R_I2C1 | 4.7k | 0603 | C23162 |
| R_CC2,R_CC1 | 5.1k | 0603 | C23186 |
| R_USB1 | 1.5k | 0603 | C328342 |
| F1 | 500mA | 1206 | C151162 |
| D_PWR1 | SMF9.0CA | SOD-123 | C123799 |
| D_LDO1 | RB060MM-60TR | SOD-123 | C115330 |
| D4,D3,D2,D1 | CD4148W | 0603 | C109002 |
| C_XTAL2,C_XTAL1 | 30pF | 0603 | C22397 |
| C_VDDIO2,C_VDD2,C_VDD1 | 100n | 0603 | C14663 |
| C_VDDIO1,C_VDD3 | 4.7u | 0603 | C19666 |
| C_VDDA2,C_LDO2,C_LDO1 | 1u | 0603 | C15849 |
| C_VDDA1 | 10u | 0603 | C19702 |
| C_SHIELD1 | 4.7n | 0603 | C53987 |
| BOOT1 | SW_SPDT | SW_SPDT_PCM12 | C221841 |
License
This project is licensed under the Unlicense. Please see LICENSE for more information.
Parts
47| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | CD4148W | Diode_SMD:D_0603_1608Metric | D1, D2, D3, D4 |
| 4 | SW_Push | MX_Only:MXOnly-1U-NoLED | SW1, SW2, SW3, SW4 |
| 3 | 100n | Capacitor_SMD:C_0603_1608Metric | C_VDD1, C_VDD2, C_VDDIO2 |
| 3 | 1u | Capacitor_SMD:C_0603_1608Metric | C_LDO1, C_LDO2, C_VDDA2 |
| 3 | 4.7k | Resistor_SMD:R_0603_1608Metric | R_I2C1, R_I2C2, R_SPLIT1 |
| 3 | Conn_01x03 | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J_BOOT1, J_RGB1, J_SPLIT1 |
| 2 | 100k | Resistor_SMD:R_0603_1608Metric | R_LDO1, R_LDO2 |
| 2 | 10k | Resistor_SMD:R_0603_1608Metric | R_BOOT1, R_RGB1 |
| 2 | 30pF | Capacitor_SMD:C_0603_1608Metric | C_XTAL1, C_XTAL2 |
| 2 | 4.7u | Capacitor_SMD:C_0603_1608Metric | C_VDD3, C_VDDIO1 |
| 2 | 5.1k | Resistor_SMD:R_0603_1608Metric | R_CC1, R_CC2 |
| 1 | 1.5k | Resistor_SMD:R_0603_1608Metric | R_USB1 |
| 1 | 10u | Capacitor_SMD:C_0603_1608Metric | C_VDDA1 |
| 1 | 1M | Resistor_SMD:R_0603_1608Metric | R_SHIELD1 |
| 1 | 4.7n | Capacitor_SMD:C_0603_1608Metric | C_SHIELD1 |
| 1 | 500mA | Fuse:Fuse_1206_3216Metric | F1 |
| 1 | 8MHz | Crystal:Crystal_SMD_5032-2Pin_5.0x3.2mm | Y1 |
| 1 | Chassis | MountingHole:MountingHole_2.2mm_M2_Pad_Via | CHASSIS1 |
| 1 | Conn_01x04 | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J_I2C1 |
| 1 | HRO-TYPE-C-31-M-12 | Type-C:HRO-TYPE-C-31-M-12 | USB1 |
| 1 | MCP1700T-3302E_SOT23 | Package_TO_SOT_SMD:SOT-23 | U3 |
| 1 | RB060MM-60TR | Diode_SMD:D_SOD-123 | D_LDO1 |
| 1 | SMF9.0CA | Diode_SMD:D_SOD-123 | D_PWR1 |
| 1 | SRV05-4 | Package_TO_SOT_SMD:SOT-23-6 | U2 |
| 1 | STM32F072CBTx | Package_QFP:LQFP-48_7x7mm_P0.5mm | U1 |
| 1 | SWD | Connector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_Vertical | J_SWD1 |
| 1 | SW_Push | Button_Switch_SMD:SW_SPST_SKQG_WithStem | RESET1 |
| 1 | SW_SPDT | Button_Switch_SMD:SW_SPDT_PCM12 | BOOT1 |
Questions
How big is the STM32 Keyboard PCB?
It measures 38.1 × 38.9 mm and has 2 copper layers, 1.6 mm thick.
What parts does the STM32 Keyboard use?
47 parts, built around the SRV05-4, CD4148WP, RB060MM-60TR and SMF9.0CA. 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 STM32 Keyboard KiCad files?
From the AeternusCo/STM32-Reference-Keyboard repository on GitHub, at the commit this page was made from: the board is STM32_Keyboard.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the STM32 Keyboard design in my own project?
Its repository publishes it under the Unlicense 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 layers71.4 × 138.1 mm

- 2 layers208.8 × 396.9 mm

Ferris
pierrechevalier83/ferris
A low profile split keyboard designed to satisfy one single use case elegantly
145 parts1.3k - 2 layers268 × 110.5 mm

Unicorn
yanghu/unicorne
A one-piece 40% ortho keyboard design inspired by crkbd, Kyria and Ferris.
157 parts63MIT - 2 layers133 × 114.7 mm

- 2 layers111 × 64 mm

Thinkpad USB keyboard PCB
bluepylons/A-Thinkpad-USB-keyboard
This is a project attempting to make a USB keyboard/Trackpoint controller and enclosure for the non-chiclet Thinkpad keyboard (from the 10/20 generation, such as the T410, W520, etc.).
95 parts9 - 2 layers234.7 × 91.5 mm

Kawa
CoffeeBreakKeyboards/kawa
A 32 key 'fixed split' keyboard heavily inspired by the Reviung keyboards by gtips.
95 parts6 - 2 layers265.2 × 79 mm

- 2 layers225 × 74.8 mm
