Skip to the content
2 layers71.4 × 138.1 mmMgBoard, the printed circuit board in 3D

A crappy 14 button macropad, 2 of which are rotary encoders

Size
71.4 × 138.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
116
Nets
118
Pads
517
Tracks, vias
1,409, 195
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
3 May 2022
Updated
14 Jul 2022

Overview

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.

Main components

7

README

README.md

Magnesium

My crappy 14-key macropad that contains many mistakes in the design

Errors

RGB backlighting doesn't work

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 WS2812 was wired incorrectly

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

Parts

116
QtyValueFootprintReferences
18100nFCapacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolderC1, C2, C3, C4, C11, C12, C14, C20, C21, C22, C23, C24, C25, C26, C27, C29 +2
151N4148Diode_SMD:D_SOD-123D2, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, D16, D17
12KEYSWkeyswitches:Kailh_socket_MX_optional_1uK1, K2, K3, K4, K5, K6, K7, K8, K9, K10, K11, K12
12LED_RGBAPeriodBoards:LED_RGBA_ReverseD26, D27, D28, D29, D30, D31, D32, D33, D34, D35, D36, D37
810kResistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderR1, R2, R3, R4, R5, R6, R7, R8
8WS2812BLED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mmD18, D19, D20, D21, D22, D23, D24, D25
41uFCapacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolderC7, C15, C19, C28
3100kResistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderR12, R13, R15
320kResistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderR18, R19, R20
34.7nFCapacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolderC13, C16, C18
3MountingHoleMountingHole:MountingHole_3.2mm_M3_ISO14580H1, H2, H3
21MResistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderR9, R14
24.7kResistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderR16, R17
24.7uFCapacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolderC5, C8
25.1kResistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderR10, R11
2Rotary_Encoder_SwitchRotary_Encoder:RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mm_1uSW1, SW2
110nFCapacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolderC10
110uFCapacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolderC17
174HCT245PWPackage_SO:TSSOP-20_4.4x6.5mm_P0.65mmU1
1Conn_ARM_JTAG_SWD_10Connector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_VerticalJ2
1DTC123JPackage_TO_SOT_SMD:SOT-323_SC-70_HandsolderingQ1
1IS31FL3731-SAPackage_SO:SSOP-28_5.3x10.2mm_P0.65mmU5
1LogoPeriodBoards:MgL1
1MCP1700-3302E_SOT23Package_TO_SOT_SMD:SOT-23_HandsolderingU3
1MountingHole_PadMountingHole:MountingHole_3.2mm_M3_ISO14580_PadH4
1OLED_SCREEN_128x32PeriodBoards:OLED_SCREEN_128x32DS1
1PTCFuse:Fuse_1206_3216Metric_Pad1.42x1.75mm_HandSolderF1
1RB060MM-60TRDiode_SMD:D_SOD-123FD3
1SMF9.0CADiode_SMD:D_SOD-123FD1
1STM32F072CBUxPackage_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.6x5.6mmU4
1SW_PushButton_Switch_SMD:SW_SPST_SKQG_WithStemSW3
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6_HandsolderingU2
1USB_C_Receptacle_USB2.0Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J1

Similar boards

  • 2 layers38.1 × 38.9 mmSTM32 Keyboard, the printed circuit board in 3D

    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!

    47 parts16Unlicense
  • 2 layers266.7 × 99.6 mmOrtho66 Optical, the printed circuit board in 3D

    Ortho66 Optical

    MasterSpoon/Ortho66_Optical

    Ortho 66 Optical PCB using KeyChron low profile optical switches

    385 parts7
  • 2 layers234.7 × 91.5 mmKawa, the printed circuit board in 3D

    Kawa

    CoffeeBreakKeyboards/kawa

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

    95 parts6
  • 2 layers299.2 × 124 mmVision, the printed circuit board in 3D

    Vision

    kusamakura/Vision-Alt

    Alternative PCB for the Vision keyboard

    145 partsMIT
  • 2 layers285 × 95.1 mmViper, the printed circuit board in 3D

    Viper

    isol33t/viper

    duck viper v1 pcb

    309 parts1MIT
  • 2 layers390 × 120.2 mmKeyboard, the printed circuit board in 3D

    Keyboard

    joshajohnson/entropy

    Strange keyboard with a left hand numpad

    334 parts97
  • 2 layers89 × 124 mmHub20, the printed circuit board in 3D

    Hub20

    joshajohnson/Hub20

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

    183 parts68
  • 2 layers389.5 × 155.3 mmPENIS, the printed circuit board in 3D

    PENIS

    JakeLikesCake/pcb_epic_new_inovation_system_aka_penis

    395 parts

Questions

How big is the MgBoard PCB?

It measures 71.4 × 138.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the MgBoard use?

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.

Where can I download the MgBoard KiCad files?

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.

Can I use the MgBoard design in my own project?

Its repository states no licence, so its author keeps all rights: ask periodboards before reusing the design.