Skip to content

STM32F411 Black Pill

paradajz edited this page Apr 21, 2026 · 1 revision

Quick overview

  • OpenDeck target name: blackpill411
  • Power: USB C
  • MCU: STM32F411CE
  • MIDI: USB, DIN
  • OSC: No
  • Traffic indicators: 2
  • Digital inputs: 8
  • Outputs: 8 (PWM / level control)
  • Analog inputs: 4
  • Board docs: STM32F411 Black Pill
  • Buy links:

Connections

Pinout to use as an reference to pins in later sections:

Switches

Switch # Pin 1 Pin 2
0 PA0 GND
1 PB0 GND
2 PB15 GND
3 PB14 GND
4 PB13 GND
5 PB12 GND
6 PC14 GND
7 PC15 GND

Analog inputs

Switch # Pin 1 Pin 1 Pin 2
8 PA1 GND with 10k resistor 3V
9 PA2 GND with 10k resistor 3V
10 PA3 GND with 10k resistor 3V
11 PB1 GND with 10k resistor 3V

Rotary encoders

Encoder # Pin 1 Pin 2 Pin 3
0 PA0 GND PB0
1 PB15 GND PB14
2 PB13 GND PB12
3 PC14 GND PC15

Potentiometers

Potentiometer # Pin 1 Pin 2 Pin 3
0 3V PA1 GND
1 3V PA2 GND
2 3V PA3 GND
3 3V PB1 GND

FSRs

FSR # Pin 1 Pin 2 Pin 2
0 3V PA1 GND with 1k resistor
1 3V PA2 GND with 1k resistor
2 3V PA3 GND with 1k resistor
3 3V PB1 GND with 1k resistor

PWM outputs

Note: current-limiting resistors for LEDs are required in order to avoid damage to the board.

Output # Anode Cathode
0 PA8 GND
1 PA15 GND
2 PB3 GND
3 PB4 GND
4 PB5 GND
5 PB6 GND
6 PB7 GND
7 PB10 GND

Traffic indicators

Indicator LED
USB input PC13
USB output PC13
DIN input PC13
DIN output PC13

I2C

Signal Pin
Vcc +3V
GND GND
SDA PB9
SCL PB8

DIN MIDI

This board doesn't have DIN MIDI connectors, so they have to be added to the board with the corresponding circuitry. Use this schematic:

MIDI In MIDI out
PA10 PA9

Touchscreen

Screen Pin
Vcc 5V
GND GND
Rx PA9
Tx PA10

Bootloader switch

Hold OpenDeck switch 0 / PA0 low while resetting or powering the board to enter the OpenDeck bootloader. This is the on-board user button.

Flashing

To flash this board with the OpenDeck firmware, go to the OpenDeck configurator and follow the instructions.

Notes

OpenDeck supports only V3 and newer WeAct Black Pill variants where the external SPI flash footprint is populated. Older variants are not supported by the blackpill411 target.

DIN MIDI and touchscreen use the same UART pins on this board, so only one of them can be enabled at a time.

Clone this wiki locally