STM32-Reference-Keyboard
AeternusCo·STM32-Reference-Keyboard
About the STM32-Reference-Keyboard PCB
STM32-Reference-Keyboard is an open source STM32 PCB design by AeternusCo, published on GitHub under the Unlicense license. It is a 2-layer board measuring 38.1 × 38.9 mm, with 46 components from 27 distinct parts.
Its main chip is the STM32F072CBTx, from the STM32 family. Other key parts include the SRV05-4 and MCP1700T-3302E_SOT23. By type, the board carries 4 switches, 4 diodes, 3 ICs, 1 crystal and 1 fuse.
It belongs with the keyboards designs in this gallery.
From the project
This schematic has not been officially tested. It follows best practices and should work, but please confirm your design before placing a large order!
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.
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)

Main components on the STM32-Reference-Keyboard
STM32-Reference-Keyboard bill of materials (BOM)
46 components, 27 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | STM32F072CBTx | LQFP-48_7x7mm_P0.5mm | U1 |
| 1 | SRV05-4 | SOT-23-6 | U2 |
| 1 | MCP1700T-3302E_SOT23 | SOT-23 | U3 |
| 1 | 8MHz | Crystal_SMD_5032-2Pin_5.0x3.2mm | Y1 |
| 1 | SW_SPDT | SW_SPDT_PCM12 | BOOT1 |
| 3 | 1u | C_0603_1608Metric | C_LDO1, C_LDO2, C_VDDA2 |
| 1 | 4.7n | C_0603_1608Metric | C_SHIELD1 |
| 3 | 100n | C_0603_1608Metric | C_VDD1, C_VDD2, C_VDDIO2 |
| 2 | 4.7u | C_0603_1608Metric | C_VDD3, C_VDDIO1 |
| 1 | 10u | C_0603_1608Metric | C_VDDA1 |
| 2 | 30pF | C_0603_1608Metric | C_XTAL1, C_XTAL2 |
| 1 | RB060MM-60TR | D_SOD-123 | D_LDO1 |
| 1 | SMF9.0CA | D_SOD-123 | D_PWR1 |
| 1 | 500mA | Fuse_1206_3216Metric | F1 |
| 3 | Conn_01x03 | PinHeader_1x03_P2.54mm_Vertical | J_BOOT1, J_RGB1, J_SPLIT1 |
| 1 | Conn_01x04 | PinHeader_1x04_P2.54mm_Vertical | J_I2C1 |
| 1 | SWD | PinHeader_2x05_P2.54mm_Vertical | J_SWD1 |
| 1 | SW_Push | SW_SPST_SKQG_WithStem | RESET1 |
| 2 | 10k | R_0603_1608Metric | R_BOOT1, R_RGB1 |
| 2 | 5.1k | R_0603_1608Metric | R_CC1, R_CC2 |
Show 7 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 3 | 4.7k | R_0603_1608Metric | R_I2C1, R_I2C2, R_SPLIT1 |
| 2 | 100k | R_0603_1608Metric | R_LDO1, R_LDO2 |
| 1 | 1M | R_0603_1608Metric | R_SHIELD1 |
| 1 | 1.5k | R_0603_1608Metric | R_USB1 |
| 4 | SW_Push | MXOnly-1U-NoLED | SW1, SW2, SW3, SW4 |
| 1 | HRO-TYPE-C-31-M-12 | HRO-TYPE-C-31-M-12 | USB1 |
| 4 | CD4148W | D_0603_1608Metric | D1, D2, D3, D4 |
STM32-Reference-Keyboard design files
The KiCad project lives in the AeternusCo/STM32-Reference-Keyboard repository on GitHub; these links point at the commit this page was built from.
- LayoutSTM32_Keyboard.kicad_pcb
STM32-Reference-Keyboard: common questions
What microcontroller does the STM32-Reference-Keyboard use?
The STM32-Reference-Keyboard is built around the STM32F072CBTx, from the STM32 family.
How big is the STM32-Reference-Keyboard PCB?
The STM32-Reference-Keyboard measures 38.1 × 38.9 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the STM32-Reference-Keyboard?
46 components, from 27 distinct parts. The full bill of materials is listed on this page.
Where can I download the STM32-Reference-Keyboard design files?
From the AeternusCo/STM32-Reference-Keyboard repository on GitHub, which has the KiCad layout; the links under Design files point to each one.
Can I use the STM32-Reference-Keyboard design in my own project?
Yes, under the terms of its Unlicense license, which AeternusCo chose for the repository.
Can I test firmware for the STM32-Reference-Keyboard without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
AxxSolder
AxxAxx
39 × 82.5 mm122 parts2LGPL-3.01.7kSTM32
AIOC
skuep
21 × 31.5 mm47 parts2LMIT1.4kSTM32
Ferris
pierrechevalier83
208.8 × 86.8 mm102 parts2LSHL-2.11.3kSTM32
176 pin board
rusefi
61.8 × 73.2 mm76 parts2LGPL-3.01.2kSTM32
Brain board STM32F407
rusefi
61.8 × 73.2 mm69 parts2LGPL-3.01.2k