Skip to main content

Pinout-and-Wiring

Pinout and Wiring

The following table details the pin connections for the Starklicht project on the STM32F401CCU6 Blackpill board.

PinFunctionDeviceDescription
PA0ADC1_IN0Temperature Sensor;ComponentsTemperature Sensor for the LEDs
PA1ADC1_IN1Temperature Sensor;ComponentsTemperature Sensor for the Driver
PA2ADC1_IN2Temperature SensorTemperature Sensor (Debug)
PA3ADC1_IN3Temperature SensorTemperature Sensor (Debug)
PA4ADC1_IN4PotisRed Color Adjustment
PA5ADC1_IN5PotisGreen Color Adjustment
PA6ADC1_IN6PotisBlue Color Adjustment
PA7ADC1_IN7PotisMaster Brightness/Function
PA8GPIO_InputBluetooth ModuleBluetooth State
PA9USART1_TXBluetooth ModuleUART Transmit
PA10USART1_RXBluetooth ModuleUART Receive
PA12GPIO_OutputDisplaySPI Chip Select
PA15GPIO_OutputDisplayDisplay D/C
PB0ADC1_IN8Current Sensor, BatteryMeasures the current consumption
PB1ADC1_IN9BatteryMeasures the battery voltage
PB3SPI1_SCKDisplaySPI Clock
PB4GPIO_OutputDisplayDisplay Reset
PB5SPI1_MOSIDisplaySPI MOSI
PB6TIM4_CH1LEDRed LED PWM Control
PB7TIM4_CH2LEDGreen LED PWM Control
PB8TIM4_CH3LEDBlue LED PWM Control
PB9TIM4_CH4LEDFan PWM Control
PB12GPIO_InputButtonsButton 4
PB13GPIO_InputButtonsButton 3
PB14GPIO_InputButtonsButton 2
PB15GPIO_InputButtonsButton 1
PC13GPIO_OutputLEDOn-board LED