Fuel level sensors supplied by our company are resistance-type sensors with output resistance: 0-200Ω
(ohm).
For the circuit shown on above figure, if VCC is 12V, R should be 200Ω (ohm) and if VCC is 24V then R should
be 600Ω (ohm) to make the input range to AD1 or AD2 is 0-6V.
Below formula is for calculating the fuel percentage left for this fuel level sensor: