Power module works but shows voltage as zero

I have a Navio2 on a Pi2 with the power module from the store.

I followed the docs on how to set it up in APM Planner 2.0 but still I get zero measured voltage.

Could it be broken or is there some way I can test it?

It powers the Navio and Pi just fine.

Thanks

/Jacob

Hello there!

It is necessary to provide following information to get help:

  1. Image and ArduPilot version.
  2. Detailed problem description. How does expected behavior differ from the observed one?
  3. Your step by step actions.
  4. Picture of the setup and connection scheme.
  5. If using any additional hardware please provide exact make and model.

I’m using a Navio2 with a Pi2 with image: emlid-raspbian-20160718.img and ArduPlane V3.7.1

I have connected a 4S lipo to the power module sold on the emlid store and according to the docs
selected the Pixhawk power module 90A in APM Planner 2.0 while connected to ArduPlane over UDP port 14550.

The problem is that I still get measured battery voltage as 0.

So far I have no servos or RC/radio gear connected.
Just a Wifi adapter.

I tried the ADC example and got:
pi@navio:~/Navio2/C++/Examples/ADC $ ./ADC
A0: 5.1480V A1: 0.0200V A2: 1.4820V A3: 0.0000V A4: 0.0080V A5: 0.0320V
A0: 5.1700V A1: 0.0160V A2: 1.4880V A3: 0.0000V A4: 0.0080V A5: 0.0320V
A0: 5.1700V A1: 0.0240V A2: 1.4760V A3: 0.0000V A4: 0.0320V A5: 0.0120V
A0: 5.1680V A1: 0.0240V A2: 1.4740V A3: 0.0000V A4: 0.0320V A5: 0.0140V
A0: 5.1680V A1: 0.0240V A2: 1.4740V A3: 0.0000V A4: 0.0080V A5: 0.0140V
A0: 5.1680V A1: 0.0200V A2: 1.4840V A3: 0.0000V A4: 0.0320V A5: 0.0120V
A0: 5.1700V A1: 0.0240V A2: 1.4840V A3: 0.0000V A4: 0.0300V A5: 0.0140V
A0: 5.1700V A1: 0.0200V A2: 1.4920V A3: 0.0000V A4: 0.0300V A5: 0.0120V
A0: 5.1600V A1: 0.0240V A2: 1.4760V A3: 0.0000V A4: 0.0060V A5: 0.0320V
A0: 5.1580V A1: 0.0160V A2: 1.4840V A3: 0.0000V A4: 0.0080V A5: 0.0320V
A0: 5.1600V A1: 0.0160V A2: 1.4880V A3: 0.0000V A4: 0.0060V A5: 0.0320V
A0: 5.1580V A1: 0.0240V A2: 1.4800V A3: 0.0000V A4: 0.0320V A5: 0.0140V
A0: 5.1600V A1: 0.0200V A2: 1.4820V A3: 0.0000V A4: 0.0080V A5: 0.0320V
A0: 5.1680V A1: 0.0240V A2: 1.4780V A3: 0.0000V A4: 0.0300V A5: 0.0100V

could you check that in full parameters list battery voltage and current pin are 2 and 3?

1 Like

Not sure if I’m doing something wrong, but APM Planner doesn’t show Full Parameter List, only
Standart Parameters, and here

BATT_MONITOR, BATT_VOLT_PIN and BATT_CURR_PIN

are always set to Disabled even if I change them manually and restart ArduPlane and APM Planner.

Where does ArduPilot store settings and parameters on the Pi?

How do I ensure that parameters changed in APM Planner are stored on the Pi?

/Jacob

click on file (upper left) and click advanced mode;

now full parameter list appears and you can check the pin numbers;

settings are in /var/APM/ArduCopter.stg

in full parameters list there is a button “write to”

Not sure what I’m doing wrong, but Full Parameter List is empty.
Tried refresh, reset to default and reboot and download.
Also checked: /var/APM/ArduPlane.stg
It’s 16kb but almost all zeros?

/Jacob

are you connected to your Navio?

u usually only need /var/APM/ArduPlane.stg after major upgrades to delete it;

Yes, UDP port 14550

what happens when you click refresh parameters?
a green square shows you that heartbeat is being received; also you can see your navio moving in the hud?

Everything is online, Heartbeat, GPS, Gyro, etc.

When I click Refresh unde Flight Controller it says: no params to write

When I click Refresh under Download Parameters nothing happens.

/Jacob

Okay…

I made a fresh image, and using Mission Planner (Windows 10) on my laptop i was able to get the full parameter list and set:

BATT_MONITOR=4
BATT_VOLT_PIN=2
BATT_CURR_PIN=3

Wrote params and restarted ArduPlane.

Now I have correct Voltage in APM Planner :slight_smile: (OS X)

(But still no full parameter list in AMP Planner???)

/Jacob

delete ArduCopter.stg and reboot;
if that doesn’t solve your problem, please:
post a screenshot of APM’s full params list;
post a screenshot of command line starting ArduPlane;

Edit: ignore the above;

make sure you have latest APM planner or reinstall;

I’m not sure how to purge settings on OS X.

I tried deleting ~/apmplanner2 and reinstall but some settings remain.