Servers by jDrones

How should I configure multiple voltage & current sensors (FrSky, on carrier board)?


(TI) #1

Hi,
I am using a Pixhawk 2.1 with two 4s lipo batteries connected in parallel to a PDB on a hexacopter.

The PDB is a Spektreworks board, which can do voltage and current sensing; I have it setup with the parameters as found in their documents:

Parameter Value
BATT_AMP_OFFSET 0.45
BATT_AMP_PERVOLT 50
BATT_CURR_PIN 3
BATT_MONITOR 4
BATT_VOLT_MULT 15.3
BATT_VOLT_PIN 2

Additionally, I am considering using two FrSky FLVSS voltage sensors, connected to the balancing ports of the lipos. They would work via the frsky passthrough telemetry and have been assigned two differing IDs already. (And are marked cel and cel2 to work with the yaapu telemetry script, running on a Taranis TX.)

What I would like to configure is to get the voltage sensing from the balancing ports, and the current sensing from the Spektreworks board onto the Taranis (and the HUD in some way).

I am unclear how to correctly assign the various PIN and BATT_* parameters to accomplish this (if it is even possible).

Could somebody please enlighten me or straighten me out?