This is a copy from a Ground Stations thread where a user reporded unable to enter anything into the parameter fields in the battery tab.
- I experience exactly the same problem!
Though I am currently using Mission Planner 1.0.82 and APM fw 2.0.49.
I cannot enter anything here (apart from selecting Monitor and Capacity):
And I must admit that I am confused about the wiki instructions related to the AttoPilot sensor:
Is that instruction really complete and updated for latest versions hardware, software and firmware?
3S LiPo, using APM onboard voltage divider for AN0 (R1=3.9k)
AttoPilot sensor version: 50V / 90A
AttoPilot sensor data sheet:
I soldered the Atto sensor according to the data sheet (I think the ArduPilot Wiki shows an earlier version of Atto sensor layout). The same wiki mentions the choice of using AttoPilot sensor onboard voltage divider OR the APM voltage divider. As I write above about setup, I use the APM onboard divider, R1=3.9k.
Studying the Atto datasheet I am unable to find ANY reference to an optional AttoPilot sensor board voltage divider!
Now, quoting the APM wiki: "If you are using the current sensor board voltage divider do not put a resistor in for the APM onboard voltage divider AND you will have to change the voltage divider ratio in the firmware."
So, I take it, since I am NOT using the current sensor board voltage divider I should not have to change the voltage divider ration in the firmware. Right?
Then follows the APM board close-up photo. And let´s just agree that the text has gotten the top / bottom reference the wrong way around. Anyhow, I soldered a 3.9k resistor in the top slot of the voltage dividers.
Then, the final confusion (remember from above: NOT using current sensor voltage divider - NO firmware modification neccesary):
Instructions for setting up the APM code to use the AttoPilot sensor:
- Remove all voltage divider resistors from APM board
- In the APM Arduino code's APM_config.h add these lines:
For 4 cell LiPo add this line: "#define VOLT_DIV_RATIO 16.6"
For 3 cell LiPo add this line: "#define VOLT_DIV_RATIO 12.6"
- If you have trouble compiling for 1280 board, write additional line to APM_config.h #define LOGGING_ENABLED DISABLED It will prevent error (sketch too big). New board APM2560 does have more memory.
- Upload firmware and connect external sensor
These four steps did not seem to be conditioned by usage of current sensor board voltage divider. Or are they?
So why am I unable to enter anything in the Battery tab fields?
What should I do to make it right?