Is there a way that I can calculate the current range of a vehicle, using data provided via OBD-II?
I know I can find out the fuel percentage using fuelLevelInput
, but how can I find out how many miles that equates to?
I am using a OBD system that roughly calculates MPG for me, is there a way I can use that in conjunction with fuelLevelInput
, to estimate the current range of the car in miles?
My understanding is that all I have to do, is to multiply the MPG with the current fuel level in gallons. The problem is that fuelLevelInput
only provides a percentage. Is there a way to find out the fuelLevelInput
in gallons or litres?
Thanks for your time, Daniel.
fuelLevelInput
percentage to roughly figure out the current vehicle fuel level in gallons, which can then be multiplied by MPG, to figure out the range. The only problem is that I cannot find a suitable database. – Supertecnoboff Jan 31 '17 at 11:46