Changes for page Power controller
Last modified by Mathias Larsen on 2026/09/24 21:21
To version 6.1
edited by Mathias Larsen
on 2026/05/24 18:04
on 2026/05/24 18:04
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,51 +49,3 @@ 1 -== Connector pinout == 2 - 3 -|=(% style="width: 658px;" %)Pin|=(% style="width: 205px;" %) |= |= 4 -|(% style="width:658px" %)1|(% style="width:205px" %) | | 5 -|(% style="width:658px" %)2|(% style="width:205px" %) | | 6 -|(% style="width:658px" %)3|(% style="width:205px" %) | | 7 -|(% style="width:658px" %)4|(% style="width:205px" %) | | 8 -|(% style="width:658px" %)5|(% style="width:205px" %) | | 9 -|(% style="width:658px" %)6|(% style="width:205px" %) | | 10 -|(% style="width:658px" %)7|(% style="width:205px" %) | | 11 -|(% style="width:658px" %)8|(% style="width:205px" %) | | 12 -|(% style="width:658px" %)9|(% style="width:205px" %) | | 13 -|(% style="width:658px" %)10|(% style="width:205px" %) | | 14 -|(% style="width:658px" %)11|(% style="width:205px" %) | | 15 -|(% style="width:658px" %)12|(% style="width:205px" %) | | 16 -|(% style="width:658px" %)((( 17 -13 18 -)))|(% style="width:205px" %) | | 19 -|(% style="width:658px" %)14|(% style="width:205px" %) | | 20 -|(% style="width:658px" %)15|(% style="width:205px" %) | | 21 -|(% style="width:658px" %)16|(% style="width:205px" %) | | 22 -|(% style="width:658px" %)17|(% style="width:205px" %) | | 23 -|(% style="width:658px" %)18|(% style="width:205px" %) | | 24 -|(% style="width:658px" %)19|(% style="width:205px" %) | | 25 -|(% style="width:658px" %)20|(% style="width:205px" %) | | 26 -|(% style="width:658px" %)21|(% style="width:205px" %) | | 27 -|(% style="width:658px" %)22|(% style="width:205px" %) | | 28 -|(% style="width:658px" %)23|(% style="width:205px" %) | | 29 -|(% style="width:658px" %)24|(% style="width:205px" %) | | 30 -|(% style="width:658px" %)25|(% style="width:205px" %) | | 31 -|(% style="width:658px" %)26|(% style="width:205px" %) | | 32 -|(% style="width:658px" %)27|(% style="width:205px" %) | | 33 -|(% style="width:658px" %)28|(% style="width:205px" %) | | 34 -|(% style="width:658px" %)29|(% style="width:205px" %) | | 35 -|(% style="width:658px" %)30|(% style="width:205px" %) | | 36 -|(% style="width:658px" %)31|(% style="width:205px" %) | | 37 -|(% style="width:658px" %)32|(% style="width:205px" %) | | 38 -|(% style="width:658px" %)33|(% style="width:205px" %) | | 39 -|(% style="width:658px" %)34|(% style="width:205px" %) | | 40 -|(% style="width:658px" %)35|(% style="width:205px" %) | | 41 - 42 - 43 - 44 -== Microcontroller Pinout == 45 - 46 -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 47 - 48 - 49 49 |=Physical pin|=Electrical pin|=((( 50 50 Description 51 51 ))) ... ... @@ -52,47 +52,43 @@ 52 52 |1|VBAT|Power source from a backup battery if a RTC would be used (Connected to +3V3 in this case) 53 53 |5|OSC_IN|Clock input (8MHz oscillator) 54 54 |7|NRST|Negative reset which can be connected to a button (Connected to +3V3) 55 -|8|PA0| Analog signal:Current 6Supply 24V resserve56 -|9|PA1| Analog signal:Current 7Supply 24V resserve57 -|10|PA2| Analog signal:Current 5Supply sensor card58 -|11|PA3| Analog signal:Current 4Supply front59 -|12|PA4| Analog signal:Current 3Supply accumulator60 -|13|PA5| Analog signal:Current 2Supply fans61 -|14|PA6| Digital outputLED 962 -|15|PA7| Digital outputLED 263 -|16|PB0| Analog signalCurrent 8Supply buzzer, brake light64 -|17|PB1|PWM :enable Fan165 -|18|PB2| Input:V-sense7 +|8|PA0|Current 6 8 +|9|PA1|Current 7 9 +|10|PA2|Current 5 10 +|11|PA3|Current 4 11 +|12|PA4|Current 3 12 +|13|PA5|Current 2 13 +|14|PA6|LED 9 14 +|15|PA7|LED 2 15 +|16|PB0|Current 8 16 +|17|PB1|PWM enable Fan 17 +|18|PB2|V-sense 66 66 |19|VSSA|Voltage source: Ground 67 -|20|VREF|Voltage reference ( Internalvoltagerefferance)19 +|20|VREF|Voltage reference (connected to +3V3)?? 68 68 |21|VDDA|Voltage source: Power (+3V3) 69 -|22|PB10| Digital output:LED 821 +|22|PB10|LED 8 70 70 |23|VSS|Voltage source: Ground 71 71 |24|VDD|Voltage source: Power (+3V3) 72 -|25|PB11|Current 1 Internal components 73 -|26|PB12|Current 9 Supply 12 V Pumps inverter and datalogger 74 -|29|PB15|PWM: enable fan 2 75 -|30|PA8|Digital output Enable buzzeer(On the car it is Brake light) 76 -|31|PA9|((( 77 -Digital output Enable brake light(On the car it is the buzzer) 78 -))) 79 -|32|PA10|Input ASMS signal 80 -|33|PA11|CAN-BUS RXD 81 -|34|PA12|CAN-BUS TXD 24 +|25|PB11|Current 1 25 +|26|PB12|Current 9 26 +|29|PB15|PWM fan 27 +|30|PA8|Enable buzzeer 28 +|31|PA9|Enable brake light 29 +|32|PA10|ASMS signal 30 +|33|PA11|CAN bus RXD 31 +|34|PA12|CAN bus TXD 82 82 |35|VSS|Voltage source: Ground 83 83 |36|VDD|Voltage source: Power (+3V3) 84 84 |37|PA13|SWDIO 85 85 |38|PA14|SWCLK 86 -|40|PB3| Digital output:LED 387 -|41|PB4| Digital output:LED 488 -|42|PB5| Digital output:LED 589 -|43|PB6| Digital output:Enable Pump 190 -|44|PB7| Digital output:Enable Pump 291 -|45|PB8| Digital output:LED 636 +|40|PB3|LED 3 37 +|41|PB4|LED 4 38 +|42|PB5|LED 5 39 +|43|PB6|Enable Pump 1 40 +|44|PB7|Enable Pump 2 41 +|45|PB8|LED 6 92 92 |46|PB9|LED 7 93 93 |47|VSS|Voltage source: Ground 94 94 |48|VDD|Voltage source: Power (+3V3) 95 95 96 -== Features to add == 97 - 98 -Add mosfets to cut power if the Lv battery is to low to save power 46 +