Are you sure that your fuel level has no digital levels and it's not analog volts?
we need more info:
Dear Walker,
Following is the information.
E.g:
Fuel Tank Size: 46Liters
Voltage on Full Fuel Tank: 14Volts
Current Voltage: 5.73Volts
Remaining fuel will be = 46 * 5.73/14 = 18.82 liters.
I able to achieve all this i am facing a problem i get abnormality in data when trip started i start getting fuel values after every 1 minute, according to logic fuel value must be consumed as vehicle is running, but as you can see the below data voltage is not in descending order it go up and down too. So i stuck with this problem how to calculate exact fuel consumed in a trip.
5.98
6.07
5.18
6.1
6.19
6.1
5.61
5.73
6.07
6.1
6.53
5.92
6.04
5.7
5.8
5.92
5.92
5.89
6.04
5.12
5.15
6.25
6.13
5.76
5.8
5.89
5.73
Regards
i'm fighting with this question too.
let's see manual for calculated values:
"You have a device with some configurable analog inputs and connected fuel sensor to first one. Let's say analog input has 10 bit resolution (0..1024) and maximum value 20 volt. Fuel sensor report rest of fuel as voltage from 0 to 12 volts, where 0 V is empty and 12 V is full 40 liters tank.
Fuel
adc1 ? adc1 * 0.065 : null
Number"
So you must have just two points, full tank volts value and empty ones. Than we must calculate coefficient 0.065 from the above mention example. But i don't know how we must calculate it.
Dear Support,
I am using device GT06, i want to show spent fuel in that trip. May i know the formula to calculate fuel spent in that trip. I am getting fuel level in volts on the server. Vehicle fuel tank is 46Liters.
Followings is the volts value of a trip.
5.98
6.07
5.18
6.1
6.19
6.1
5.61
5.73
6.07
6.1
6.53
5.92
6.04
5.7
5.8
5.92
5.92
5.89
6.04
5.12
5.15
6.25
6.13
5.76
5.8
5.89
5.73
Please help.
Regards