Skip to the content
PCBKitNew board
2 layers30 × 68.5 mmDf pill, the printed circuit board in 3D

Kicad EDA project of a general purpose STM32F103Cx board

Size
30 × 68.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
63
Nets
71
Pads
227
Tracks, vias
930, 93
Pours
3
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
21 Oct 2020
Updated
2 Feb 2021

Overview

Df pill is an open-source printed circuit board by epchain, from the epchain/df-pill repository on GitHub, published under the Unlicense licence. It is a 2-layer board of 30 × 68.5 mm with 63 parts on 71 nets, routed with 930 tracks and 93 vias.

It is built around the MIC5219-3.3YM5, USBLC6-2SC6 and BAT60A, with the ESDA7P60-1U1M among its other parts. Its parts include 15 capacitors, 11 resistors, 8 diodes, 4 connectors and 3 ICs. It belongs with the STM32 boards of this library.

Main components

4

README

README.md

df-pill

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.

To overcome problems this board was designed. It has a number of enhancements and was thought to be maximally generic.

df-pill

Enhancements:

  1. Improved USB

USB now has optional ESD protection, implements VBUS sense with software and is fully detachable via jumpers.

  1. Every pin has external connection

NOTE: some pins like PC14, PC15, BOOT0 don't have terminals at the board sides, but still have them at crystal mount points and boot pin headers.

  1. Separate analog terminals VDDA and GNDA and separate analog ground

NOTE: It is required to provide VDDA and GNDA or simply join them with VDD and GNDD. GNDA and GNDD may be joined on board with jumper. VDD and VDDA may be joined via terminals.

  1. Detachable add-ons

On-board LEDs and keys can be detached with jumpers.

  1. VDD and +5V inputs are protected power inputs.

All power supply nets are now protected with Schottky diodes.

The goal of this project is to learn electronics while creating a useful device, for everyone. So keep in mind that this device isn't designed by professional.

It is assumed that user is able to perform all necessary tasks related to device creation, which are not covered with project files. User must also perform all necessary precautions on every such task. See LICENSE.

This means things like electrical safety, soldering, parts ordering and PCB manufacturing are out of the scope. As a note, if you think you can buy bluepill, disassemble it and apply its parts to this board, then you're right. Bluepill has core parts, but some other uncommon ones need to be ordered.

How to use

Install Kicad EDA and open project file: device/df-pill/df-pill.pro. Original project was made with Kicad EDA 5.1.5-3

You don't need any library installed, because project is fully autonomous. It has all symbols, footprints and 3D models in device/df-pill/lib dir.

If you like to change anything it is recommended to first add new items to library and then use them in project to maintain autonomous project structure.

If you'd like to have multiple boards on a single copper plate read device/panelization.md.

Versioning

Schematic and and PCB have different, but related version formats.

  • Schematic: X.Y
  • PCB: X.Y.Z

Where X = major version, Y = minor version, Z = patch.

Schematic major version increment breaks external interface. Minor version increment changes components, but external interface is the same. Any schematic version change breaks PCB layout.

PCB's major and minor versions are from schematic versions. Patches are PCB modifications/optimizations that are fully compatible with current schematic.

References

A number of resources was used in this project. See reference.md for list.

License

This project is licensed under The Unlicense. It contains library files from KiCAD EDA library in device/lib. These files are licensed under KiCAD EDA Libraries License

Parts

