Skip to the content
2 layers245.3 × 78.6 mmSg48key2, the printed circuit board in 3D

This repository was created to manage the circuitry and firmware for the keyboards I designed. The firmware is created using sago35/tinygo-keyboard.

Size
245.3 × 78.6 mm
Copper layers
2
Thickness
1.6 mm
Parts
158
Nets
118
Pads
727
Tracks, vias
2,449, 135
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
12 Mar 2024
Updated
4 Oct 2026

Overview

Sg48key2 is an open-source printed circuit board by sago35, from the sago35/keyboards repository on GitHub, published under the MIT licence. It is a 2-layer board of 245.3 × 78.6 mm with 158 parts on 118 nets, routed with 2,449 tracks and 135 vias.

It is built around the RKJXV122400R, RP2040-ZERO and 1N4148W. Its parts include 103 diodes, 46 switches and 3 ICs. It belongs with the RP2040 boards of this library.

Main components

3

README

README.md

keyboards

This repository was created to manage the circuitry and firmware for the keyboards I designed.
The firmware is created using sago35/tinygo-keyboard.

sg24

zero-kb02/

pinout

NamePinInfo
VR_BTNmachine.GPIO0InputPullup
WS2812machine.GPIO1Output
ROT_BTN1machine.GPIO2InputPullup
ROT_A1machine.GPIO3InputPullup
ROT_B1machine.GPIO4InputPullup
COL1machine.GPIO5Output
COL2machine.GPIO6Output
COL3machine.GPIO7Output
COL4machine.GPIO8Output
ROW1machine.GPIO9InputPulldown
ROW2machine.GPIO10InputPulldown
ROW3machine.GPIO11InputPulldown
SDA0_TX0machine.GPIO12I2C SDA
SCL0_RX0machine.GPIO13I2C SCL
EX01machine.GPIO14GPIO
EX02machine.GPIO15GPIO
EX03machine.GPIO26GPIO / ADC
EX04machine.GPIO27GPIO / ADC
VR_Ymachine.GPIO28ADC
VR_Xmachine.GPIO29ADC

matrix and leds

The image below represents the relationship between the COL and ROW of the MATRIX wiring, as well as the order of the LEDs. It was created by rdon_key.

sg48key2

  • kicanvas
    • Configuration of U3 is incorrect and needs to be fixed.

conf2025badge

This is the badge for TinyGo Conference 2025 in JAPAN.

No品名個数備考
1基板1
2XIAO RP20401
3ジョイスティック1
4OLED 液晶1SSD1306 128x64
5プルアップ抵抗23.3K (1K – 10K)
6キースイッチ2
7キーキャップ2
8キーソケット2MX socket
9ロータリーエンコーダー1EC11 互換、20mm Plum
10RGB LED2SK6812MINI-E
11ブザー1
12エンコーダーノブ1
13ハット1ジョイスティック用
14スイッチプレート1
15ボトムプレート1
16木ねじ 2.1×102

gocon2026badge

This is the badge for Go Conference 2026.

No品名個数備考
1基板1
2RP2040-Zero1Waveshare
3TFT 液晶1ST7789 1.54 インチ 240x240 SPI
4RGB LED16SK6812MINI-E、5 個入りなので注意
5タクトスイッチ56mm 角、高さ 5mm
6Grove コネクタ2I2C / UART

pinout

NamePinInfo
BTN_Amachine.GPIO3InputPullup
BTN_Bmachine.GPIO6InputPullup (未搭載)
BTN_Rmachine.GPIO7InputPullup
BTN_Umachine.GPIO8InputPullup
WS2812machine.GPIO9Output (16 LEDs)
LCD SCKmachine.GPIO10SPI1 SCK
LCD SDOmachine.GPIO11SPI1 SDO
LCD BLmachine.GPIO12Output
LCD CSmachine.GPIO13Output
LCD DCmachine.GPIO14Output
LCD RSTmachine.GPIO15Output
BTN_Lmachine.GPIO28InputPullup
BTN_Dmachine.GPIO29InputPullup

firmware

text
tinygo flash --target waveshare-rp2040-zero --size short --stack-size 8kb ./gocon2026badge/firmware/
Button on badge screenScreen
ATimetable
UBreakout
RCyclone game
D3D demo
LName tag (D shows the QR code)

Press A on each screen to go back to the badge screen.

Parts

