Trinkey
PythonAtSea·trinkey
About the Trinkey PCB
Trinkey is an open source STM32 PCB design by PythonAtSea, published on GitHub. It is a 2-layer board measuring 48.1 × 17.5 mm, with 21 components from 13 distinct parts.
Its main chip is the STM32C071G8UX, from the STM32 family. Other key parts include the XC6206PXXXMR, USBLC6-2SC6 and 74AHCT1G125. By type, the board carries 9 capacitors, 4 ICs, 4 LEDs, 1 connector and 1 resistor.
It belongs with the keyboards designs in this gallery.
From the project
Trinkey is a STM32 based keychain trinket. It has two Kailh switches, each with a MBK low profile keycap and a reverse mounted SK6812MINI-E RGB LED. Additionally, there are two more reverse mounted SK6812MINI-E next to the keyring. It also has a male USB-A plug which powers the d
Trinkey is a STM32 based keychain trinket. It has two Kailh switches, each with a MBK low profile keycap and a reverse mounted SK6812MINI-E RGB LED. Additionally, there are two more reverse mounted SK6812MINI-E next to the keyring. It also has a male USB-A plug which powers the device and provides USB FS connectivity.
The Trinkey has pads for flashing using Serial Wire Debug. If you're getting one of these thru Hack Club Gadget Market, it will be pre flashing with a bootloader that supports uploading code over USB using the Ardunio IDE. It will also have some sort of example program, but…

Main components on the Trinkey
Trinkey bill of materials (BOM)
21 components, 13 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | STM32C071G8UX STM32C071G8Ux | QFN-28_4x4mm_P0.5mm | U1 |
| 1 | XC6206PXXXMR XC6206PxxxMR | SOT-23-3 | U2 |
| 1 | USBLC6-2SC6 | SOT-23-6 | U3 |
| 1 | 74AHCT1G125 | SOT-23-5 | U4 |
| 1 | USB_A | CONN_480370001_MOL | J1 |
| 2 | CHOC_V1_SW_SOLDER choc_v1_SW_solder | SW_choc_v1_1u | CH1, CH2 |
| 2 | CHOC_SK6812MINI-E choc_SK6812MINI-E | LED_choc_6028R | LED1, LED2 |
| 2 | SK6812MINI-E | LED_6028R | LED3, LED4 |
| 2 | 1u | C_0402_1005Metric | C1, C2 |
| 5 | 100N 100n | C_0402_1005Metric | C3, C6, C7, C8, C9 |
| 1 | 4.7U 4.7u | C_0402_1005Metric | C4 |
| 1 | 10U 10u | C_0402_1005Metric | C5 |
| 1 | 47 | R_0402_1005Metric | R1 |
Trinkey design files
The KiCad project lives in the PythonAtSea/trinkey repository on GitHub; these links point at the commit this page was built from.
- Layouttrinkey.kicad_pcb
- Schematictrinkey.kicad_sch
- BOMproduction/bom.csv
Trinkey: common questions
What microcontroller does the Trinkey use?
The Trinkey is built around the STM32C071G8UX, from the STM32 family.
How big is the Trinkey PCB?
The Trinkey measures 48.1 × 17.5 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Trinkey?
21 components, from 13 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the Trinkey design files?
From the PythonAtSea/trinkey repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.
Can I use the Trinkey design in my own project?
The repository has no license, so all rights stay with PythonAtSea. Use it as a reference, and ask the author before reusing the design.
Can I test firmware for the Trinkey without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
AxxSolder
AxxAxx
39 × 82.5 mm122 parts2LGPL-3.01.7kSTM32
AIOC
skuep
21 × 31.5 mm47 parts2LMIT1.4kSTM32
Ferris
pierrechevalier83
208.8 × 86.8 mm102 parts2LSHL-2.11.3kSTM32
176 pin board
rusefi
61.8 × 73.2 mm76 parts2LGPL-3.01.2kSTM32
Brain board STM32F407
rusefi
61.8 × 73.2 mm69 parts2LGPL-3.01.2k