63
QtyValueFootprintReferences
100fp:R_0603_1608MetricJP4, JP5, JP6, JP7, JP8, JP9, JP10, JP11, R11, R13
610Kfp:R_0603_1608MetricR1, R2, R4, R6, R8, R12
5100nFfp:C_0603_1608MetricC1, C3, C4, C5, C11
5BAT60Afp:D_SOD-323D1, D3, D4, D7, D8
4MountingHole_3mm_Padfp:MountingHole_3mm_Pad, , ,
21.1Kfp:R_0603_1608MetricR9, R10
212pFfp:C_0603_1608MetricC14, C16
220pFfp:C_0603_1608MetricC12, C13
10fp:R_1812_4532MetricJP2
11.5Kfp:R_0603_1608MetricR5
110nFfp:C_0603_1608MetricC7
110uFfp:C_0805_2012MetricC2
118Kfp:R_0603_1608MetricR7
11uFfp:C_0805_2012MetricC6
12.2uFfp:C_0805_2012MetricC10
132.768KHzfp:Crystal_SMD_Abracon_ABS25-4Pin_8.0x3.8mmY2
1390fp:R_0603_1608MetricR3
14.7uFfp:C_0805_2012MetricC8
1470pFfp:C_0603_1608MetricC9
18MHzfp:Crystal_HC49-4H_VerticalY1
1BAT_VDDfp:PinHeader_1x03_P2.54mm_VerticalJP1
1BOOT01fp:PinHeader_2x03_P2.54mm_VerticalJP3
1Connector_Afp:PinHeader_1x20_P2.54mm_VerticalP1
1Connector_Bfp:PinHeader_1x20_P2.54mm_VerticalP2
1Connector_SWDfp:PinHeader_1x04_P2.54mm_VerticalP3
1ESDA7P60-1U1Mfp:D_1610MetricD2
1KEYfp:SW_SPST_CK_RS282G05A3SW2
1LED_USERfp:LED_0805_2012MetricD6
1LED_VDDfp:LED_0805_2012MetricD5
1MIC5219-3.3YM5fp:SOT-23-5U1
1RESETfp:SW_SPST_CK_RS282G05A3SW1
1STM32F103C8Txfp:LQFP-48_7x7mm_P0.5mmU2
1USBLC6-2SC6fp:SOT-23-6U3
1USB_B_Microfp:USB_Micro-B_Molex_47346-0001J1

The 62 most common of 63 parts.

Questions

How big is the Df pill PCB?

It measures 30 × 68.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Df pill use?

63 parts, built around the MIC5219-3.3YM5, USBLC6-2SC6, BAT60A and ESDA7P60-1U1M. 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 Df pill KiCad files?

From the epchain/df-pill repository on GitHub, at the commit this page was made from: the board is device/df-pill/df-pill.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Df pill design in my own project?

Its repository publishes it under the Unlicense licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 4 layers66.4 × 66.4 mmRera, the printed circuit board in 3D

    Rera

    fdiwth/tvc-drone

    This repository contains the documentation, hardware designs, and source code for a Thrust Vector Control (TVC) drone.

    140 parts34GPL-3.0
  • 4 layers76.2 × 48.3 mmMain Module, the printed circuit board in 3D

    Main Module

    Rowan-Rocketry/SRAD-Avionics

    49 parts1
  • 2 layers70 × 72.5 mmDronev1, the printed circuit board in 3D

    Dronev1

    sthabisoslushaba/Flight-Controller-Design-2025

    KiCad project for a drone flight controller based on an STM32 microcontroller

    36 parts
  • 4 layers190.8 × 12.1 mmWARBL2 5.1, the printed circuit board in 3D

    WARBL2 5.1

    amowry/WARBL2

    WARBL2 Code and design files

    94 parts33GPL-3.0
  • 6 layers32 × 59 mmAirbrake, the printed circuit board in 3D

    Airbrake

    hoffmatic/SD-2-EKF

    This folder contains the live KiCad project files and local component libraries:

    109 parts1
  • 8 layers200 × 115 mmEnergyMonitoringSystem, the printed circuit board in 3D

    EnergyMonitoringSystem

    vigneshuw/aems

    Autonomous Energy Monitoring System (AEMS)

    297 parts1
  • 4 layers44.5 × 57.7 mmTelemetry node, the printed circuit board in 3D

    Telemetry node

    bquangDinh/telemetry-node

    84 parts