Power controller

Version 7.3 by Mathias Larsen on 2026/05/25 12:06

 

Microcontroller Pinout

The power controller uses a microcontroller to control the pumps, fans, buzzer, and brake light. It also features current monitoring and LED indicators. The Microcontroller used in this system is STM32G431CBT6 D 

Physical pinElectrical pin

Description

1VBATPower source from a backup battery if a RTC would be used (Connected to +3V3 in this case)
5OSC_INClock input (8MHz oscillator)
7NRSTNegative reset which can be connected to a button (Connected to +3V3)
8PA0Analog signal: Current 6 Supply 24V resserve
9PA1Analog signal: Current 7 Supply 24V resserve
10PA2Analog signal: Current 5 Supply sensor card
11PA3Analog signal: Current 4 Supply front 
12PA4Analog signal: Current 3 Supply accumulator
13PA5Analog signal: Current 2 Supply fans
14PA6Digital output LED 9
15PA7Digital output LED 2
16PB0Analog signal Current 8 Supply buzzer, brake light 
17PB1PWM enable Fan 1
18PB2Analog input: V-sense
19VSSAVoltage source: Ground
20VREFVoltage reference (connected to +3V3)??
21VDDAVoltage source: Power (+3V3)
22PB10Digital ouLED 8
23VSSVoltage source: Ground
24VDDVoltage source: Power (+3V3)
25PB11Current 1 Internal components 
26PB12Current 9 Supply 12 V Pumps inverter and datalogger  
29PB15PWM fan
30PA8Enable buzzeer
31PA9Enable brake light
32PA10ASMS signal
33PA11CAN bus RXD
34PA12CAN bus TXD
35VSSVoltage source: Ground
36VDDVoltage source: Power (+3V3)
37PA13SWDIO
38PA14SWCLK
40PB3LED 3
41PB4LED 4
42PB5LED 5
43PB6Enable Pump 1
44PB7Enable Pump 2
45PB8LED 6
46PB9LED 7 
47VSSVoltage source: Ground
48VDDVoltage source: Power (+3V3)