I am currently building a fuel powered small model plane. My fuel tank has a built in analog fuel level sensor that I want to use.
From source documentation on ardupilot (Fuel Flow and Level Sensors — Copter documentation) they say I need to connect the output to the ADC Pin (RAW_PRESS_SENS_IN) however my carrier board (Airbot Systems Mini Carrier Board) for my Flight Controller (Cube Orange Plus ) does not break out this pin?
Is it possible to use one of the analog pins from the battery monitors to do this?BATT_VOLTAGE_SENS or AUX_BATT_VOLTAGE_SENS
Or is the only way to integrate this is with a different carrier board?
From the docs you linked to:
Any analog-capable pin can be used as the input from the sensor.
And the BATT parameters are given that need to be configured.
Max input voltage is 3.3VDC
Thank you @dkemxr , i am able to get the raw voltage now I’m generating through DC power supply mimicking a ‘analog voltage’.
However with my current setup i can’t seem to get the ‘fuel level’ shown as a percentage.
At full a tank (15L) i am expecting 3.3v and at empty i am expecting 0-0,05V, however when i change these with my psu my HUD values for batt2 don’t change