Das kb4-bara2
karlp·das-kb4-bara2·hw/r2023-12/das-kb4-bara2.kicad_pcb
About the Das kb4-bara2 PCB
Das kb4-bara2 is an open source STM32 PCB design by karlp, published on GitHub. It is a 4-layer board measuring 94 × 52 mm, with 64 components from 35 distinct parts.
Its main chip is the STM32G431CBUX, from the STM32 family. Other key parts include the FE1.1S, SRV05-4, XC6206P332MR, AP2552W6-7 and SN65HVD230DR. By type, the board carries 21 resistors, 16 capacitors, 7 ICs, 7 connectors, 5 switches and 4 diodes.
It belongs with the keyboards designs in this gallery.
From the project
das keyboard 4 replacement controller
The firmware works perfectly well though.
It wouldn't realllly be hard to make this a single sided assembly board, but, damnit, I didn't have time to go and do it all again, so I just decided to bite the bullet and get rev1 back. This ended up costing ~160 for 5 boards, plus shipping and taxes. (5 pcbs is ~$10 and 5 boards worth of parts s ~$28)
If it all works out, and I'm still crazy, I may make a rev2 of this, that simplifies this better, and uses single sided assembly to make it massively cheaper to have assembled. I don't really enjoy stencilling and soldering at home...

Main components on the Das kb4-bara2
Das kb4-bara2 bill of materials (BOM)
64 components, 35 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | FE1.1S FE1.1s | SSOP-28_3.9x9.9mm_P0.635mm | U1 |
| 1 | STM32G431CBUX STM32G431CBUx | QFN-48-1EP_7x7mm_P0.5mm_EP5.6x5.6mm | U2 |
| 2 | SRV05-4 | SOT-23-6 | U3, U4 |
| 1 | XC6206P332MR XC6206PxxxMR | SOT-23-3 | U5 |
| 1 | AP2552W6-7 AP2552W6 | SOT-23-6 | U6 |
| 1 | SN65HVD230DR SN65HVD230 | SOIC-8_3.9x4.9mm_P1.27mm | U7 |
| 1 | 12MHZ 12MHz | Crystal_SMD_3225-4Pin_3.2x2.5mm | Y1 |
| 2 | 902-141A1011D10100 USB_A | USB_A_Stewart_SS-52100-001_Horizontal | J1, J2 |
| 1 | AFA07-S26FCC-00 Conn_01x26_Socket | TE_2-84952-6_1x26-1MP_P1.0mm_Horizontal | J3 |
| 1 | USB-TYPE-C-018 USB_C_Receptacle_USB2.0 | USB_C_Receptacle_G-Switch_GT-USB-7010ASV | J4 |
| 1 | HB-PH9-12725PB2GOB Conn_ARM_JTAG_SWD_10 | PinHeader_2x05_P1.27mm_Vertical_SMD | J5 |
| 1 | CONN_01X06_SOCKET Conn_01x06_Socket | PinHeader_1x06_P2.54mm_Vertical | J6 |
| 1 | CONN_02X04_ODD_EVEN Conn_02x04_Odd_Even | PinHeader_2x04_P2.54mm_Vertical | J7 |
| 2 | JUMPER_2_OPEN Jumper_2_Open | PinHeader_1x02_P2.54mm_Vertical | JP1, JP2 |
| 1 | GND | PinHeader_1x02_P2.54mm_Vertical | JP3 |
| 1 | TS-1187A-B-A-B PWR | SW_SPST_TL3342 | SW1 |
| 1 | TS-1187A-B-A-B MUTE | SW_SPST_TL3342 | SW2 |
| 1 | TS-1187A-B-A-B PREV | SW_SPST_TL3342 | SW3 |
| 1 | TS-1187A-B-A-B PLAY_PAUSE | SW_SPST_TL3342 | SW4 |
| 1 | TS-1187A-B-A-B NEXT | SW_SPST_TL3342 | SW5 |
Show 15 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | 333-2SURC/S530-A3 NUM_LOCK | LED_D5.0mm | D1 |
| 1 | 333-2SURC/S530-A3 CAPS_LOCK | LED_D5.0mm | D2 |
| 1 | 333-2SURC/S530-A3 SCROLL_LOCK | LED_D5.0mm | D3 |
| 1 | NUP2105LT1G NUP2105L | SOT-23 | D4 |
| 6 | CC0603KRX7R9BB104 100nF | C_0603_1608Metric | C1, C2, C4, C7, C9, C15 |
| 1 | CL21A106KAYNNNE 10uF | C_0805_2012Metric | C3 |
| 2 | 0603B103K500NT 10nF | C_0603_1608Metric | C5, C6 |
| 5 | CL10A105KB8NNNC 1uF | C_0603_1608Metric | C8, C10, C12, C13, C14 |
| 2 | CL31A107MQHNNNE 100uF | C_1206_3216Metric | C11, C16 |
| 1 | 0603WAF2701T5E 2k7/1% | R_0603_1608Metric | R1 |
| 12 | 0603WAF1002T5E 10k | R_0603_1608Metric | R2, R5, R6, R7, R8, R11, R12, R13 +4 |
| 2 | 0603WAF5101T5E 5k1 | R_0603_1608Metric | R3, R4 |
| 4 | 0603WAF2200T5E 220 | R_0603_1608Metric | R9, R16, R17, R18 |
| 1 | 0603WAF0000T5E 0 | R_0603_1608Metric | R10 |
| 1 | 0603WAF1200T5E 120 | R_0603_1608Metric | R20 |
Das kb4-bara2 design files
The KiCad project lives in the karlp/das-kb4-bara2 repository on GitHub; these links point at the commit this page was built from.
Das kb4-bara2: common questions
What microcontroller does the Das kb4-bara2 use?
The Das kb4-bara2 is built around the STM32G431CBUX, from the STM32 family.
How big is the Das kb4-bara2 PCB?
The Das kb4-bara2 measures 94 × 52 mm, has 4 copper layers and is 1.596 mm thick.
How many components are on the Das kb4-bara2?
64 components, from 35 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the Das kb4-bara2 design files?
From the karlp/das-kb4-bara2 repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.
Can I use the Das kb4-bara2 design in my own project?
The repository has no license, so all rights stay with karlp. Use it as a reference, and ask the author before reusing the design.
Can I test firmware for the Das kb4-bara2 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.
More boards in das-kb4-bara2
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