mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-31 21:18:29 -04:00
hwdef: setup default power pins for Holybro Pixhawk6C
This commit is contained in:
parent
66e8a3c93e
commit
8dce82ae73
13
libraries/AP_HAL_ChibiOS/hwdef/Pixhawk6C/defaults.parm
Normal file
13
libraries/AP_HAL_ChibiOS/hwdef/Pixhawk6C/defaults.parm
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# setup correct defaults for battery monitoring for holybro power brick
|
||||||
|
BATT_MONITOR 4
|
||||||
|
BATT_AMP_PERVLT 36.36
|
||||||
|
BATT_VOLT_MULT 18.18
|
||||||
|
|
||||||
|
BATT2_AMP_PERVLT 36.36
|
||||||
|
BATT2_VOLT_PIN 18.18
|
||||||
|
|
||||||
|
BATT2_CURR_PIN 14
|
||||||
|
BATT2_VOLT_PIN 5
|
||||||
|
|
||||||
|
BATT2_AMP_PERVLT 36.36
|
||||||
|
BATT2_VOLT_MULT 18.18
|
@ -89,6 +89,11 @@ PC4 BATT_CURRENT_SENS ADC1 SCALE(1)
|
|||||||
PB1 BATT2_VOLTAGE_SENS ADC1 SCALE(1)
|
PB1 BATT2_VOLTAGE_SENS ADC1 SCALE(1)
|
||||||
PA2 BATT2_CURRENT_SENS ADC1 SCALE(1)
|
PA2 BATT2_CURRENT_SENS ADC1 SCALE(1)
|
||||||
|
|
||||||
|
define HAL_BATT_VOLT_PIN 8
|
||||||
|
define HAL_BATT_CURR_PIN 4
|
||||||
|
define HAL_BATT_VOLT_SCALE 18.18
|
||||||
|
define HAL_BATT_CURR_SCALE 36.36
|
||||||
|
|
||||||
PA4 VDD_5V_SENS ADC1 SCALE(2)
|
PA4 VDD_5V_SENS ADC1 SCALE(2)
|
||||||
|
|
||||||
# SPI1 - IMUs
|
# SPI1 - IMUs
|
||||||
|
Loading…
Reference in New Issue
Block a user