Elementic logo

STMicroelectronics ecosystem

STMicroelectronics ecosystem Blue Pill (common)

STM32 Blue Pill common board Top-view vector drawing with two twenty-contact headers and Elementic pin hitboxes. BOOT1 BOOT0 STM32 F103C8T6 ARM 8.000 MHz PB12 PB13 PB14 PB15 PA8 PA9 PA10 PA11 PA12 PA15 PB3 PB4 PB5 PB6 PB7 PB8 PB9 5V GND 3.3V GND GND 3.3V RESET PB11 PB10 PB1 PB0 PA7 PA6 PA5 PA4 PA3 PA2 PA1 PA0 PC15 PC14 PC13 VBAT STM32 BLUE PILL

Device information

Controller
STM32F103C8T6
Category
Maker / Entry
Pins
35

Controller details

STM32F103C8T6

STMicroelectronics · STM32F1 · Arm Cortex-M3

64 KB flash · 20 KB RAM · 37 GPIO

Programming and bootloader instructions

Install STM32 HID Bootloader (Blue Pill)

Prepare your STM32F103 Blue Pill for firmware updates over USB HID. Connect an ST-Link programmer to SWDIO, SWCLK and GND (plus appropriate target power/reference). Download the Elementic installer ZIP and extract it. Open the folder in a terminal and run:

  • Windows: powershell -ExecutionPolicy Bypass -File .\install-windows.ps1

  • Linux: bash ./install-linux.sh

  • macOS: bash ./install-macos.sh

The installer downloads the official Serasidis HID Bootloader v2.2.2, installs/uses PlatformIO OpenOCD, and flashes/verifies the Blue Pill through ST-Link. PlatformIO must be installed first. A successful installer exit confirms flash verification, not USB enumeration. Set BOOT0=0 and connect the board via USB to check detection.

Warning: The installation overwrites the start of microcontroller flash. Back up existing firmware before proceeding. This installer supports the STM32F103C8/CB Blue Pill; it is not intended for other STM32 board families.

Downloads

USB identification and standard firmware

USB matches suggest possible boards; they never identify the exact device with certainty. A missing bootloader response does not prove that no bootloader is installed.

  • 1209:BEBA · bootloader · stm32-serasidis-hid — Published programming profile USB identity
  • 0483:5740 · runtime · — Published programming profile USB identity
  • arduino · stmicroelectronics-ecosystem-blue-pill-common-23 r1 — No published standard firmware for this target.

Standard main.cpp

Device specific
// Elementic starter sketch
// Device: STMicroelectronics ecosystem Blue Pill (common)
// Device Excel ID: 23
// Controller: STM32F103C8

void setup()
{
    Serial.begin(115200);
    delay(500);

    Serial.println("Elementic device booting...");
    Serial.println("Device: STMicroelectronics ecosystem Blue Pill (common)");
    Serial.println("Excel ID: 23");
}

void loop()
{
    // 1. Configure your Elementic pins here.
    // 2. Add your connectivity setup.
    // 3. Publish or react to device state changes.

    delay(1000);
}

Pin summary

GPIO Name Flags
10 PA0 Analog in, Binary in, Digital out, Binary out, Interrupt
11 PA1 Analog in, Binary in, Digital out, Binary out, Interrupt
12 PA2 Analog in, Binary in, Digital out, Binary out, Interrupt
13 PA3 Analog in, Binary in, Digital out, Binary out, Interrupt
14 PA4 Analog in, Binary in, Digital out, Binary out, Interrupt
15 PA5 Analog in, Binary in, Digital out, Binary out, Interrupt
16 PA6 Analog in, Binary in, Digital out, Binary out, Interrupt
17 PA7 Analog in, Binary in, Digital out, Binary out, Interrupt
17 PC13 Binary in, Digital out, Binary out, Interrupt
18 PB0 Analog in, Binary in, Digital out, Binary out, Interrupt
19 PB1 Analog in, Binary in, Digital out, Binary out, Interrupt
20 PB2 Binary in, Digital out, Binary out, Interrupt
21 PB10 Binary in, Digital out, Binary out, Interrupt
22 PB11 Binary in, Digital out, Binary out, Interrupt
25 PB12 Binary in, Digital out, Binary out, Interrupt
26 PB13 Binary in, Digital out, Binary out, Interrupt
27 PB14 Binary in, Digital out, Binary out, Interrupt
27 PC14 Binary in, Digital out, Binary out, Interrupt
28 PB15 Binary in, Digital out, Binary out, Interrupt
28 PC15 Binary in, Digital out, Binary out, Interrupt
29 PA8 Binary in, Digital out, Binary out, Interrupt
30 PA9 Binary in, Digital out, Binary out, Interrupt
31 PA10 Binary in, Digital out, Binary out, Interrupt
32 PA11 Binary in, Digital out, Binary out, Interrupt
33 PA12 Binary in, Digital out, Binary out, Interrupt
34 PA13 Binary in, Digital out, Binary out, Interrupt
37 PA14 Binary in, Digital out, Binary out, Interrupt
38 PA15 Binary in, Digital out, Binary out, Interrupt
39 PB3 Binary in, Digital out, Binary out, Interrupt
40 PB4 Binary in, Digital out, Binary out, Interrupt
41 PB5 Binary in, Digital out, Binary out, Interrupt
42 PB6 Binary in, Digital out, Binary out, Interrupt
43 PB7 Binary in, Digital out, Binary out, Interrupt
45 PB8 Binary in, Digital out, Binary out, Interrupt
46 PB9 Binary in, Digital out, Binary out, Interrupt