STM32F103C8 Examples
FreeSTM32F103C8 example projects covering a wide range of peripherals
About STM32F103C8 Examples
A collection of example programs for the STM32F103C8 microcontroller (commonly known as Blue Pill). Covers a wide range of peripherals including ADC, DMA, I2C, SPI, USART, PWM, USB (keyboard, mass storage, virtual COM port), timers, external interrupts, power management modes (sleep, stop, standby), watchdog, real-time clock (RTC), bootloader, and various sensors (BMP280, MS5611) and displays (Nokia5110, SSD1331, WG12864A). Also includes motor control examples for BLDC (sensorless and sensored), PMSM, and stepper motors. Written primarily in C with some C++, Makefile, and assembly. Provides a practical, hands-on resource for learning embedded development on the STM32 platform.
Key Features
Pros & Cons
- Comprehensive coverage of common STM32 peripherals
- Free and open-source with no licensing restrictions
- Large collection of examples in one repository (55 commits)
- Well-structured with separate folders for each example
- Community-tested with high star and fork counts
- No published releases or versioned documentation
- Limited code comments or explanation beyond the code itself
- Repository may not be actively maintained (no recent commits visible)
- Examples are specific to STM32F103C8; not directly portable to other STM32 series without modification