Thpd kb01
tbumi·thpd-kb01
About the Thpd kb01 PCB
Thpd kb01 is an open source STM32 PCB design by tbumi, published on GitHub under the CERN-OHL-S-2.0 license. It is a 2-layer board measuring 388 × 116 mm, with 242 components from 118 distinct parts.
Its main chip is the STM32F072C8Tx, from the STM32 family. Other key parts include the XC6206PxxxMR, USBLC6-2SC6 and NHD-C12832A1Z. By type, the board carries 102 diodes, 21 capacitors, 9 resistors, 4 ICs, 3 switches and 1 connector.
It belongs with the keyboards and displays & leds designs in this gallery.
From the project
A custom-made mechanical keyboard
My very first mechanical keyboard designed from scratch!
The PCB design files are made with KiCad v5.1.12.
- STM32 Microcontroller (STM32F072C8T6) - Rotary encoder - USB-C connector - NHD-C12832A1Z (128x32 LCD) display (not confirmed working)
The case files are made with Inkscape. They are available in the case/ subdirectory.
This keyboard uses the QMK firmware. See the firmware in the fork here: https://github.com/tbumi/qmkfirmware/tree/thpd-kb01/keyboards/thpdkb01
Main components on the Thpd kb01
Thpd kb01 bill of materials (BOM)
242 components, 118 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | XC6206PxxxMR | SOT-23 | U1 |
| 1 | USBLC6-2SC6 | SOT-23-6 | U2 |
| 1 | NHD-C12832A1Z | NHD-C12832A1Z | U3 |
| 1 | STM32F072C8Tx | LQFP-48_7x7mm_P0.5mm | U4 |
| 1 | USB_C_Receptacle_USB2.0 | USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J1 |
| 1 | 500mA | Fuse_0603_1608Metric | F1 |
| 1 | Esc | SW_Cherry_MX_1.00u_Plate | MX1 |
| 1 | F1 | SW_Cherry_MX_1.00u_Plate | MX2 |
| 1 | F2 | SW_Cherry_MX_1.00u_Plate | MX3 |
| 1 | F3 | SW_Cherry_MX_1.00u_Plate | MX4 |
| 1 | F4 | SW_Cherry_MX_1.00u_Plate | MX5 |
| 1 | F5 | SW_Cherry_MX_1.00u_Plate | MX6 |
| 1 | F6 | SW_Cherry_MX_1.00u_Plate | MX7 |
| 1 | F7 | SW_Cherry_MX_1.00u_Plate | MX8 |
| 1 | F8 | SW_Cherry_MX_1.00u_Plate | MX9 |
| 1 | F9 | SW_Cherry_MX_1.00u_Plate | MX10 |
| 1 | F10 | SW_Cherry_MX_1.00u_Plate | MX11 |
| 1 | F11 | SW_Cherry_MX_1.00u_Plate | MX12 |
| 1 | F12 | SW_Cherry_MX_1.00u_Plate | MX13 |
| 1 | F13 | SW_Cherry_MX_1.00u_Plate | MX14 |
Show 98 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | F14 | SW_Cherry_MX_1.00u_Plate | MX15 |
| 1 | Delete | SW_Cherry_MX_1.00u_Plate | MX16 |
| 1 | Tilde/Backtick | SW_Cherry_MX_1.00u_Plate | MX17 |
| 1 | 1 | SW_Cherry_MX_1.00u_Plate | MX18 |
| 1 | 2 | SW_Cherry_MX_1.00u_Plate | MX19 |
| 1 | 3 | SW_Cherry_MX_1.00u_Plate | MX20 |
| 1 | 4 | SW_Cherry_MX_1.00u_Plate | MX21 |
| 1 | 5 | SW_Cherry_MX_1.00u_Plate | MX22 |
| 1 | 6 | SW_Cherry_MX_1.00u_Plate | MX23 |
| 1 | 7 | SW_Cherry_MX_1.00u_Plate | MX24 |
| 1 | 8 | SW_Cherry_MX_1.00u_Plate | MX25 |
| 1 | 9 | SW_Cherry_MX_1.00u_Plate | MX26 |
| 1 | 0 | SW_Cherry_MX_1.00u_Plate | MX27 |
| 1 | Hyphen | SW_Cherry_MX_1.00u_Plate | MX28 |
| 1 | Equals | SW_Cherry_MX_1.00u_Plate | MX29 |
| 1 | Backspace | SW_Cherry_MX_2.00u_Plate | MX30 |
| 1 | Home | SW_Cherry_MX_1.00u_Plate | MX31 |
| 1 | NumLock | SW_Cherry_MX_1.00u_Plate | MX32 |
| 1 | Num/ | SW_Cherry_MX_1.00u_Plate | MX33 |
| 1 | Num* | SW_Cherry_MX_1.00u_Plate | MX34 |
| 1 | Num- | SW_Cherry_MX_1.00u_Plate | MX35 |
| 1 | Tab | SW_Cherry_MX_1.50u_Plate | MX36 |
| 1 | Q | SW_Cherry_MX_1.00u_Plate | MX37 |
| 1 | W | SW_Cherry_MX_1.00u_Plate | MX38 |
| 1 | E | SW_Cherry_MX_1.00u_Plate | MX39 |
| 1 | R | SW_Cherry_MX_1.00u_Plate | MX40 |
| 1 | T | SW_Cherry_MX_1.00u_Plate | MX41 |
| 1 | Y | SW_Cherry_MX_1.00u_Plate | MX42 |
| 1 | U | SW_Cherry_MX_1.00u_Plate | MX43 |
| 1 | I | SW_Cherry_MX_1.00u_Plate | MX44 |
| 1 | O | SW_Cherry_MX_1.00u_Plate | MX45 |
| 1 | P | SW_Cherry_MX_1.00u_Plate | MX46 |
| 1 | { | SW_Cherry_MX_1.00u_Plate | MX47 |
| 1 | } | SW_Cherry_MX_1.00u_Plate | MX48 |
| 1 | Enter | SW_Cherry_MX_ISOEnter_Plate | MX49 |
| 1 | PageUp | SW_Cherry_MX_1.00u_Plate | MX50 |
| 1 | Num7 | SW_Cherry_MX_1.00u_Plate | MX51 |
| 1 | Num8 | SW_Cherry_MX_1.00u_Plate | MX52 |
| 1 | Num9 | SW_Cherry_MX_1.00u_Plate | MX53 |
| 1 | Num+ | SW_Cherry_MX_2.00u_Vertical_Plate | MX54 |
| 1 | Caps Lock | SW_Cherry_MX_1.75u_Plate | MX55 |
| 1 | A | SW_Cherry_MX_1.00u_Plate | MX56 |
| 1 | S | SW_Cherry_MX_1.00u_Plate | MX57 |
| 1 | D | SW_Cherry_MX_1.00u_Plate | MX58 |
| 1 | F | SW_Cherry_MX_1.00u_Plate | MX59 |
| 1 | G | SW_Cherry_MX_1.00u_Plate | MX60 |
| 1 | H | SW_Cherry_MX_1.00u_Plate | MX61 |
| 1 | J | SW_Cherry_MX_1.00u_Plate | MX62 |
| 1 | K | SW_Cherry_MX_1.00u_Plate | MX63 |
| 1 | L | SW_Cherry_MX_1.00u_Plate | MX64 |
| 1 | ; | SW_Cherry_MX_1.00u_Plate | MX65 |
| 1 | SingleQuote | SW_Cherry_MX_1.00u_Plate | MX66 |
| 1 | \ | SW_Cherry_MX_1.00u_Plate | MX67 |
| 1 | PageDown | SW_Cherry_MX_1.00u_Plate | MX68 |
| 1 | Num4 | SW_Cherry_MX_1.00u_Plate | MX69 |
| 1 | Num5 | SW_Cherry_MX_1.00u_Plate | MX70 |
| 1 | Num6 | SW_Cherry_MX_1.00u_Plate | MX71 |
| 1 | Shift | SW_Cherry_MX_2.25u_Plate | MX72 |
| 1 | Z | SW_Cherry_MX_1.00u_Plate | MX73 |
| 1 | X | SW_Cherry_MX_1.00u_Plate | MX74 |
| 1 | C | SW_Cherry_MX_1.00u_Plate | MX75 |
| 1 | V | SW_Cherry_MX_1.00u_Plate | MX76 |
| 1 | B | SW_Cherry_MX_1.00u_Plate | MX77 |
| 1 | N | SW_Cherry_MX_1.00u_Plate | MX78 |
| 1 | M | SW_Cherry_MX_1.00u_Plate | MX79 |
| 1 | < | SW_Cherry_MX_1.00u_Plate | MX80 |
| 1 | > | SW_Cherry_MX_1.00u_Plate | MX81 |
| 1 | ? | SW_Cherry_MX_1.00u_Plate | MX82 |
| 1 | RShift | SW_Cherry_MX_1.75u_Plate | MX83 |
| 1 | UpArrow | SW_Cherry_MX_1.00u_Plate | MX84 |
| 1 | End | SW_Cherry_MX_1.00u_Plate | MX85 |
| 1 | Num1 | SW_Cherry_MX_1.00u_Plate | MX86 |
| 1 | Num2 | SW_Cherry_MX_1.00u_Plate | MX87 |
| 1 | Num3 | SW_Cherry_MX_1.00u_Plate | MX88 |
| 1 | NumEnter | SW_Cherry_MX_2.00u_Vertical_Plate | MX89 |
| 1 | Ctrl | SW_Cherry_MX_1.25u_Plate | MX90 |
| 1 | Win | SW_Cherry_MX_1.25u_Plate | MX91 |
| 1 | Alt | SW_Cherry_MX_1.25u_Plate | MX92 |
| 1 | Spacebar | SW_Cherry_MX_6.25u_Plate | MX93 |
| 1 | RAlt | SW_Cherry_MX_1.00u_Plate | MX94 |
| 1 | RFn | SW_Cherry_MX_1.00u_Plate | MX95 |
| 1 | RCtrl | SW_Cherry_MX_1.00u_Plate | MX96 |
| 1 | LeftArrow | SW_Cherry_MX_1.00u_Plate | MX97 |
| 1 | DownArrow | SW_Cherry_MX_1.00u_Plate | MX98 |
| 1 | RightArrow | SW_Cherry_MX_1.00u_Plate | MX99 |
| 1 | Num0 | SW_Cherry_MX_2.00u_Plate | MX100 |
| 1 | Num. | SW_Cherry_MX_1.00u_Plate | MX101 |
| 1 | SW_Push | SW_Push_SPST_NO_Alps_SKRK | SW1 |
| 1 | SW_SPDT | SW_SPDT_K3-1296S-E1 | SW2 |
| 1 | Rotary_Encoder_Switch | RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mm | SW3 |
| 102 | D_Small | D_SOD-123 | D1, D2, D3, D4, D5, D6, D7, D8 +94 |
| 11 | 1uF | C_0402_1005Metric | C1, C2, C7, C12, C13, C14, C15, C16 +3 |
| 2 | 4.7uF | C_0402_1005Metric | C3, C9 |
| 5 | 100nF | C_0402_1005Metric | C4, C5, C6, C10, C11 |
| 3 | 10nF | C_0402_1005Metric | C8, C20, C21 |
| 2 | 5.1k | R_0402_1005Metric | R1, R2 |
| 2 | 22 | R_0402_1005Metric | R3, R4 |
| 5 | 10k | R_0603_1608Metric | R5, R6, R7, R8, R9 |
Thpd kb01 design files
The KiCad project lives in the tbumi/thpd-kb01 repository on GitHub; these links point at the commit this page was built from.
- Layoutthpd-kb01.kicad_pcb
Thpd kb01: common questions
What microcontroller does the Thpd kb01 use?
The Thpd kb01 is built around the STM32F072C8Tx, from the STM32 family.
How big is the Thpd kb01 PCB?
The Thpd kb01 measures 388 × 116 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Thpd kb01?
242 components, from 118 distinct parts. The full bill of materials is listed on this page.
Where can I download the Thpd kb01 design files?
From the tbumi/thpd-kb01 repository on GitHub, which has the KiCad layout; the links under Design files point to each one.
Can I use the Thpd kb01 design in my own project?
Yes, under the terms of its CERN-OHL-S-2.0 license, which tbumi chose for the repository.
Can I test firmware for the Thpd kb01 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
Type g
google
169 × 30 mm24 parts2LApache-2.02.9kSTM32
Type a
google
150 × 30 mm14 parts2LApache-2.02.9kSTM32
Base
google
52.3 × 52.3 mm36 parts2LApache-2.02.9kSTM32
Main panel
google
234 × 84 mm26 parts4LApache-2.02.9kSTM32
Type c
google
188 × 30 mm17 parts2LApache-2.02.9k