The STM32F103 has its own backup-domain RTC — most Blue Pills carry the 32.768 kHz crystal it needs on PC14/PC15, and a cell on VBAT keeps it alive — but it offers a calibration register, not temperature compensation. When a build needs time that is accurate as well as alive, a DS3231 RTC module on I2C1 (SCL PB6, SDA PB7 on a Blue Pill) is the upgrade: ±2 ppm, temperature-compensated, with its own coin cell. Wiring, pull-up notes and the accuracy story are on its part page.
Specifications
| M C U | ST STM32F103C8 (Arm 32-bit Cortex-M3 core) |
| Clock | 72 MHz maximum |
| Flash | 64 KB (STM32F103x8/C8; datasheet covers x8/xB at 64/128 KB) |
| S R A M | 20 KB |
| U S B | USB 2.0 full-speed interface |
| G P I O | 26/37/51/80 I/Os depending on package (up to 80) |
| A D C | 2 × 12-bit, 1 µs A/D converters (up to 16 channels) |
| Package | LQFP48 7 × 7 mm (T6) |
Adding a real-time clock
Projects Using STM32F103C8 Blue Pill2

Illustration
STM32STM32F1
Turns cheap STM32 boards into an oscilloscope, logic analyzer, voltmeter, PWM and signal generator controlled from a PC app.
Beginner·Code
1 part listed

Illustration
STM32STM32F1
STM32-O-Scope is a minimalist oscilloscope on an STM32F103 Blue Pill, in the spirit of the budget Arduino O-Scope idea — a cheap first scope for slow signals.
Intermediate·Code
2 parts listed
Where to Buy
Stores we've checked for this part
Heads up: some Buy links are affiliate links. If you buy through one, MCU Atlas may earn a small commission at no extra cost to you. It never changes which parts we list. How this works
Buy links coming soon. We only list stores we've checked.
Check the store for current price and stock.