GT06 Fuel Consumption between trip

Kamran Butt7 years ago

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

walker21017 years ago

Are you sure that your fuel level has no digital levels and it's not analog volts?
we need more info:

  • gps device
  • car model
  • how analog input connected
Kamran Butt7 years ago

Dear Walker,

Following is the information.

  1. GPS Device is TK108 using GT006 protocol.
  2. Car Model: Toyota
  3. What we did we are connected one of the wires of device with fuel gauge wire, which gives the volts value, and i am using a formula to convert the volts values into remaining fuel level.

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

walker21017 years ago

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.