Skip to the content
2 layers31.6 × 14.3 mmOneencoder, the printed circuit board in 3D
Size
31.6 × 14.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
2
Nets
5
Pads
11
Tracks, vias
12, 0
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
18 Apr 2026
Updated
28 Aug 2026

Overview

Oneencoder is an open-source printed circuit board by shreeyuvan2020, from the shreeyuvan2020/Onekey repository on GitHub. It is a 2-layer board of 31.6 × 14.3 mm with 2 parts on 5 nets, routed with 12 tracks and 0 vias.

Its parts include 1 connector and 1 switch.

README

readme.md

The Onekey

The one key and knob macropad(available at onekey.hackclub.com)

Features

  • Sandwhich mount for constistency of feel
  • Magnetic Pogo Pin connectors for easily bonding the two sides of the macropad.
  • Xiao RP2040 for cost efficiency
  • Neopixel for shiny

Reasons I built this

  • @maxstellar on slack asked me to help with his internship project, so I did!

Schematic

These schematics are very concise, it's just a MCU, whatever input device, and magnetic pogo pin connectors(generic symbol). Plus neopixel for key. First one is encoder, second is keyswitch

  • Encodersch
  • Switchsch

PCB

I designed the encoder PCB especially with a lot of care because the pcb had to stick out enough to reach into the case of the main onekey. The pcb with the key also took some time because at first I decided hotswap, but then changed to normal switches. I then made these basically centered. Also I had to work a bit on routing for the neopixel

Keyswitch PCB

Left

Encoder PCB

Full

CAD

I designed the CAD with portability, usability, and elegance in mind. I also had to design it with both a cutout for the USB and pogo pin connector.

Bottom Case of Encoder

Bottom

Top Plate of Encoder

Plate

Bottom Case of Keyswitch

Bottom

Top Plate of Keyswitch

Plate

Encoder Assembly

EncoderAssembly

Keyswitch Assembly

KeyAssembly

Full Assembly

Assembly

Firmware

The whole point of this YSWS is for people to create their own firmware for a one key macropad, so I don't have firmware here.

My Zine

zine Zine is at zine.pdf too, that might not load properly, try using chrome. Or download it and open. It's a known github issue.

Assembly Instructions

  • First, obviously fabricate the PCB and solder everything.
  • Next is printing the plates and cases.
  • This is pretty simple, it was designed with tolerances, you can keep it at basically whatever setting
  • Put heatset inserts through the bottom of the cases
  • Then just screw the pcb and the bottom case together via those
  • Then put the plate on
  • Put the keycap on the switch
  • You have a Onekey!

BOM

Credits

This project was helped by @owais. Thanks to fallout for sponsoring this!

Parts

2
QtyValueFootprintReferences
1Conn_01x04_Pin829-22-003-20-001101:MILL-MAX_829-22-003-20-001101J1
1RotaryEncoder_SwitchRotary_Encoder:RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mmSW1

More from shreeyuvan2020/Onekey

1
  • 2 layers28.4 × 22.6 mmOnekey, the printed circuit board in 3D

    Onekey

    shreeyuvan2020/Onekey

    6 parts

Similar boards

  • 2 layers37 × 19 mmPassive rpi hub75-adapter, the printed circuit board in 3D

    Passive rpi hub75-adapter

    hzeller/rpi-rgb-led-matrix

    Controlling up to three chains of 64x64, 32x32, 16x32 or similar RGB LED displays using Raspberry Pi GPIO

    2 parts4.4kGPL-2.0
  • 2 layersDiode template, the printed circuit board in 3D

    Diode template

    adamws/kicad-kbplacer

    KiCad plugin for automatic keyboard's key placement and routing

    2 parts547GPL-3.0
  • 2 layers20.3 × 15.2 mmL0 button, the printed circuit board in 3D

    L0 button

    Luos-io/luos_engine

    Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

    2 parts546MIT
  • 2 layers35.1 × 46.8 mmSDEX2M2 Breakout Board, the printed circuit board in 3D

    SDEX2M2 Breakout Board

    NVNTLabs/switch2-SDEX2M2

    Micro SD Express to M.2 NVME Adapter for Nintendo Switch 2

    2 parts542GPL-3.0
  • 2 layers59.3 × 36.6 mmExpansionBoardTemplate, the printed circuit board in 3D

    ExpansionBoardTemplate

    BlueSCSI/BlueSCSI-v2

    BlueSCSI v2/Ultra - an open source, open hardware, SCSI emulator using the Pi Pico PR2040 and Pico 2 RP2350

    2 parts459GPL-3.0
  • 2 layersAlpha.9mm.wire, the printed circuit board in 3D

    Alpha.9mm.wire

    ohmtech-rdi/eurorack-blocks

    Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust

    2 parts410
  • 2 layers26.7 × 64 mmGpu power, the printed circuit board in 3D

    Gpu power

    dennisss/dacha

    Monorepo for awesome tools/projects/libraries

    2 parts397Apache-2.0

Questions

How big is the Oneencoder PCB?

It measures 31.6 × 14.3 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Oneencoder use?

2 parts. 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 Oneencoder KiCad files?

From the shreeyuvan2020/Onekey repository on GitHub, at the commit this page was made from: the board is oneencoder/PCB/oneencoder.kicad_pcb and its schematic oneencoder/PCB/oneencoder.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Oneencoder design in my own project?

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