Hello,

I am trying to get the correct battery voltage on my navio2.

arducopter seems to display the somewhat correct voltage (17.1V when it should be 16.8V according to my charger).

When using the ADC example (https://docs.emlid.com/navio2/dev/adc/) from the Navio githib repo I get the following output:

```
➜ ADC git:(master) ✗ ./ADC
A0: 4.9710V A1: 0.0240V A2: 1.5080V A3: 0.0000V A4: 0.0180V A5: 0.0240V
A0: 4.9950V A1: 0.0240V A2: 1.5080V A3: 0.0000V A4: 0.0220V A5: 0.0240V
A0: 4.9920V A1: 0.0240V A2: 1.5080V A3: 0.0000V A4: 0.0200V A5: 0.0260V
A0: 4.9920V A1: 0.0240V A2: 1.5080V A3: 0.0000V A4: 0.0220V A5: 0.0240V
A0: 4.9920V A1: 0.0240V A2: 1.5080V A3: 0.0000V A4: 0.0160V A5: 0.0200V
A0: 4.9890V A1: 0.0240V A2: 1.5080V A3: 0.0000V A4: 0.0160V A5: 0.0260V
A0: 4.9920V A1: 0.0240V A2: 1.5060V A3: 0.0000V A4: 0.0240V A5: 0.0240V
A0: 4.9920V A1: 0.0240V A2: 1.5080V A3: 0.0000V A4: 0.0180V A5: 0.0200V
A0: 4.9950V A1: 0.0240V A2: 1.5100V A3: 0.0000V A4: 0.0220V A5: 0.0240V
A0: 4.9920V A1: 0.0240V A2: 1.5080V A3: 0.0000V A4: 0.0240V A5: 0.0220V
A0: 4.9890V A1: 0.0240V A2: 1.5080V A3: 0.0000V A4: 0.0180V A5: 0.0240V
A0: 4.9950V A1: 0.0240V A2: 1.5080V A3: 0.0000V A4: 0.0160V A5: 0.0260V
A0: 4.9950V A1: 0.0240V A2: 1.5080V A3: 0.0000V A4: 0.0200V A5: 0.0240V
A0: 4.9950V A1: 0.0240V A2: 1.5100V A3: 0.0000V A4: 0.0160V A5: 0.0240V
A0: 4.9950V A1: 0.0240V A2: 1.5100V A3: 0.0000V A4: 0.0240V A5: 0.0240V
A0: 4.9890V A1: 0.0240V A2: 1.5080V A3: 0.0000V A4: 0.0240V A5: 0.0240V
A0: 4.9920V A1: 0.0240V A2: 1.5080V A3: 0.0000V A4: 0.0180V A5: 0.0280V
A0: 4.9950V A1: 0.0240V A2: 1.5120V A3: 0.0000V A4: 0.0160V A5: 0.0240V
A0: 4.9920V A1: 0.0240V A2: 1.5080V A3: 0.0000V A4: 0.0200V A5: 0.0240V
A0: 4.9920V A1: 0.0240V A2: 1.5080V A3: 0.0000V A4: 0.0200V A5: 0.0240V
A0: 4.9920V A1: 0.0240V A2: 1.5100V A3: 0.0000V A4: 0.0240V A5: 0.0240V
A0: 4.9950V A1: 0.0240V A2: 1.5080V A3: 0.0000V A4: 0.0240V A5: 0.0240V
A0: 4.9950V A1: 0.0240V A2: 1.5080V A3: 0.0000V A4: 0.0220V A5: 0.0220V
```

How do I get the correct voltage? Do I just need to multiply one of the values (I guess A2?) with the correct scaling? If yes, why wasnt this done in the example?

Also, can I get the Ampere that is currently used? I guess its Channel A3, but why is it labeled with Voltage in the example? Is the correct unit Ampere?

I found some other topics related to this, but they didnt really help me and it was stated that it “will be fixed”.

Thanks

Mirko