Black Pill connection guide
Black Pill (WeAct MiniF4 V3.1) connection guide. Power the board from USB. Attach an SWD probe.
| Package | Contacts | Details |
|---|---|---|
| STM32F103C8T6 Black Pill | 43 | This STM32F103 board uses a four-contact SWD connector with GND, CLK, DIO and 3V3 in that order. Its debug connector differs from the Blue Pill and WeAct MiniF4. |
| WeAct MiniF4 V3.1 | 44 | Match the V3.1 marking on the underside of the WeAct MiniF4. The map follows headers P1 and P2 and SWD connector P3 in the V3.1 schematic. |
Power the board from USB
RequiredUse USB-C as the single power source. With SB1 open, VBUS feeds the board’s 5 V rail through D4. With SB1 closed, VBUS and the 5 V rail are directly connected. Leave external power headers disconnected. Check the 3.3 V rail before attaching the debug probe.
- USB power input
- USB host VBUS
- Board USB-C VBUS
- USB return
- USB host ground
- Board USB-C ground
- Board logic rail
- 3.3 V measurement point
Bench checks
- Identify the USB power input and ground in the documentation for your PCB revision.
- Measure roughly 3.3 V between the board logic rail and ground. Check for a short or wrong connector if the rail is low.
WeAct MiniF4 V3.1 connector map
Connection scenarios
Connect a 3.3 V UART console
Use an external 3.3 V logic-level adapter and keep the board on USB power. Cross transmit and receive, share ground and match the serial framing.
- Board transmit
- →
- Adapter RX
- Board receive
- →
- Adapter TX
- Ground
- Adapter GND
Bench checks
- Leave the adapter’s supply output disconnected.
- Enable USART1 on PA9/PA10 and verify that the host receives a known test string.
WeAct MiniF4 V3.1 connector map
WeAct MiniF4 V3.1 wiring map
Connector contacts
H1-1 · 5V
Board 5 V rail and regulator input. USB VBUS feeds it through D4 with SB1 open. Closing SB1 bypasses D4 and ties the rails together. Disconnect USB before feeding 5 V here.
Models and documents
The maps follow the listed PCB variants. Match the board markings and connector positions to the source for your PCB revision before applying power.
- WeAct MiniF4 V3.1
- Match the V3.1 marking on the underside of the WeAct MiniF4. The map follows headers P1 and P2 and SWD connector P3 in the V3.1 schematic.
- STMicroelectronics MCU datasheet· MCU electrical specifications and package pin functions.
- WeAct MiniF4 V3.1 schematic· PCB power, debug, connector and peripheral wiring.
- WeAct MiniF4 hardware revisions· Revision changes, including regulator and USB-C power routing.
