configurations: santabarbara: add scale for e1s power sensor
Add scale to keep E1S current reading error within 2%.
Change-Id: I53ff500555ec50fd085b269a334864fdff31ac7e
Signed-off-by: Fred Chen <Fred.Chen@quantatw.com>
diff --git a/configurations/meta/santabarbara_e1s_bp.json b/configurations/meta/santabarbara_e1s_bp.json
index f02e1de..54b0e97 100644
--- a/configurations/meta/santabarbara_e1s_bp.json
+++ b/configurations/meta/santabarbara_e1s_bp.json
@@ -186,8 +186,12 @@
],
"Type": "INA230",
"curr1_Name": "E1S_BP_P12V_E1S1_CURR_A",
+ "curr1_Offset": -5e-05,
+ "curr1_Scale": 1323.101349563,
"in1_Name": "E1S_BP_P12V_E1S1_VOLT_V",
- "power1_Name": "E1S_BP_P12V_E1S1_PWR_W"
+ "power1_Name": "E1S_BP_P12V_E1S1_PWR_W",
+ "power1_Offset": 0.0004,
+ "power1_Scale": 1327492.366919
},
{
"Address": "0x45",