ardupilot icon indicating copy to clipboard operation
ardupilot copied to clipboard

Arduplane: No current from Attopilot current sensor on 6S, APM2.5

Open GrahamDyer opened this issue 13 years ago • 4 comments

We've run into a problem with APM:Plane trying 3 different current sensors. We get voltage (on 6S battery > 25.2V) no problem but the current value shows no change at all. Just about every permutation on the MP has been tried. Connections have been checked multiple times for accuracy too. A1 = voltage pin, A2 current pin

One of the sensors was tested on APM:Copter and it works fine giving a valid current value, the other two are brand new and all have been triple checked for connections but neither show a current value with APM:plane v2.74b.

So is current actually working on APM:Plane with a 3rd party current sensor?

GrahamDyer avatar Sep 19 '13 11:09 GrahamDyer

Using a multimeter what was the voltage measuremet from the sensor?

billbonney avatar Sep 20 '13 06:09 billbonney

In the mv range, if I recall correctly it was 25mv at around 2.8A. On 20 Sep 2013 8:41 AM, "Bill Bonney" [email protected] wrote:

Using a multimeter what was the voltage measuremet from the sensor?

— Reply to this email directly or view it on GitHubhttps://github.com/diydrones/ardupilot/issues/555#issuecomment-24792565 .

GrahamDyer avatar Sep 20 '13 06:09 GrahamDyer

it definitely does work - I've used it, and the code has no special tie to a particular pin. Just set BATT_CURR_PIN and AMP_PER_VOLT right. One thing to check is if the pin is being used by anything else, check all the pin parameters, especially digital pins like RELAY_PIN Cheers, Tridge

tridge avatar Sep 20 '13 11:09 tridge

Thanks Tridge, we managed to get current out on A4, nothing however on A2 or A3 for whatever reason, but objective achieved. I'll close the issue. On 20 Sep 2013 1:17 PM, "Andrew Tridgell" [email protected] wrote:

it definitely does work - I've used it, and the code has no special tie to a particular pin. Just set BATT_CURR_PIN and AMP_PER_VOLT right. One thing to check is if the pin is being used by anything else, check all the pin parameters, especially digital pins like RELAY_PIN Cheers, Tridge

— Reply to this email directly or view it on GitHubhttps://github.com/diydrones/ardupilot/issues/555#issuecomment-24803724 .

GrahamDyer avatar Sep 20 '13 12:09 GrahamDyer