Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Missing first line in table

...

Section
Column
width50%

The first thing to do is to configure the hardware settings:

1 - Connect the board to your computer and got to the System tab in your GCS

2 - Browse the first part (Settings) and find the HwSettings UAVObject

3 - Enable the Battery module  : OptionalModules > Battery > Enable

4 - Set the analog input pins for voltage and current :

  • ADCRouting > adc0 > BatteryCurrent
  • ADCRouting > adc1 > BatteryVoltage

5 - Save changes, click Upload button :

6 - Reboot your board: disconnect all power sources and reconnect to your computer.


Here is the adc mapping for various boards:

Boardadc0adc1adc2adc3adc4adc5adc6
RevolutionPWR port
pin 3
PWR port
pin 4
Output port
out 3

Output port
out 4

Output_port
out 5

Output port
out 6

internal
Sparky2PWR port
pin 3
PWR port
pin 4
PWR port
pin2

Output port
out 3

Output port
out 4

Output_port
out 5

Output port
out 6

RevoNano

FlexiIO
pin 4

FlexiIO
pin 5
FlexiIO
pin 6
FlexiIO
pin 7
FlexiIO
pin 8
Output_port
out 5
Output port
out 6

FlexiIO refers to the receiver port

Column
width50%

 

...