I want to read a 0 - 3.3V signal, so I am trying to use the 2nd battery / BATT2 voltage sensing pin. I found the following parameter definition in the documentation;
BATT2_VOLT_PIN: Battery Voltage sensing pin
Setting this to 0 ~ 13 will enable battery voltage sensing on pins A0 ~ A13. For the 3DR power brick on APM2.5 it should be set to 13. On the PX4 it should be set to 100. On the Pixhawk powered from the PM connector it should be set to 2.
My questions are:
Where are pins A0 to A13? Are they the similarly numbered Virtual Pins i.e. A0 = Virtual Pin 0?
If yes, then A13 and A14 are the 2 analog input pins on the ADC 3.3V port, correct?
If someone can confirm this, I will try and put some voltage on these pins to test.