stelian42 / HarleyDroid

Harley Davidson J1850 Data Analyser for Android
https://github.com/stelian42/HarleyDroid/wiki/HarleyDroid-!
GNU General Public License v3.0
33 stars 14 forks source link

Fuel gauge #10

Open wolfthemes opened 5 years ago

wolfthemes commented 5 years ago

Hey there,

Thanks a ton for sharing this project!

The fuel gauge doesn't seem to be updated. Just tested on a very quick test ride it stays to zero. Is this data updated only rarely?

I couldn't find any "a8836112xx" entry in the log neither.

Does the fuel gauge be updated at all? Maybe only on big variation (when refilling tank)?

Must the fuel gauge be calculated using fuel consumption to be able to update it more frequently?

Sorry for the multiple questions. I hope you can enlight me.

Everything else seems to work fine, though.

Best regards.

tz1 commented 5 years ago

It might be an update to the Harley where the info is not there. It worked on my 2007 Night Train, but I don't have lots of Harleys to test it with. Also it only does 5 or 6 levels, tends to be slow, and is often not very linear, so anything under a half to a fourth tank might read 0

wolfthemes commented 5 years ago

It seems you're right. Harley has changed the ways the fuel level is calculated for V-Rods (I have a VRSCDX 2016) in 2008 if I remember correctly. Now the sensor sends the data in volt instead of ohms.

Maybe the issue is coming from there, so there is no fuel level PID maybe. I'm not sure how I could test each log entry/PID to check if it's a "new" fuel level data format, though.

The only solution at the moment is to set the gauge manually to 100% after tank refills and then calculate the level based on fuel consumption. Just a bit annoying for the user, but best I solution for now.