Skip to content

Commit

Permalink
hwdef: CubeOrange-Ottano: add to BATT6/BATT7
Browse files Browse the repository at this point in the history
Adds pin assignments and scaling to BATT6 and BATT7.
  • Loading branch information
robertlong13 committed Oct 9, 2024
1 parent 79ab4f7 commit 3010d18
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-Ottano/defaults.parm
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,19 @@ BATT5_LOW_VOLT,43
BATT5_MONITOR,9 # ESC
BATT5_OPTIONS,64 # 6:Send resistance compensated voltage to GCS
# Battery 6: PDB Volt/Current Sensor 1
BATT6_MONITOR,28
BATT6_AMP_OFFSET,0.004108
BATT6_AMP_PERVLT,29.98257
BATT6_CURR_PIN,51 # AD7091R VIN1 (BAT_ISen_1)
BATT6_MONITOR,28 # AD7091R
BATT6_VOLT_MULT,16.667
BATT6_VOLT_PIN,50 # AD7091R VIN0 (Vsen_Batt_1), pin shared with BATT7
# Battery 7: PDB Volt/Current Sensor 2
BATT7_MONITOR,28
BATT7_AMP_OFFSET,0.004108
BATT7_AMP_PERVLT,29.98257
BATT7_CURR_PIN,52 # AD7091R VIN2 (BAT_ISen_2)
BATT7_MONITOR,28 # AD7091R
BATT7_VOLT_MULT,16.667
BATT7_VOLT_PIN,50 # AD7091R VIN0 (Vsen_Batt_1), pin shared with BATT6
BRD_SAFETY_MASK,2016
CAN_D1_UC_ESC_BM,9
CAN_D2_UC_ESC_BM,6
Expand Down

0 comments on commit 3010d18

Please sign in to comment.