DroneCAN Power Module Setup

Parameter Setup

Ardupilot

  • Connect the Power Module CAN connector to Flight Controller's CAN1 Port

  • Change the following parameters:

    • CAN_P1_DRIVER=1

    • CAN_SLCAN_CPORT=1

    • BATT_MONITOR=8

    • Unplug Power and Restart Flight Controller

PX4

  • Connect the Power Module CAN connector to Flight Controller's CAN1 Port

  • Change the following parameters:

    • UAVCAN_ENABLE = 2(Default for most FW)

    • UAVCAN_SUB_BAT = 2 (filter)

    • BAT1_SOURCE = External

    • Unplug Power and Restart Flight Controller

You should now see the voltage and current consumed

Calibration

According to the factory default settings, the PM current and voltage detection accuracy is about 5%, which can be improved by fine-tuning the PM parameters.

  • Connect the PM to the CAN1 port of the Ardupilot firmware flight controller

  • Go to MissionPlanner->SETUP->Optional Hardware->DroneCAN/UAVCAN page, click MAVlink-CAN1, Parameters

  • Adjust the parameters in the following interface

    • BAT_AMP_PERVLT parameter

    • BAT_VOLT_MULT parameter

If the Voltage/current displayed on MissionPlanner is greater than the value displayed on the regulated power supply, adjust the value down. Otherwise, adjust it up

  • Click Write Params

  • Click Commit Params

  • Return to the MissionPlanner DATA page to see if the voltage and current are accurate. If not, repeat above

CAN MCU Firmware Upgrade

In Mission Planner - DroneCAN/UAVCAN page, select the ID f405_HolybroPMU, click menu, select Update, and update the firmware online.

Please update Mission Planner to the version indicated below(1.3.74) or higher.

After clicking “Update”it will ask whether to search update from the Internet. Click “Yes”. (Automatically searches for upgraded to the latest stable version firmware).

If you have download the firmware on your local computer,Click “No”. (Update local firmware).

If you have download the firmware on your local computer, Click “No”and select the firmware file from your local drive.

Check firmware version after upgrade. After the upgrade, check whether the version is successfully upgraded.

If “No update available ” appears when searching updates. Please turn off your firewall in the system setting and try again.

Last updated