
STM32 Keyboard
AeternusCo/STM32-Reference-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!

A crappy 14 button macropad, 2 of which are rotary encoders
MgBoard is an open-source printed circuit board by periodboards, from the periodboards/Magnesium repository on GitHub. It is a 2-layer board of 71.4 × 138.1 mm with 116 parts on 118 nets, routed with 1,409 tracks and 195 vias.
It is built around the 74HCT245PW, IS31FL3731-SALS2 and USBLC6-2SC6, with the WS2812B, DTC123JE and RB060MM-60TR among its other parts. Its parts include 37 diodes, 29 capacitors, 20 resistors, 15 switches and 5 ICs. It belongs with the keyboards and input boards and the STM32 boards of this library.
My crappy 14-key macropad that contains many mistakes in the design
Somehow in the many days that I had worked on routing the backlighting, I never noticed that I used the wrong LED footprint and so the leds are on the wrong side of the board
The power and ground were swapped on the WS2812, and therefore if you want to have underglow you need to use a bodge wire to connect data in to what was data out and rotate all of the LEDs accordingly
| Qty | Value | Footprint | References |
|---|---|---|---|
| 18 | 100nF | Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder | C1, C2, C3, C4, C11, C12, C14, C20, C21, C22, C23, C24, C25, C26, C27, C29 +2 |
| 15 | 1N4148 | Diode_SMD:D_SOD-123 | D2, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, D16, D17 |
| 12 | KEYSW | keyswitches:Kailh_socket_MX_optional_1u | K1, K2, K3, K4, K5, K6, K7, K8, K9, K10, K11, K12 |
| 12 | LED_RGBA | PeriodBoards:LED_RGBA_Reverse | D26, D27, D28, D29, D30, D31, D32, D33, D34, D35, D36, D37 |
| 8 | 10k | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R1, R2, R3, R4, R5, R6, R7, R8 |
| 8 | WS2812B | LED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mm | D18, D19, D20, D21, D22, D23, D24, D25 |
| 4 | 1uF | Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder | C7, C15, C19, C28 |
| 3 | 100k | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R12, R13, R15 |
| 3 | 20k | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R18, R19, R20 |
| 3 | 4.7nF | Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder | C13, C16, C18 |
| 3 | MountingHole | MountingHole:MountingHole_3.2mm_M3_ISO14580 | H1, H2, H3 |
| 2 | 1M | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R9, R14 |
| 2 | 4.7k | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R16, R17 |
| 2 | 4.7uF | Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder | C5, C8 |
| 2 | 5.1k | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R10, R11 |
| 2 | Rotary_Encoder_Switch | Rotary_Encoder:RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mm_1u | SW1, SW2 |
| 1 | 10nF | Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder | C10 |
| 1 | 10uF | Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder | C17 |
| 1 | 74HCT245PW | Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm | U1 |
| 1 | Conn_ARM_JTAG_SWD_10 | Connector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_Vertical | J2 |
| 1 | DTC123J | Package_TO_SOT_SMD:SOT-323_SC-70_Handsoldering | Q1 |
| 1 | IS31FL3731-SA | Package_SO:SSOP-28_5.3x10.2mm_P0.65mm | U5 |
| 1 | Logo | PeriodBoards:Mg | L1 |
| 1 | MCP1700-3302E_SOT23 | Package_TO_SOT_SMD:SOT-23_Handsoldering | U3 |
| 1 | MountingHole_Pad | MountingHole:MountingHole_3.2mm_M3_ISO14580_Pad | H4 |
| 1 | OLED_SCREEN_128x32 | PeriodBoards:OLED_SCREEN_128x32 | DS1 |
| 1 | PTC | Fuse:Fuse_1206_3216Metric_Pad1.42x1.75mm_HandSolder | F1 |
| 1 | RB060MM-60TR | Diode_SMD:D_SOD-123F | D3 |
| 1 | SMF9.0CA | Diode_SMD:D_SOD-123F | D1 |
| 1 | STM32F072CBUx | Package_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.6x5.6mm | U4 |
| 1 | SW_Push | Button_Switch_SMD:SW_SPST_SKQG_WithStem | SW3 |
| 1 | USBLC6-2SC6 | Package_TO_SOT_SMD:SOT-23-6_Handsoldering | U2 |
| 1 | USB_C_Receptacle_USB2.0 | Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J1 |

AeternusCo/STM32-Reference-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!

MasterSpoon/Ortho66_Optical
Ortho 66 Optical PCB using KeyChron low profile optical switches

CoffeeBreakKeyboards/kawa
A 32 key 'fixed split' keyboard heavily inspired by the Reviung keyboards by gtips.




joshajohnson/Hub20
Hub20 is a numpad with a bunch of features you never knew you needed.

It measures 71.4 × 138.1 mm and has 2 copper layers, 1.6 mm thick.
116 parts, built around the 74HCT245PW, IS31FL3731-SALS2, USBLC6-2SC6 and WS2812B. 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.
From the periodboards/Magnesium repository on GitHub, at the commit this page was made from: the board is MgBoard.kicad_pcb and its schematic AuxiliaryLEDs.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask periodboards before reusing the design.