Power controller
Version 13.1 by Mathias Larsen on 2026/06/17 16:23
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
| Physical pin | Electrical pin | Description |
|---|---|---|
| 1 | VBAT | Power source from a backup battery if a RTC would be used (Connected to +3V3 in this case) |
| 5 | OSC_IN | Clock input (8MHz oscillator) |
| 7 | NRST | Negative reset which can be connected to a button (Connected to +3V3) |
| 8 | PA0 | Analog signal: Current 6 Supply 24V resserve |
| 9 | PA1 | Analog signal: Current 7 Supply 24V resserve |
| 10 | PA2 | Analog signal: Current 5 Supply sensor card |
| 11 | PA3 | Analog signal: Current 4 Supply front |
| 12 | PA4 | Analog signal: Current 3 Supply accumulator |
| 13 | PA5 | Analog signal: Current 2 Supply fans |
| 14 | PA6 | Digital output LED 9 |
| 15 | PA7 | Digital output LED 2 |
| 16 | PB0 | Analog signal Current 8 Supply buzzer, brake light |
| 17 | PB1 | PWM: enable Fan 1 |
| 18 | PB2 | Input: V-sense |
| 19 | VSSA | Voltage source: Ground |
| 20 | VREF | Voltage reference (Internal voltage refferance) |
| 21 | VDDA | Voltage source: Power (+3V3) |
| 22 | PB10 | Digital output: LED 8 |
| 23 | VSS | Voltage source: Ground |
| 24 | VDD | Voltage source: Power (+3V3) |
| 25 | PB11 | Current 1 Internal components |
| 26 | PB12 | Current 9 Supply 12 V Pumps inverter and datalogger |
| 29 | PB15 | PWM: enable fan 2 |
| 30 | PA8 | Digital output Enable buzzeer(On the car it is Brake light) |
| 31 | PA9 | Digital output Enable brake light(On the car it is the buzzer) |
| 32 | PA10 | Input ASMS signal |
| 33 | PA11 | CAN-BUS RXD |
| 34 | PA12 | CAN-BUS TXD |
| 35 | VSS | Voltage source: Ground |
| 36 | VDD | Voltage source: Power (+3V3) |
| 37 | PA13 | SWDIO |
| 38 | PA14 | SWCLK |
| 40 | PB3 | Digital output: LED 3 |
| 41 | PB4 | Digital output: LED 4 |
| 42 | PB5 | Digital output: LED 5 |
| 43 | PB6 | Digital output: Enable Pump 1 |
| 44 | PB7 | Digital output: Enable Pump 2 |
| 45 | PB8 | Digital output: LED 6 |
| 46 | PB9 | LED 7 |
| 47 | VSS | Voltage source: Ground |
| 48 | VDD | Voltage source: Power (+3V3) |