STM32 Bluepill Pinout, Board Layout & Specifications

Last updated on March 16th, 2024 at 01:39 pm

STM32 Bluepill is a high-performance, breadboard-friendly development board with a bunch of capabilities and a compact design. It has a 32-bit ARM Cortex M3 processor, 64Kbytes of flash memory, and 20 Kbytes of SRAM, all operating at 72MHz.

It offers various peripherals and I/O, including three general-purpose 16-bit timers and one PWM timer, multiple high-resolution ADC, multi-channel Direct Memory Access, and several 16-bit general-purpose timers.

There are 10 analog pins and 37 digital I/O pins on this board out of which 12 pins support pulse width modulation. It also features several communication interfaces, including a CAN, three UARTs, two I2Cs and SPIs, two USBs, and two I2Cs and SPIs. Additionally, it enables the addition of more flash by allowing the board to be soldered with an SPI Flash.

Board Layout

STM32 Bluepill Board Layout
STM32 Bluepill Board Layout

STM32F103C8T6 MCU: It is a 32-bit ARM Cortex-M3 microcontroller in a 48-pin LQFP device. It features a high-performance RISC CPU running at 72MHz, fast embedded memories, a wide variety of improved I/Os, and peripherals coupled to two APB buses. The 12-bit ADC, timers, PWM timer, standard, and advanced communication interfaces are all included in this MCU.

BOOT selector: Using this, we can switch between two boot modes, i.e., BOOT1 and BOOT0.

SWD Interface: This interface is used for programming and debugging using the ST-Link.

8MHz Crystal: The primary STM32 microcontroller makes use of this crystal.

32.768KHz Oscillator: This oscillator is used for the RTC which is a real-time clock

Power Status LED: This LED serves as a power indicator.

Built-in LED: This inbuilt LED is connected to the pin PC13.

Reset button: This is used to reset the board.

MicroUSB connector: Using this we can connect the STM32 board to our PC or Laptop

Arduino UNO vs STM32 Bluepill

Arduino UNO operates at a voltage of 5V while the STM32 operates at 3.3V. At the same time, an Arduino UNO gives a maximum output current of 40mA while the STM32 gives a 6mA output current. More differences are shown in the table below.

ParameterARDUINO UNOSTM32 BluePill
CPU Clock Speed16Mhz72Mhz
Analog pins810
Digital I/O1437
PWM Pins612
Flash Memory32KB64KB/128KB
USB ConnectorType BMicro
Operating/Input voltage5V3.3V
Max Output Current40mA6mA
Arduino UNO vs STM32 Bluepill


STM32 Bluepill Pinout
STM32 Bluepill Pinout

There are 10 analog pins and 37 GPIO pins on this board of which 12 are PWM. It has USB and CAN ports, two popular modern communication interfaces. Because the peripherals operate at a very low voltage and provide excellent board control, they are appropriate for low-power applications. The complete pinout description is provided in the table below.

S No.NamePinDescription
1Input-Output pinsPA0-PA15,
Total of 37 I/O pins are available
2Analog PinsPA0-PA7,
Total 10 analog pins with 12bit resolution are present
3External InterruptsPA0-PA15,
Interrupt pins
4Pulse Width Modulation Pins(PWM)PA0-PA3,
Total 15 Pulse-width Modulation pins are present
5Serial Communication ( UART)TX1, RX1 – Pin PA9, PA10
TX2, RX2 – Pin PA2, PA3
TX3, RX3 – Pin PB10, PB11
A total of 3 Serial ports are available
Pin PB15,PB14,PB13,PB12
2 SPI Peripherals are avaliable
7CANCAN0TX, CAN0RX – Pin PA12, PA111 Can bus is present
8I2CSDA1,SCL1 – Pin PB7, PB6/ PB9 PB8
SDA2,SCL2 – Pin PB11,PB10
2 I2C channels are available
9Power3.3 Volts
5 Volts
3.3V- Its Supplies 3.3v regulated supply 5V- It supplies 5v regulated supply GND – Ground
10Inbuilt LEDPC13LED to serve as a universal GPIO indicator.
STM32 Bluepill pinout

Read also: ESP32 Dev board Pinout, Specifications, datasheet, and Schematic


The STM32 has 37 digital I/O pins, 10 analog inputs, and operates at a voltage of 3.3V. It has SRAM of 20KB and flash memory of 64/128KB. The highest achievable clock frequency is 72MHz. It has the following modes of communication: I2c, SPI, UART, CAN, and USB.

Sr. No.NameDescription
2Flash Memory64/128KB
4Clock Frequency72MHz(Max)
5Analog inputs14
6Digital I/O pins37
7PWM Pins12
8I2C Peripherals2
9SPI Peripherals2
10CAN 2.0 Peripheral1
11Operating Voltage2.7V to 3.6V
12Maximum current per pin6mA
STM32 Bluepill Specifications

Programming Softwares

We can program the STM32 blue-pill development board or STM32F103C8T6 chip using a couple of options. Among them, Arduino IDE is one of the easiest IDE. We can use an embedded C/C++ programming language to program this board. The list of other software is given below:

  • Arduino IDE
  • STM32 Cube IDE
  • Keil ARM MDK
  • IAR workbench
  • Atollic TrueStudio
  • MicroC Pro ARM
  • Crossworks ARM
  • Ride 7
Photo of author

Vikas Gariyal

Electrical engineer by profession, I employ graphic design as a visual art to simplify and enhance electronic content for clarity and engagement, making complex ideas easily understandable. My work combines creativity and technology to create captivating and effective visual storytelling.

Leave a Comment