158
QtyValueFootprintReferences
551N4148Wfoostan/kbd:D3_SMD_v2D1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +39
48YS-SK6812MINI-Efoostan/kbd:YS-SK6812MINI-ELED1, LED2, LED10, LED11, LED12, LED13, LED14, LED15, LED16, LED17, LED18, LED19, LED20, LED21, LED22, LED23 +32
46SW_PUSHsglib:ChocV1_V2_HotswapSW1, SW2, SW10, SW11, SW12, SW13, SW14, SW15, SW16, SW17, SW18, SW19, SW20, SW21, SW22, SW23 +30
6MountingHolesglib:Hole-2.5mmH1, H2, H3, H4, H5, H6
2RKJXV122400Rsglib:FJ08K-S_ChocV1_V2_HotswapU2, U3
1rp2040-zerosglib:rp2040-zero_wide_with_choc_socketU1

More from sago35/keyboards

5
  • 2 layers95.3 × 95.3 mmPanel25, the printed circuit board in 3D

    Panel25

    sago35/keyboards

    This repository was created to manage the circuitry and firmware for the keyboards I designed. The firmware is created using sago35/tinygo-keyboard.

    77 parts22MIT
  • 2 layers129.1 × 83.3 mmSg24, the printed circuit board in 3D

    Sg24

    sago35/keyboards

    This repository was created to manage the circuitry and firmware for the keyboards I designed. The firmware is created using sago35/tinygo-keyboard.

    60 parts22MIT
  • 2 layers93 × 93 mmZero kb02, the printed circuit board in 3D

    Zero kb02

    sago35/keyboards

    This repository was created to manage the circuitry and firmware for the keyboards I designed. The firmware is created using sago35/tinygo-keyboard.

    48 parts22MIT
  • 2 layers100 × 100 mmGocon2026badge, the printed circuit board in 3D

    Gocon2026badge

    sago35/keyboards

    This repository was created to manage the circuitry and firmware for the keyboards I designed. The firmware is created using sago35/tinygo-keyboard.

    30 parts22MIT
  • 2 layers100 × 70 mmConf2025badge, the printed circuit board in 3D

    Conf2025badge

    sago35/keyboards

    This repository was created to manage the circuitry and firmware for the keyboards I designed. The firmware is created using sago35/tinygo-keyboard.

    18 parts22MIT

Similar boards

  • 4 layers560.1 × 158.8 mmKeyboard, the printed circuit board in 3D

    Keyboard

    DEV-ajthedj/Keyboard

    A custom RGB keyboard that features three 1D capacitive touch sliders, two joysticks, an OLED screen, a fingerprint sensor, and plenty of macro keys!

    439 parts
  • 2 layers305.2 × 76.2 mmSoroka, the printed circuit board in 3D

    Soroka

    kapee1/soroka

    40% DIY-keyboard with base kit support

    126 parts47Unlicense
  • 2 layers258.2 × 96.8 mmNarfkb, the printed circuit board in 3D

    Narfkb

    sebastian-stumpf/narfkb

    rp2040 powered split keyboard with rotary encoders and 6mm tactile buttons

    108 parts29MIT
  • 2 layers317.2 × 109.9 mmFutaba pcb, the printed circuit board in 3D

    Futaba pcb

    geek-rabb1t/futaba

    Futaba is a keyboard with trackpad.

    106 parts27MIT
  • 2 layers302.4 × 99.4 mmNarfkb2, the printed circuit board in 3D

    Narfkb2

    sebastian-stumpf/narfkb2

    6x3 split keyboard powered by rp2040-zero

    120 parts26MIT
  • 2 layers76.1 × 116.7 mmOmsk, the printed circuit board in 3D

    Omsk

    aroum/omsk

    You can choose any one of the following encoder models:

    88 parts21GPL-3.0
  • 2 layers229.2 × 116.9 mmMacropad, the printed circuit board in 3D

    Macropad

    doesntfazer/MacroMacro

    a large gaming macro pad that runs on Vial

    109 parts11GPL-3.0
  • 2 layers141 × 22 mmFreshboard, the printed circuit board in 3D

    Freshboard

    CountParadox/Freshboard

    6 Key Macro Keypad using RP2040 Zero

    13 parts10

Questions

How big is the Sg48key2 PCB?

It measures 245.3 × 78.6 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Sg48key2 use?

158 parts, built around the RKJXV122400R, RP2040-ZERO and 1N4148W. 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 Sg48key2 KiCad files?

From the sago35/keyboards repository on GitHub, at the commit this page was made from: the board is sg48key2/sg48key2/sg48key2.kicad_pcb and its schematic conf2025badge/conf2025badge/conf2025badge.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Sg48key2 design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).