Df pill
epchain·df-pill·device/df-pill/df-pill.kicad_pcb
About the Df pill PCB
Df pill is an open source STM32 PCB design by epchain, published on GitHub under the Unlicense license. It is a 2-layer board measuring 30 × 68.5 mm, with 58 components from 34 distinct parts.
Its main chip is the STM32F103C8Tx, from the STM32 family. Other key parts include the MIC5219-3.3YM5 and USBLC6-2SC6. By type, the board carries 15 capacitors, 13 resistors, 11 jumpers, 8 diodes, 4 connectors and 3 ICs.
From the project
Kicad EDA project of a general purpose STM32F103Cx board
This project was extracted from another, complex device project which originally targeted cheap STM32F103C8T6 board known as "bluepill" as main board. However, it soon became apparent that bluepill has shortcomings with USB interface, which was meant to be primary communication channel.
tl;dr bluepill cannot work with USB while being externally powered. It is designed to be powered with USB host only. Some bluepill boards have hardware bugs.

Main components on the Df pill
Df pill bill of materials (BOM)
58 components, 34 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | MIC5219-3.3YM5 | SOT-23-5 | U1 |
| 1 | STM32F103C8Tx | LQFP-48_7x7mm_P0.5mm | U2 |
| 1 | USBLC6-2SC6 | SOT-23-6 | U3 |
| 1 | 8MHz | Crystal_HC49-4H_Vertical | Y1 |
| 1 | 32.768KHz | Crystal_SMD_Abracon_ABS25-4Pin_8.0x3.8mm | Y2 |
| 1 | USB_B_Micro | USB_Micro-B_Molex_47346-0001 | J1 |
| 1 | Connector_A | PinHeader_1x20_P2.54mm_Vertical | P1 |
| 1 | Connector_B | PinHeader_1x20_P2.54mm_Vertical | P2 |
| 1 | Connector_SWD | PinHeader_1x04_P2.54mm_Vertical | P3 |
| 1 | BAT_VDD | PinHeader_1x03_P2.54mm_Vertical | JP1 |
| 1 | 0 | R_1812_4532Metric | JP2 |
| 1 | BOOT01 | PinHeader_2x03_P2.54mm_Vertical | JP3 |
| 8 | 0 | R_0603_1608Metric | JP4, JP5, JP6, JP7, JP8, JP9, JP10, JP11 |
| 1 | RESET | SW_SPST_CK_RS282G05A3 | SW1 |
| 1 | KEY | SW_SPST_CK_RS282G05A3 | SW2 |
| 5 | BAT60A | D_SOD-323 | D1, D3, D4, D7, D8 |
| 1 | ESDA7P60-1U1M | D_1610Metric | D2 |
| 1 | LED_VDD | LED_0805_2012Metric | D5 |
| 1 | LED_USER | LED_0805_2012Metric | D6 |
| 5 | 100nF | C_0603_1608Metric | C1, C3, C4, C5, C11 |
Show 14 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | 10uF | C_0805_2012Metric | C2 |
| 1 | 1uF | C_0805_2012Metric | C6 |
| 1 | 10nF | C_0603_1608Metric | C7 |
| 1 | 4.7uF | C_0805_2012Metric | C8 |
| 1 | 470pF | C_0603_1608Metric | C9 |
| 1 | 2.2uF | C_0805_2012Metric | C10 |
| 2 | 20pF | C_0603_1608Metric | C12, C13 |
| 2 | 12pF | C_0603_1608Metric | C14, C16 |
| 6 | 10K | R_0603_1608Metric | R1, R2, R4, R6, R8, R12 |
| 1 | 390 | R_0603_1608Metric | R3 |
| 1 | 1.5K | R_0603_1608Metric | R5 |
| 1 | 18K | R_0603_1608Metric | R7 |
| 2 | 1.1K | R_0603_1608Metric | R9, R10 |
| 2 | 0 | R_0603_1608Metric | R11, R13 |
Df pill design files
The KiCad project lives in the epchain/df-pill repository on GitHub; these links point at the commit this page was built from.
Df pill: common questions
What microcontroller does the Df pill use?
The Df pill is built around the STM32F103C8Tx, from the STM32 family.
How big is the Df pill PCB?
The Df pill measures 30 × 68.5 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Df pill?
58 components, from 34 distinct parts. The full bill of materials is listed on this page.
Where can I download the Df pill design files?
From the epchain/df-pill repository on GitHub, which has the KiCad layout; the links under Design files point to each one.
Can I use the Df pill design in my own project?
Yes, under the terms of its Unlicense license, which epchain chose for the repository.
Can I test firmware for the Df pill 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
LibreVNA
jankae
122 × 98 mm592 parts6LGPL-3.01.6kSTM32
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.2k