The Blue Pill is a development board based on STMicroelectronics’ STM32F103C8T6 microcontroller that has an ARM Cortex-M3 core that runs at 72MHz max. Software libraries are available that allow users to program the chip using the Arduino IDE.
The ARM Cortex M3 STM32F103C8 Microcontroller is used in the Blue pill board. Unlike the name, “Blue Pill” the Microcontroller’s name STM32F103C8T6 has a meaning behind it.
Now let us look into the specifications of this Microcontroller.
The complete pin-outs of the STM32 Blue pill board are shown below. As you can see each pin is neatly labeled against it. The labeling is also similar to the Arduino boards. That is the G is used to denote the ground pin, 3.3V outputs a regulated 3.3V and the 5V pin can either be used to power the board or obtain the +5V if powered via micro USB. The onboard LED is connected to the PC13 pin of the Microcontroller.
The Blue Pill is a 32-bit Arduino-compatible development board that features the STM32F103C8T6, a member of the STM32 family of ARM Cortex-M3 core microcontrollers. This board aims to bring the 32-bit ARM Cortex microcontrollers to the hobbyist market with the Arduino-style form factor.
There are three ways of powering your Blue Pill development board:
The Blue Pill has 37 GPIO pins spread across four ports – A and B (16 pins), C (3 pins) and D (2 pins). Each pin has a current sink/source ability of 6mA. Pull-up and pull-down resistors can be enabled on each of the pins.
Most pins have extra functionality as well:
These special functions and their respective pins are illustrated in the Blue Pill pin diagram shown above.
The Blue Pill can be programmed in two ways–
Before programming, it is important to connect the BOOT0 jumper to 1 and press the reset button to put the chip in ‘programming mode’.
If programming using the Arduino software, the appropriate board files should be downloaded using preferences and boards manager.
Then the correct board must be selected on the board’s menu.
Since the built-in LED is on pin 13, just like the Arduino, the basic blink sketch will work on the Blue Pill.
الطائــف - المملكــة العربيــة السعــوديـة
المختــرع المجنــون © جميـــع الحقــوق محفوظــة