Das kb4-bara2

karlp·das-kb4-bara2·hw/r2023-12/das-kb4-bara2.kicad_pcb

Das kb4-bara2 PCB layout, top view — open source STM32 board by karlp

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...

Das kb4-bara2, from the project README
From the project README

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.

QtyPartRefs
1
FE1.1S
FE1.1s
U1
1
STM32G431CBUX
STM32G431CBUx
U2
2
SRV05-4
U3, U4
1
XC6206P332MR
XC6206PxxxMR
U5
1
AP2552W6-7
AP2552W6
U6
1
SN65HVD230DR
SN65HVD230
U7
1
12MHZ
12MHz
Y1
2
902-141A1011D10100
USB_A
J1, J2
1
AFA07-S26FCC-00
Conn_01x26_Socket
J3
1
USB-TYPE-C-018
USB_C_Receptacle_USB2.0
J4
1
HB-PH9-12725PB2GOB
Conn_ARM_JTAG_SWD_10
J5
1
CONN_01X06_SOCKET
Conn_01x06_Socket
J6
1
CONN_02X04_ODD_EVEN
Conn_02x04_Odd_Even
J7
2
JUMPER_2_OPEN
Jumper_2_Open
JP1, JP2
1
GND
JP3
1
TS-1187A-B-A-B
PWR
SW1
1
TS-1187A-B-A-B
MUTE
SW2
1
TS-1187A-B-A-B
PREV
SW3
1
TS-1187A-B-A-B
PLAY_PAUSE
SW4
1
TS-1187A-B-A-B
NEXT
SW5
Show 15 more
QtyPartRefs
1
333-2SURC/S530-A3
NUM_LOCK
D1
1
333-2SURC/S530-A3
CAPS_LOCK
D2
1
333-2SURC/S530-A3
SCROLL_LOCK
D3
1
NUP2105LT1G
NUP2105L
D4
6
CC0603KRX7R9BB104
100nF
C1, C2, C4, C7, C9, C15
1
CL21A106KAYNNNE
10uF
C3
2
0603B103K500NT
10nF
C5, C6
5
CL10A105KB8NNNC
1uF
C8, C10, C12, C13, C14
2
CL31A107MQHNNNE
100uF
C11, C16
1
0603WAF2701T5E
2k7/1%
R1
12
0603WAF1002T5E
10k
R2, R5, R6, R7, R8, R11, R12, R13 +4
2
0603WAF5101T5E
5k1
R3, R4
4
0603WAF2200T5E
220
R9, R16, R17, R18
1
0603WAF0000T5E
0
R10
1
0603WAF1200T5E
120
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