Commit Graph

20 Commits

Author SHA1 Message Date
Kilian Bracher b24fc66caf
preliminary support for the two RGB status leds
Note: pin assignments not final
2023-12-04 18:45:29 +01:00
Jasper Blanckenburg 12422071a5 Read IMD M pin 2023-07-03 14:20:13 +02:00
Jasper Blanckenburg 554eecfc94 Configure IOC for Master v2 2023-07-02 13:27:50 +02:00
Jasper Blanckenburg 208d84e2a5 Integrate current
The current counter on the shunt can't be activated for some reason.
2023-06-25 16:41:29 +02:00
Jasper Blanckenburg 5dba504e10 Basic SoC estimation 2023-06-25 15:29:08 +02:00
Jasper Blanckenburg 2eb7109416 Revert "Implementation of SoC Prediction"
This reverts commit c4543e7e01.
2023-06-25 15:28:53 +02:00
Max 'MaxMax' Mönikes c4543e7e01 Implementation of SoC Prediction
untested. Maybe revert to Jaspers Version
2023-06-21 13:13:38 +02:00
Jasper Blanckenburg cf018f9e4a Full battery 2023-06-05 18:17:16 +02:00
Jasper Blanckenburg 25d6ab2667 Shunt timeout 2023-05-31 00:46:49 +02:00
Jasper Blanckenburg bf11004c64 Receive individual slave status messages 2023-05-14 19:52:24 +02:00
Jasper Blanckenburg ce4d7253eb Send AMS error messages 2023-04-30 00:57:42 +02:00
Jasper Blanckenburg 6810790349 Don't wait after reaching 95% 2023-04-29 23:45:59 +02:00
Jasper Blanckenburg 29b411e4af Make SDC state globally available 2023-04-26 13:18:54 +02:00
Jasper Blanckenburg 6c27b83377 Motors turning 2023-04-24 19:20:21 +02:00
Jasper Blanckenburg ca6bdec839 Handle slave status frames 2023-04-15 22:01:22 +02:00
Jasper Blanckenburg 66d9baba7a Go into discharge for 5s
The discharge circuit is only active while the SDC is open. If the SDC
never opens (or opens for a very short time only), but we go to
TS_INACTIVE, then the discharge circuit will never be active. Going into
a discharge state for 5s allows the PDU to open the SDC for long enough
to reach <60V.
2023-04-15 16:58:40 +02:00
Jasper Blanckenburg 0b2010797e AMS_ERROR pin is actually inverted 2023-04-04 14:51:55 +02:00
Jasper Blanckenburg e18135558d Use FaSTTUBe CAN Abstraction Layer 2023-03-15 18:07:38 +01:00
Jasper Blanckenburg 4f43895235 Port FT22 code 2023-03-12 21:06:23 +01:00
Jasper Blanckenburg b453286f08 Initial commit 2023-03-12 18:32:12 +01:00