Add pins for automatic precharging to devkit and 3lb as well.

This commit is contained in:
mvgalen 2025-04-15 21:56:34 +02:00
parent cb025e47dc
commit 8d079f3db8
2 changed files with 9 additions and 0 deletions

View file

@ -53,6 +53,10 @@
#define PRECHARGE_PIN 25
#define BMS_POWER 2
// Automatic precharging
#define HIA4V1_PIN 25
#define INVERTER_DISCONNECT_CONTACTOR_PIN 32
#define SECOND_POSITIVE_CONTACTOR_PIN 13
#define SECOND_NEGATIVE_CONTACTOR_PIN 16
#define SECOND_PRECHARGE_PIN 18

View file

@ -51,6 +51,11 @@ The pin layout below supports the following:
#define NEGATIVE_CONTACTOR_PIN GPIO_NUM_16
#define PRECHARGE_PIN GPIO_NUM_17
// Automatic precharging
#define HIA4V1_PIN GPIO_NUM_17
#define INVERTER_DISCONNECT_CONTACTOR_PIN GPIO_NUM_5
// SMA CAN contactor pins
#define INVERTER_CONTACTOR_ENABLE_PIN GPIO_NUM_14