Servers by jDrones

ArduPilot 3.6 ChibiOS how to configure battery monitor for HolyBro Pixhwak 4 (fmu v5)

arducopter
pixhawk

(Gal Nitzan) #1

Hi,

Truly new to this,
I am trying to enable battery monitoring on my HolyBro Pixhawk 4, however no success.

I have set BATT_MONITOR to 4 but I do not know what values I need to set for BATT_VOLT_PIN and BATT_CURR_PIN.

Any help appeiciated.
Gal.


(rmackay9) #2

Gal,

Welcome. For Pixhawk4 it should work if the same pin values are selected as for a Pixhawk. I think a reboot will be required after changing these values.

BATT_VOLT_PIN = 2
BATT_CURR_PIN = 3

The values should have defaulted to the correct values actually… in any case, hopefully this helps.


(Gal Nitzan) #3

@rmackay9 thank you. I shall try and see what happens.
Best,
Gal