Power controller

Version 19.1 by Mathias Larsen on 2026/09/22 14:53

Connector pinout

Pin comment 
1CANH  
2CANL  
3FAN 1 PWM  
4FAN 2 PWM  
5GNDBlob with tin 
6GNDBlob with tin 
7GNDBlob with tin 
8GNDBlob with tin 
9Accumulator  
10Front  
11Power fan  
12Power fan  

13

GND  
14GND  
15GND  
16GND  
17GND  
18GND  
19GND  
20GND  
21GND  
22GND  
23GND  
2412V  
2512V  
2612V power pump1  
2712V Power pump2  
28GNDBlob with tin 
29GNDBlob with tin 
30GNDBlob with tin 
31BuzzerIs brake light in wiring harnes 
32Brake lightIs buzzer in wiring harnes 
3324Vreserve 
3424Vreserve 
3524Vsensor card 

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 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
18PB2Input: V-sense
19VSSAVoltage source: Ground
20VREFVoltage reference (Internal voltage refferance)
21VDDAVoltage source: Power (+3V3)
22PB10Digital output: LED 8
23VSSVoltage source: Ground
24VDDVoltage source: Power (+3V3)
25PB11Current 1 Internal components 
26PB12Current 9 Supply 12 V Pumps inverter and datalogger  
29PB15PWM: enable fan 2
30PA8Digital output Enable buzzeer(On the car it is Brake light)
31PA9

Digital output Enable brake light(On the car it is the buzzer)

32PA10Input ASMS signal
33PA11CAN-BUS RXD
34PA12CAN-BUS TXD
35VSSVoltage source: Ground
36VDDVoltage source: Power (+3V3)
37PA13SWDIO
38PA14SWCLK
40PB3Digital output: LED 3
41PB4Digital output: LED 4
42PB5Digital output: LED 5
43PB6Digital output: Enable Pump 1
44PB7Digital output: Enable Pump 2
45PB8Digital output: LED 6
46PB9LED 7 
47VSSVoltage source: Ground
48VDDVoltage source: Power (+3V3)

Digital outputs '

3v3

24V

Current measurment

Known issues

12 V did not work

Current measurement not tested 

Features to add

Add mosfets to cut power if the Lv battery is to low to save power

Add a power distrobution for Autonomus system

BOM(bill of materials)

Part NumberTypeDescriptionQtyItem ID
STM32G431CBT6bMicrocontroller11288-LV-00056
01550900DRbFuseholder for nanofuse291288-LV-00057
0466.125NRbIn-line fuse 125 mA11288-LV-00058
776231-1bAmpseal 35 pin connector11288-LV-00059
76829-0002bMega Fit 2 pin connector11288-LV-00060
44914-0401bMini Fit 4 pin connector11288-LV-00061
1461247-3b24VDC relay11288-LV-00062
BSS123NH6327XTSA1bMosfet N-channel SOT-2361288-LV-00063
BSS83PH6327XTSA1bMosfet P-channel SOT-2321288-LV-00064
BSC084P03NS3GATMA1bP-channel mosfet PG-TDSON-8-121288-LV-00065
NCV7344D13R2GbCAN FD transceiver11288-LV-00066
INA4180A4IPWRbCurrent sense amplifier, quad channel31288-LV-00067
AP64060WU-7bSynchronous step-down converter11288-LV-00068
AP2112K-3.3TRG1b3.3V LDO, PDS0511288-LV-00069
TPS56A37RPARb10A synchronous buck converter31288-LV-00070
ASE-8.000MHz-E-Tb8MHz Oscillator11288-LV-00071
824094024bTVS diode, SOT-23-3L11288-LV-00072
824500261bTVS diode, DO-214AC11288-LV-00073
150282M167310bLED red/blue/green91288-LV-00074
WSLF25122L000FEAbRes Metal Strip, 2mΩ, 251291288-LV-00077
CR0603-FX-1002ELFbSMD chip resistor, 10KΩ, 0603221288-LV-00078
PCBmSelf-designed PCB11288-LV-00171
CR0805-JW-472ELFbSMD chip resistor, 4K7Ω, 060391288-LV-00189
CR0603-FX-1001ELFmSMD chip resistor, 1KΩ, 060371288-LV-00190
CRCW060352K3FKEAbSMD chip resistor, 52K3Ω, 060331288-LV-00192
CRCW060320K0FKEAmSMD chip resistor, 20KΩ, 060331288-LV-00193
ERJ-6ENF3833VmSMD chip resistor, 383KΩ, 060331288-LV-00194
CRCW0603100KFKEAmSMD chip resistor, 100KΩ, 060331288-LV-00195
RC0603FR-105K1LmSMD chip resistor, 5K1Ω, 060311288-LV-00207
CRGCQ0603F27KbSMD chip resistor, 27KΩ, 060311288-LV-00208
CR0603-FX-3480ELFbSMD chip resistor, 348Ω, 060391288-LV-00216
CC0603KRX5R6BB475mMLCC SMD, 4.7µF, 060311288-LV-00227
CL10B104KA8NNNCmMLCC SMD, 100nF, 060391288-LV-00228
CL10B105KA8NFNCmMLCC SMD, 1µF, 060321288-LV-00229
CL10B103KB8NNNCmMLCC SMD, 10nF, 0603101288-LV-00230
885012206020mMLCC SMD, 100nF21288-LV-00231
885012006051mMLCC SMD, 10pF21288-LV-00232
885012208124mMLCC SMD, 2.2µF, 060321288-LV-00233
885012108022mMLCC SMD, 10µF, 060311288-LV-00234
885012206071RmMLCC SMD, 100nF, 060311288-LV-00235
885012107014mMLCC SMD, 10µF, 080421288-LV-00236
MBASU105SB5104KFNA01mMLCC SMD, 100nF, 040221288-LV-00237
885012209073mMLCC SMD, 2.2µF, 121061288-LV-00238
885012207098RmMLCC SMD, 100nF, 080531288-LV-00239
885012206042mMLCC SMD, 22nF, 060331288-LV-00240
885012206046mMLCC SMD, 100nF, 060331288-LV-00241
C0603C300F3HACAUTObMLCC SMD, 30pF, 060331288-LV-00242
885012208069mMLCC SMD, 10µF, 12069