Battery indication error

I am working with the Ardupilot Mega with a 3S lipo and I am trying to get the battery voltage to display in the telemetry. Currently all I am able to get is "Low Battery!" but the battery is fully charged. I soldered the 3.9k resistors in the 1,2 and 3 slots and put a jack to plug into the balancing jack on the battery. When I run a test through the CLI as suggested in the manual I get the following data ( ran it twice back to back):

test] battery
MSG set_next_WP, wp_index: 0
Volts: 14.2274 2:7.0162 3:9.9227 4:9.7881
test] battery
Volts: 13.2891 2:6.4143 3:9.6691 4:9.5258


I think it is missing the semicolon before the "1" right after volts. Is this an output error or am I reading it wrong? The way I see it now is it is missing the first cell and only displays the voltage for cell 2 and 3 with cell 4 not in use.

My config in

// Battery monitoring
#define BATTERY_EVENT                1
#define BATTERY_TYPE            0
#define INPUT_VOLTAGE                   5.2
#define VOLT_DIV_RATIO            2.56
#define LOW_VOLTAGE            11.4

Any suggestions are appreciated!

Fred

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

This reply was deleted.

Activity