Twonkie
dojoe·Twonkie·hw/twonkie.kicad_pcb
About the Twonkie PCB
Twonkie is an open source STM32 PCB design by dojoe, published on GitHub. It is a 4-layer board measuring 25.4 × 25.4 mm, with 56 components from 33 distinct parts.
Its main chip is the STM32F042C6T6TR, from the STM32 family. Other key parts include the INA260AIPWR, MIC5504-3.3YM5 and AD8606ARMZ-REEL. By type, the board carries 29 resistors, 9 capacitors, 5 ICs, 4 transistors, 3 connectors and 2 LEDs.
It belongs with the power & battery designs in this gallery.
From the project
A USB-PD sniffer/injector/sink based on Google's Twinkie, re-designed to be manufactured by mere mortals.
The board is too tiny to stay put from its own weight so you'll need a proper vise. "Third Hand"s are no good for this since they can't clamp small boards properly and aren't stable enough. I recommend a StickVise or similar.
You can solder everything using a smallish chisel tip and you'll be fine. For enhanced comfort, a fine angled tip makes the passives much easier. I used a TS80-J02 with great success.

Main components on the Twonkie
Twonkie bill of materials (BOM)
56 components, 33 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 2 | INA260AIPWR INA237 TI | VSSOP-10_3x3mm_P0.5mm | U1, U2 |
| 1 | MIC5504-3.3YM5 MIC5504 Microchip | SOT-23-5_HandSoldering | U3 |
| 1 | STM32F042C6T6TR STM32F072CB STMicro | LQFP-48_7x7mm_P0.5mm-QFN48-Frankenstein | U4 |
| 1 | AD8606ARMZ-REEL AD8606 Analog Devices | MSOP-8_3x3mm_P0.65mm | U5 |
| 3 | BSD840NH6327XTSA1 BSD840N Infineon | SOT-363_SC-70-6 | Q1, Q2, Q3 |
| 1 | BSD840N Infineon | SOT-363_SC-70-6 | Q4 |
| 1 | DX07P024AJ1R1500 USB4151 GCT | GCT_USB4151_EdgeMount | J1 |
| 1 | 690-024-294T331 GCT | EDAC_690-024-294T331_EdgeMount | J2 |
| 1 | 629105150521 Würth | USB_Micro-B_Wuerth_629105150521_HandSolder | J3 |
| 1 | EVQ-P7M01P Panasonic | SW_SPST_EVQP7C | SW1 |
| 2 | CLVBA-FKA-CAEDH8BBB7A363 CLVBA-FKA Cree | LED_Cree-PLCC4_3.2x2.8mm_CCW | DS1, DS2 |
| 1 | BZT52C5V6-13-F BZT52C5V6 Diodes Inc. | D_SOD-123 | D1 |
| 2 | BLM15AG601SN1D 600@100MHz MuRata | L_0402_1005Metric_Pad0.77x0.64mm_HandSolder | FB1, FB2 |
| 2 | CL05A105MQ5NNNC 1u Samsung Electro-Mechanics | C_0402_1005Metric_Pad0.74x0.62mm_HandSolder | C1, C5 |
| 2 | CL05A475KQ5NRNC 4.7u Samsung Electro-Mechanics | C_0402_1005Metric_Pad0.74x0.62mm_HandSolder | C2, C7 |
| 4 | CL05B104KA5NNNC 100n Samsung Electro-Mechanics | C_0402_1005Metric_Pad0.74x0.62mm_HandSolder | C3, C4, C8, C9 |
| 1 | CL05B103KB5NNNC 10n Samsung Electro-Mechanics | C_0402_1005Metric_Pad0.74x0.62mm_HandSolder | C6 |
| 1 | RC0402FR-0751K1L 35k7 Yageo | R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R1 |
| 2 | RC0402FR-07806RL 620 Yageo | R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R2, R5 |
| 2 | RC0402FR-07576RL 400 Yageo | R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R3, R6 |
Show 13 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 2 | RC0402FR-07604RL 400 Yageo | R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R4, R7 |
| 2 | RC0402FR-07301KL 35k7 Yageo | R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R8, R16 |
| 2 | RC0402FR-074K75L 4k75 Yageo | R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R9, R17 |
| 2 | RC0402FR-071KL 1k Yageo | R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R10, R18 |
| 2 | RC0402FR-0712K1L 12k1 Yageo | R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R11, R19 |
| 2 | RC0402FR-075K11L 5k11 Yageo | R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R12, R20 |
| 2 | RC0402FR-0735K7L 35k7 Yageo | R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R13, R21 |
| 2 | RC0402FR-07200RL 200 Yageo | R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R14, R22 |
| 2 | RC0402FR-07100RL 100 Yageo | R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R15, R23 |
| 1 | 100 Yageo | R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R24 |
| 2 | 4k75 Yageo | R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R25, R26 |
| 1 | 35k7 Yageo | R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R27 |
| 2 | 0.012 | R_Shunt_Ohmite_LVK12 | R28, R29 |
Twonkie design files
The KiCad project lives in the dojoe/Twonkie repository on GitHub; these links point at the commit this page was built from.
- Layouthw/twonkie.kicad_pcb
- Schematichw/twonkie.kicad_sch
- BOMhw/v0.9/twonkie.bom.csv
Twonkie: common questions
What microcontroller does the Twonkie use?
The Twonkie is built around the STM32F042C6T6TR, from the STM32 family.
How big is the Twonkie PCB?
The Twonkie measures 25.4 × 25.4 mm, has 4 copper layers and is 1.6 mm thick.
How many components are on the Twonkie?
56 components, from 33 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 Twonkie design files?
From the dojoe/Twonkie 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 Twonkie design in my own project?
The repository has no license, so all rights stay with dojoe. Use it as a reference, and ask the author before reusing the design.
Can I test firmware for the Twonkie 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
Type g
google
169 × 30 mm24 parts2LApache-2.02.9kSTM32
Type a
google
150 × 30 mm14 parts2LApache-2.02.9kSTM32
Base
google
52.3 × 52.3 mm36 parts2LApache-2.02.9kSTM32
Main panel
google
234 × 84 mm26 parts4LApache-2.02.9kSTM32
Type c
google
188 × 30 mm17 parts2LApache-2.02.9k