Changes for page Power controller

Last modified by Mathias Larsen on 2026/09/24 21:21

From version 3.3
edited by Mathias Larsen
on 2026/05/24 17:37
Change comment: There is no comment for this version
To version 8.1
edited by Mathias Larsen
on 2026/05/25 12:10
Change comment: There is no comment for this version

Summary

Details

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