Owne / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

In CLI mode, when TEST>>BATTERY command is given, total voltage of the 3S Lipo is not displayed #308

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use latest released firmware of APM2.011
2. Compile and upload the code.
3. Enter into CLI mode, give command TEST>>BATTERY

What is the expected output? What do you see instead?
Since the balanced connector of the 3S Lipo is directly connected 
for voltage monitoring so the volated of individual cell and the total voltage 
of the Lipo should be displayed but total voltage of the Lipo is not displayed. 
Even when the balance connector of the Lipo is disconnected from APM, even then 
some voltage of individual cells is displayed, which should be zero if no Lipo 
balance connector is connected.

What version of the product are you using? On what operating system?
APM2.011, Windows XP-SP3

Please provide any additional information below.
photo is attached for reference.

Original issue reported on code.google.com by narpat...@gmail.com on 28 Mar 2011 at 11:42

Attachments:

GoogleCodeExporter commented 8 years ago
Corrected in r2536.  My output after the revision for a 3 cell li-po is below.

test] battery
Volts: 1:3.95, 2:8.00, 3:12.04, 4:0.00

Note that the fourth value is zero for a 3 cell lipo.  If you are having 
difficulties make sure that the black wire on the battery balance connector is 
being hooked up to the pad labeled "gnd".  You could easily have soldered on 4 
pins for V1 to V4 and attach the balance tap to those, but that will not give 
the proper result.  If you have a good ground path from the main battery 
connector then connecting the black lead on the balance connector is not 
necessary, so if you have not soldered a pin on the "gnd" pad you do not 
necessarily need to add one.

Original comment by dewei...@gmail.com on 2 Apr 2011 at 1:29