Blue Pill

STM32F103C8T6


Board

NameBlue Pill
PartUnknown
BrandUnknown
OriginChina

Microcontroller

PartSTM32F103C8T6
ManufacturerST-Microelectronics
CoreArm Cortex-M3
Max. Clock Speed72MHz
PackageLQFP 48 pins

Internal memories

FLASH64KiB
SRAM20KiB

Oscillators

HSI8MHz
LSI40kHz
HSE8MHz
LSE32.768kHz

Power

Sources
Any +3.3V pin (+3.3V)
Any +5V pin (+5V)
USB connector (+5V)
VDDA pinNo
VSSA pinNo
VREF- pinNo
VREF+ pinNo
Backup batteryNone

Regulator

ManufacturerShanghai TX Electronics Sci-Tech Co., Ltd
PartTX6211B (DE=A1D)
PackageSOT23-5 5 pins
Input+3.6V to +5.5V
Output+3.3V @ 300mA
DatasheetTX6211B.pdf

PCB

ColorBlue
Size (w x l)23mm x 53mm
MountingBreadboard

Remarks

  • Warning: The +5V pins on this board are directly connected to the +5V pin of the USB connector. There is no protection in place. Do not power this board through USB and an external power supply at the same time.
  • Warning: This board may have a wrong value of resistor on the USB D+ pin. Instead of a 1.5kΩ it has either a 10kΩ or 4.7kΩ resistor. This can be solved by replacing the resistor with the right value.
  • Trivia: This board got its name from a forum post at the STM32duino forums and is a reference to the movie The Matrix.

Pictures

Blue Pill: Variants
Blue Pill: Variants
Blue Pill: Perspective view
Blue Pill: Perspective view
Blue Pill: Top view
Blue Pill: Top view
Blue Pill: Bottom view
Blue Pill: Bottom view

Inputs & outputs


Reset button

Name RESET
Reference -
Type Button
Connected to NRST
Mode Active low

BOOT0 jumper

Name -
Reference -
Type 2-way jumper
Connected to BOOT0
Mode N.A.

BOOT1 jumper

Name -
Reference -
Type 2-way jumper
Connected to PB2
Mode N.A.

Power LED

Name PWR
Reference -
Type LED
Connected to +3.3V rail
Mode N.A.

User LED

Name PC13
Reference -
Type LED
Connected to PC13
Mode Sink

Connectors & headers


Header 1 properties

Name Unknown
Reference None
Type pin header (2.54mm, 20x1, male)

Header 1 pins

# Name Function Connected to
1 VB - VBAT
2 C13 - PC13
3 C14 - PC14
4 C15 - PC15
5 A0 - PA0
6 A1 - PA1
7 A2 - PA2
8 A3 - PA3
9 A4 - PA4
10 A5 - PA5
11 A6 - PA6
12 A7 - PA7
13 B0 - PB0
14 B1 - PB1
15 B10 - PB10
16 B11 - PB11
17 R - NRST
18 3.3 - +3.3V rail
19 G - Ground plane
20 G - Ground plane

Header 2 properties

Name Unknown
Reference None
Type pin header (2.54mm, 20x1, male)

Header 2 pins

# Name Function Connected to
1 3.3 - +3.3V rail
2 G - Ground plane
3 5V - +5V rail
4 B9 - PB9
5 B8 - PB8
6 B7 - PB7
7 B6 - PB6
8 B5 - PB5
9 B4 - PB4
10 B3 - PB3
11 A15 - PA15
12 A12 - PA12
13 A11 - PA11
14 A10 - PA10
15 A9 - PA9
16 A8 - PA8
17 B15 - PB15
18 B14 - PB14
19 B13 - PB13
20 B12 - PB12

SWD header properties

Name SWD
Reference None
Type pin header (2.54mm, 4x1, male)

SWD header pins

# Name Function Connected to
1 3V3 VCC +3.3V rail
2 DIO SWDIO PA13
3 CLK SWCLK PA14
4 GND GND Ground plane

USB connector properties

Name USB
Reference None
Type USB Micro

USB connector pins

# Name Function Connected to
1 - VCC +5V rail
2 - D- PA11
3 - D+ PA12
4 - ID N.C.
5 - GND Ground plane