
Main panel
google/mozc-devices
Circuit diagrams and firmware source code for Gboard DIY keyboards

A desk totem that runs a Pomodoro/study timer. Twist the encoder to dial in the minutes, press to start, and the two side LEDs breathe along with the session - amber while setting up, green while the clock is running…
Focus totem is an open-source printed circuit board by Kvin-21, from the Kvin-21/Focus-Totem-PCB repository on GitHub. It is a 2-layer board of 84 × 72 mm with 17 parts on 15 nets, routed with 87 tracks and 12 vias.
It is built around the SK6812MINI-E. Its parts include 4 switches, 3 resistors, 2 capacitors, 2 diodes and 1 IC. It belongs with the RP2040 boards of this library.
A desk totem that runs a Pomodoro/study timer. Twist the encoder to dial in the minutes, press to start, and the two side LEDs breathe along with the session - amber while setting up, green while the clock is running, red for the last minute, and then a flash when done. The OLED shows the live countdown and where you are (FOCUS / BREAK / DONE).
It's a 4-input hackpad built around a through-hole Seeed XIAO RP2040 and runs QMK, so it doubles as a tiny macropad.

| Input | Does |
|---|---|
| Encoder turn | Set the minutes |
| Encoder press | Start / pause (same as Key 1) |
| Key 1 | Start / pause |
| Key 2 | Hold to reset to the set time |
| Key 3 | Cycle the short-break preset |
Two-layer, 84 × 72 mm, ground pour both sides, M3 mounting holes in the corners. The XIAO is through-hole and mounts on the bottom, so the macropad is assembled from underneath and its USB port lines up with the slot in the case.
| Top | Bottom |
|---|---|
![]() | ![]() |
A 3D-printed sandwich: a switch plate on top (the switches clip in, the encoder bush and OLED poke through, the side LEDs show through two little windows), the PCB in the middle, and a bottom tray that the XIAO tucks into with a USB slot in the back wall. Four M3 screws drop in from the top, through the plate and PCB, into tapped standoffs in the tray. Every pocket has 0.4 mm of clearance per side, and "FOCUS TOTEM" is engraved into the plate.
Both parts print flat with no supports — the plate face-up, the tray floor-down. The USB slot has a 45° self-supporting roof so nothing bridges.

| Ref | Part | Notes | Qty |
|---|---|---|---|
| U1 | Seeed XIAO RP2040 (through-hole) | the brains | 1 |
| SW1–SW3 | MX-compatible switch | the three keys | 3 |
| SW4 | Alps EC11 rotary encoder (with switch) | dial + push | 1 |
| J1 | 0.91" SSD1306 OLED, 128×32, I²C | 4-pin module | 1 |
| D1, D2 | SK6812 MINI-E | addressable RGB | 2 |
| R1, R2 | 4.7 kΩ, 0805 | I²C pull-ups | 2 |
| R3 | 470 Ω, 0805 | series on the LED data line | 1 |
| C1 | 100 nF, 0805 | OLED decoupling | 1 |
| C2 | 10 µF, 0805 | LED bulk | 1 |
| H1–H4 | M3 × 14 screw | sandwich the stack | 4 |
| Pad | RP2040 | Goes to |
|---|---|---|
| D0 | GP26 | Key 1 |
| D1 | GP27 | Key 2 |
| D2 | GP28 | Key 3 |
| D3 | GP29 | Encoder switch |
| D4 | GP6 | OLED SDA (I²C1) |
| D5 | GP7 | OLED SCL (I²C1) |
| D6 | GP0 | Encoder A |
| D7 | GP1 | Encoder B |
| D10 | GP3 | SK6812 data in |
| 5V | — | LED V+, C2 |
| 3V3 | — | OLED V+, I²C pull-ups, C1 |
| GND | — | common ground |
Each key and the encoder switch pull their pin to ground. The encoder common goes to ground. The LEDs are daisy-chained XIAO → R3 → D1 → D2. The OLED answers on I²C address 0x3C.
CAD/ the assembled model — focus-totem.3mf (whole macropad, one file)
PCB/ KiCad project — schematic, routed board, libraries
Firmware/ QMK keyboard (keyboard.json, config.h, rules.mk, keymaps/)
production/ gerbers.zip, plate + bottom STLs, firmware.uf2, case source (.scad)
assets/ the screenshots aboveThe firmware is a QMK keyboard. Drop the Firmware folder into a QMK checkout as a keyboard called focus_totem and build it:
# from the root of a qmk_firmware checkout
cp -r Firmware <qmk_firmware>/keyboards/focus_totem
qmk compile -kb focus_totem -km defaultTo flash: plug the XIAO in, double-tap its reset/boot so it mounts as a USB drive, and copy the .uf2 across. It reboots into the firmware on its own.
The case is parametric OpenSCAD (production/focus-totem.scad), driven off the board outline and the KiCad component positions:
cd production
openscad -D 'part="plate"' -o focus-totem-plate.stl focus-totem.scad
openscad -D 'part="bottom"' -o focus-totem-bottom.stl focus-totem.scad
openscad -D 'part="assembly"' -o ../CAD/focus-totem.3mf focus-totem.scadPrint the plate and bottom flat, no supports; PLA or PETG at 0.2 mm is fine.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | MountingHole | MountingHole:MountingHole_3.2mm_M3 | H1, H2, H3, H4 |
| 3 | SW_Push | Button_Switch_Keyboard:SW_Cherry_MX_1.00u_PCB | SW1, SW2, SW3 |
| 2 | 4k7 | Resistor_SMD:R_0805_2012Metric | R1, R2 |
| 2 | SK6812MINI-E | focus-totem:SK6812MINI-E | D1, D2 |
| 1 | 100n | Capacitor_SMD:C_0805_2012Metric | C1 |
| 1 | 10u | Capacitor_SMD:C_0805_2012Metric | C2 |
| 1 | 470R | Resistor_SMD:R_0805_2012Metric | R3 |
| 1 | EC11 | Rotary_Encoder:RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mm | SW4 |
| 1 | SSD1306_0.91 | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J1 |
| 1 | XIAO-RP2040 | focus-totem:XIAO-RP2040 | U1 |

google/mozc-devices
Circuit diagrams and firmware source code for Gboard DIY keyboards

Bastardkb/Dilemma
The Dilemma is a vertical stagger low-profile keyboard with mods.

Pwnsat/FlatSat
Flatsat v1.0 is a hardware based platform for aerospace cybersecurity research

adamws/kicad-kbplacer
KiCad plugin for automatic keyboard's key placement and routing

imchipwood/dumbpad
Simple 4x4 numpad with rotary encoder. Powered by QMK via ATmega32u4 Pro Micro

makerforgetech/modular-biped
An open source framework for creating a bipedal modular companion robot.


It measures 84 × 72 mm and has 2 copper layers, 1.6 mm thick.
17 parts, built around the SK6812MINI-E. 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 Kvin-21/Focus-Totem-PCB repository on GitHub, at the commit this page was made from: the board is PCB/focus-totem.kicad_pcb and its schematic PCB/focus-totem.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 Kvin-21 before reusing the design.