Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Boards & Microcontrollers
  4. ›STM32 Blue Pill and Black Pill Boards

Component guide · Intermediate · 3 min read

STM32 Blue Pill and Black Pill Boards

By Geekobot Learning Team · Updated 24 Oct 2026

On this page
Short answerBlue Pill or Black Pill?ProgrammingPitfallsTry itCommon mistakesFAQsParts and next steps
Short answer

The Blue Pill is a small board with an STM32F103C8 Cortex-M3 at 72 MHz, 64 KB flash and 20 KB RAM. The newer Black Pill uses an STM32F401 or F411 Cortex-M4 at 84 or 100 MHz with much more memory, a floating-point unit, USB-C and a built-in USB bootloader. Both run at 3.3 V, many pins tolerate 5 V, and both program from the Arduino IDE via STM32duino or from STM32CubeIDE.

Key specs at a glance

Blue Pill MCU
STM32F103C8T6, Cortex-M3, 72 MHz, 64 KB flash, 20 KB RAM
Black Pill MCU
STM32F401CC or F411CE, Cortex-M4F, 84 or 100 MHz, 256 or 512 KB flash
Logic
3.3 V; pins marked FT tolerate 5 V inputs
ADC
12-bit
Programming
ST-Link (SWD); Blue Pill also USB-serial with BOOT0; Black Pill USB DFU
Software
STM32duino Arduino core, STM32CubeIDE, PlatformIO
01

Blue Pill or Black Pill?

Blue PillBlack Pill (F411)Arduino Nano
CoreCortex-M3, 72 MHzCortex-M4F, 100 MHzAVR, 16 MHz
Flash / RAM64 KB / 20 KB512 KB / 128 KB32 KB / 2 KB
Float mathsSoftwareHardware FPUSoftware
USB uploadNot out of the boxYes, DFUYes
Logic level3.3 V3.3 V5 V
GotchasClones, USB resistorFewLow memory
Core
Blue Pill:
Cortex-M3, 72 MHz
Black Pill (F411):
Cortex-M4F, 100 MHz
Arduino Nano:
AVR, 16 MHz
Flash / RAM
Blue Pill:
64 KB / 20 KB
Black Pill (F411):
512 KB / 128 KB
Arduino Nano:
32 KB / 2 KB
Float maths
Blue Pill:
Software
Black Pill (F411):
Hardware FPU
Arduino Nano:
Software
USB upload
Blue Pill:
Not out of the box
Black Pill (F411):
Yes, DFU
Arduino Nano:
Yes
Logic level
Blue Pill:
3.3 V
Black Pill (F411):
3.3 V
Arduino Nano:
5 V
Gotchas
Blue Pill:
Clones, USB resistor
Black Pill (F411):
Few
Arduino Nano:
Low memory
02

Programming

ST-Link V2 (recommended for both): connect SWDIO, SWCLK, GND and 3.3 V. In the Arduino IDE, install the STM32duino core (STMicroelectronics), select the board and 'STM32CubeProgrammer (SWD)' as the upload method. This also lets you debug with breakpoints in STM32CubeIDE.

Black Pill over USB: hold BOOT0, tap NRST, release BOOT0, and the chip appears as a DFU device; upload with 'STM32CubeProgrammer (DFU)'.

Blue Pill over serial: set the BOOT0 jumper to 1, connect a USB to TTL adapter to PA9 (TX) and PA10 (RX), upload, then set BOOT0 back to 0.

03

Pitfalls

Clone chips

many Blue Pills carry CS32, CKS32 or GD32 chips marked or sold as STM32. Most work, but some programmers refuse their ID, and timing can differ. The Black Pill from WeAct is a safer buy.

USB pull-up

many Blue Pills fit a 10 kΩ resistor (R10) on USB D+ where 1.5 kΩ is specified, which makes USB unreliable on some PCs.

5 V tolerance

only pins marked FT in the datasheet accept 5 V, and never in analog mode. Use a level shifter when unsure.

Power

the 3.3 V regulator is small; power hungry modules separately.

04

Try it: ADC resolution calculator

Change the values and the diagram and results update as you type.

05

Common mistakes to avoid

  • !Feeding 5 V into a pin that is not FT, or into an analog input.
  • !Forgetting to return BOOT0 to 0 after a serial upload.
  • !Buying the cheapest Blue Pill and fighting a clone chip.
  • !Powering servos from the board's 3.3 V regulator.
  • !Assuming Arduino Uno libraries that use AVR registers will work.
06

Frequently asked questions

Is the STM32 Blue Pill still worth buying?

For new projects the Black Pill is usually better: faster, more memory, USB upload and fewer clone problems.

Can I program an STM32 with the Arduino IDE?

Yes, with the STM32duino core from STMicroelectronics and an ST-Link or USB DFU.

Are STM32 pins 5 V tolerant?

Many digital pins marked FT in the datasheet are, but not in analog mode. Check each pin.

Why does my Blue Pill not show up over USB?

It has no USB bootloader by default, and many boards have the wrong USB pull-up resistor. Use an ST-Link.

STM32 or ESP32?

ESP32 for Wi-Fi and Bluetooth. STM32 for precise timers, low-noise ADC, motor control and industry-standard debugging.

Parts for this guide

  • 4-Channel Logic Level Converter (BSS138)
    ₹20View
Shop ESP32 & Wireless BoardsShop Microcontroller ICs

Calculators

ADC resolution calculator

Terms in this guide

MicrocontrollerA single chip with a processor, memory and input/output pins that runs one program, such as the ATmega328P or ESP32.BootloaderA small program stored on a microcontroller that lets you upload new code over USB or serial without a dedicated programmer.GPIOGeneral-purpose input/output: a microcontroller pin that your code can read or drive.ADCAnalog-to-digital converter: turns a voltage into a number. A 10-bit ADC gives 0 to 1023; a 12-bit ADC gives 0 to 4095.Logic levelThe voltage that represents a digital high: 5 V on classic Arduinos, 3.3 V on ESP32, Pico and Raspberry Pi.

Keep learning

Buying guideBeginnerHow to Choose a Microcontroller BoardFor learning electronics, start with an Arduino Uno: 5 V logic, sturdy, and every tutorial works on it.4 min read · Boards & MicrocontrollersComponent guideBeginnerArduino NanoThe Arduino Nano is a breadboard-friendly version of the Uno: the same ATmega328P, 5 V logic and 14 digital pins, in a 45 x 18 mm board with a mini USB port.4 min read · Boards & MicrocontrollersComponent guideBeginnerESP32 GuideThe ESP32 is a low-cost 3.3 V microcontroller from Espressif with built-in Wi-Fi and Bluetooth, used for IoT devices, smart-home controllers and web dashboards.5 min read · Boards & MicrocontrollersComponent guideIntermediateUSB to TTL Serial AdaptersA USB to TTL adapter turns a computer USB port into a 3.3 V or 5 V serial port, so you can program boards without USB (Pro Mini, ESP-01, ESP32-CAM) or read a debug console.4 min read · Boards & MicrocontrollersComponent guideBeginnerRaspberry Pi Pico GuideThe Raspberry Pi Pico is a low-cost 3.3 V microcontroller board, not a computer: it runs one program and has no operating system.4 min read · Boards & Microcontrollers

Sources

  • STMicroelectronics STM32F103x8 and STM32F411xE datasheets
  • STM32duino core documentation
  • WeAct Studio Black Pill documentation

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerBlue Pill or Black Pill?ProgrammingPitfallsTry itCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide1 item · ₹20

4-Channel Logic Level Converter (BSS138)

Ask the Community

Ask a question