STM32F103C8T6 (Blue Pill)

The STM32F103C8T6, popularly known as the Blue Pill, is a powerful and cost-effective ARM Cortex-M3 microcontroller from STMicroelectronics.

Cover image for board - STM32F103C8T6 (Blue Pill) stm32f103c8t6 stmicroelectronics microcontroller bluepill

19 June 2023 by Kevin McAleer | Share this article on


Overview

The STM32F103C8T6, commonly referred to as the Blue Pill, is an ARM Cortex-M3 microcontroller that has gained immense popularity due to its robust features combined with its affordable price. This 32-bit microcontroller offers a perfect balance of performance and features, making it a go-to choice for many embedded projects.


About the Manufacturer

STMicroelectronics is a global leader in the semiconductor industry, known for its wide range of microcontrollers, sensors, and other electronic components. Their STM32 series, under which the Blue Pill falls, stands out for its scalability and performance.


Target Audience

Whether youā€™re a student, hobbyist, or a professional embedded systems developer, the Blue Pill is an attractive option. Its low cost and powerful capabilities make it an excellent platform for learning, prototyping, and even production in certain applications.


Onboard Features and Specifications

  • Core: ARM Cortex-M3 running at up to 72 MHz.
  • Memory: 64KB of Flash memory and 20KB of SRAM.
  • Peripherals: Includes UART, SPI, I2C, timers, ADC, and more.
  • I/O: Up to 37 GPIO pins.
  • Connectivity: 2x12 pin headers with a pitch of 2.54 mm.

Programming Languages

You can program the Blue Pill using the C/C++ languages with the STM32Cube IDE and HAL libraries provided by STMicroelectronics. Thereā€™s also a core available for the Arduino IDE, allowing for easier development for those familiar with the Arduino platform. MicroPython and mbed platforms also support this microcontroller, offering even more versatility.


Fun Projects

The Blue Pill can be used in a myriad of projects:

  • Weather Station: Use its ADC to read values from temperature and humidity sensors.
  • Smart Lighting: Control LED strips or individual LEDs using its GPIO pins.
  • DIY Game Console: Pair it with a small screen and buttons to create your own handheld gaming device.

GPIO Pinouts

The Blue Pill provides:

  • General GPIO: Digital input/output pins.
  • Power pins: Labeled as 3.3V and GND.
  • Analog pins: Connected to the onboard ADC.
  • Communication pins: Including I2C, SPI, and USART.

Always refer to the STM32F103C8T6 datasheet and reference manual for detailed pin functionalities.


In conclusion, the STM32F103C8T6 or the Blue Pill stands out as a remarkable microcontroller in the STM32 series. Its blend of affordability, features, and performance makes it a favorite among many in the embedded world.


If you liked this, you might like these:

A picture of Kevin McAleer, the author of the site

Kevin McAleer

I build robots, bring them to life with code, and have a whole load of fun along the way

Social Links:


Boards

Did you find this content useful?


If you found this high quality content useful please consider supporting my work, so I can continue to create more content for you.

I give away all my content for free: Weekly video content on YouTube, 3d Printable designs, Programs and Code, Reviews and Project write-ups, but 98% of visitors don't give back, they simply read/watch, download and go. If everyone who reads or watches my content, who likes it, helps fund it just a little, my future would be more secure for years to come. A price of a cup of coffee is all I ask.

There are a couple of ways you can support my work financially:


If you can't afford to provide any financial support, you can also help me grow my influence by doing the following:


Thank you again for your support and helping me grow my hobby into a business I can sustain.
- Kevin McAleer