Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hwdef: CubeOrange-Ottano: add to BATT6/BATT7 #227

Merged
merged 1 commit into from
Oct 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading