

Tws xiao encoder
Framework for building ergo keyboards
- Size
- 30 × 52.5 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 10
- Nets
- 21
- Pads
- 55
- Tracks, vias
- 91, 1
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 4 May 2024
- Updated
- 22 Sep 2026
Overview
Tws xiao encoder is an open-source printed circuit board by zzeneg, from the zzeneg/molekula repository on GitHub, published under the MIT licence. It is a 2-layer board of 30 × 52.5 mm with 10 parts on 21 nets, routed with 91 tracks and 1 via.
It is built around the FPC05012-09200. Its parts include 3 connectors, 3 switches and 1 IC. It belongs with the keyboards and input boards and the nRF52 and nRF5x boards of this library.
Main components
1README
README.mdmolekula: keyboard & framework
modular framework
This project aims to provide components for building modular ergo keyboards by separating one main PCB into central and side parts. Side is a dumb PCB, with key matrix only (up to 25 keys), and accepts all switch types (MX/ChocV1/ChocV2/GLP). Central is a keyboard brain, which contains any MCU (wired/wireless/integrated) and additional hardware - encoders/touchpads/trackballs/displays/etc, while keeping its size under 100x100mm. PCBs are interconnected with 12-pin FFC cables, and can be replaced/updated independently.
Such modular approach allows for quick, cheap and easy experimenting with different hardware, prototyping, and reusing of side PCBs.
PCB examples
- central with pro-micro/nice!nano footprint, nice!view and rotary encoder
- side with 18 keys and minY spacing (19x16mm)
Molekula keyboards
Reference design using molekula PCBs.
Features:
- minY (19x16mm) spacing
- 36 keys
- wireless
- nice!view support
- rotary encoder
Molekula2
Unibody that can be disassembled into two parts for traveling
Molekula3
Unibody assembled from multiple parts, to allow easy modifications and experiments.
- optimised for FDM printing
- configurable angle and distance between sides (default is 18deg and 60mm)
- different options with dongle or nice!view
- MX/KS-33/ChocV1/ChocV2 are supported, except thumbs are low-profile only
minY keycaps
Keycaps designed for minY spacing (19mmx16mm):
Support
If you like my work and want to support my future designs, please consider sponsorship.
Sponsors
Molekula2 keyboard was sponsored by PCBWay. I can highly recommend their PCBA and 3D printing services - "Imaging Black" resin looks fantastic.
Parts
10| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | MountingHole | zzkeeb:Hole_M2-solder-nut-2.5 | H1, H2, H3 |
| 1 | C479750 | zzkeeb:Connector_FFC-12pin-0.5mm-horizontal | J2 |
| 1 | Conn_01x02_Pin | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J3 |
| 1 | Conn_01x02_Socket | zzkeeb:Connector_JST-1x02-2.00mm | J5 |
| 1 | MCU_xiao-ble | zzkeeb:MCU_xiao-ble-tht | U1 |
| 1 | RotaryEncoder_Switch | zzkeeb:RotaryEncoder_EC11 | SW38 |
| 1 | SW_Push | zzkeeb:Button_SW_SPST_SKQG_WithoutStem | SW37 |
| 1 | SW_SPDT | zzkeeb:Switch_SPDT-PCM12 | SW34 |
More from zzeneg/molekula
5- 2 layers276 × 87.1 mm

- 2 layers266 × 89.6 mm

- 2 layers260 × 89.6 mm

- 2 layers267 × 87.1 mm

- 2 layers44.6 × 70.5 mm

Similar boards
- 4 layers60 × 105 mm

Walkman - Blobject
ProccyBoi/kiku
kiku is an open-source portable audio player built around an STM32H523 microcontroller. The project combines Bluetooth audio, local microSD playback, FM radio, a colour display, headphone and speaker outputs, battery…
142 parts - 2 layers57 × 55.2 mm

LogicAnalyzer
gusmanb/logicanalyzer
24 channel, 100Msps logic analyzer hardware and software
10 parts5.1kGPL-3.0 - 2 layers32.2 × 15.4 mm

Protector
byrantech/laptop
anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.
10 parts4.3kMIT - 2 layers14.4 × 10.1 mm

Q3Q SWAB A1-00 Temperature + Test Points + OPT3001
joeycastillo/Sensor-Watch
A board replacement for the classic Casio F-91W wristwatch
10 parts2.1k - 2 layers26 × 18 mm

- 2 layers44.3 × 30.5 mm

Lime2-SATA RevA
OLIMEX/OLINUXINO
OLINUXINO is Open Source / Open Hardware, low cost from EUR 24 Linux Industrial grade Single Board Computer capable to operate -25+85C
10 parts1.5k - 2 layers150 × 50 mm

Breakout 55pin 963063-15-Connector
rusefi/rusefi
rusefi - GPL internal combustion engine control unit
10 parts1.2k - 2 layers17.8 × 43.2 mm

Nano Adapter
VoronDesign/Voron-Hardware
Cool Hardware designed by the Voron Design group
10 parts1.1kGPL-3.0
Questions
How big is the Tws xiao encoder PCB?
It measures 30 × 52.5 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Tws xiao encoder use?
10 parts, built around the FPC05012-09200. 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 Tws xiao encoder KiCad files?
From the zzeneg/molekula repository on GitHub, at the commit this page was made from: the board is pcbs/tws-xiao-encoder/tws-xiao-encoder.kicad_pcb and its schematic keyboards/Molekula2/pcb.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Tws xiao encoder 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).
