

The STM32F103C8T6 System Board, commonly referred to as the "Blue Pill," is a compact and versatile development board based on the STM32F103C8T6 microcontroller. This microcontroller is part of the ARM Cortex-M3 family, offering a balance of performance, power efficiency, and affordability. The Blue Pill is widely used in embedded systems, IoT projects, robotics, and other applications requiring real-time processing and control.








| Specification | Value |
|---|---|
| Microcontroller | STM32F103C8T6 (ARM Cortex-M3) |
| Operating Voltage | 3.3V |
| Input Voltage Range | 5V (via USB) or 7-12V (via VIN) |
| Flash Memory | 64 KB |
| SRAM | 20 KB |
| Clock Speed | 72 MHz |
| GPIO Pins | 37 |
| Communication Interfaces | UART, SPI, I2C, CAN, USB |
| ADC Resolution | 12-bit (10 channels) |
| PWM Channels | 15 |
| Dimensions | 53 mm x 22 mm |
The STM32F103C8T6 System Board features two rows of 20 pins each. Below is a summary of the pin configuration:
| Pin Number | Label | Description |
|---|---|---|
| 1 | GND | Ground |
| 2 | 3.3V | 3.3V Power Output |
| 3 | 5V | 5V Power Input |
| 4 | PA0 - PA15 | General Purpose I/O (GPIO) Pins |
| 5 | PB0 - PB15 | General Purpose I/O (GPIO) Pins |
| 6 | PC13 - PC15 | General Purpose I/O (GPIO) Pins |
| 7 | NRST | Reset Pin |
| 8 | BOOT0 | Boot Mode Selection |
| 9 | USB+ / USB- | USB Data Lines |
| 10 | TX / RX | UART Communication Pins |
For a complete pinout diagram, refer to the official datasheet or schematic.
Powering the Board:
Programming the Board:
Connecting Peripherals:
Below is an example of blinking an LED connected to pin PC13:
// Include the STM32 core library
#include <Arduino.h>
// Define the LED pin (PC13 is onboard LED on Blue Pill)
#define LED_PIN PC13
void setup() {
pinMode(LED_PIN, OUTPUT); // Set PC13 as an output pin
}
void loop() {
digitalWrite(LED_PIN, HIGH); // Turn the LED on
delay(500); // Wait for 500 milliseconds
digitalWrite(LED_PIN, LOW); // Turn the LED off
delay(500); // Wait for 500 milliseconds
}
Board Not Detected by IDE:
Code Upload Fails:
GPIO Pins Not Responding:
Board Overheating:
By following this documentation, users can effectively utilize the STM32F103C8T6 System Board for a wide range of applications.