Nairobi
admin@elffie.com
STM32 Blue Pill (STM32F103C8T6)

Generic · STM32F103C8T6

STM32 Blue Pill (STM32F103C8T6)

KSh 601In stock

Specification

Part number
STM32F103C8T6
Manufacturer
Generic
Stock code
MCU-STM32-BLUEPILL
Category
Microcontrollers
Supply voltage
3.3 V
Output type
3.3V digital
Protocol
CAN
Protocol
I2C
Protocol
SPI
Protocol
UART
Mounting
Through-hole
Availability
10 in stock

Details

An Arm Cortex-M3 board for when an AVR runs out of speed or peripherals. Considerably more capable than an Uno for the money, and the usual step up for motor control, signal work, or anything needing real timers.

Two well-known quirks of this board: many clones ship with the wrong USB pull-up resistor fitted, so USB may not enumerate until it is changed, and there is no USB bootloader out of the box — most people program it with an ST-Link V2 through the SWD header. Budget for an ST-Link if you do not have one.

Ask about this part

Answers come from this listing and the assistant can still be wrong — the manufacturer's datasheet is what governs. For anything you are going to wire up, check it there or ask us.

Using this part

Starting points, not finished firmware. Check them against the datasheet.

Blink on PC13 (the on-board LED)

cpp
// Using the STM32duino core. The on-board LED sits on PC13 and is
// active LOW, so LOW turns it on.

void setup() {
  pinMode(PC13, OUTPUT);
}

void loop() {
  digitalWrite(PC13, LOW);   // on
  delay(500);
  digitalWrite(PC13, HIGH);  // off
  delay(500);
}