How we can get Instant and average fuel consumption by CAN?
I want to make a Arduino code to show this info on LCD
Instant and average fuel consumption
-
- Pro
- Posts: 364
- Joined: 04 Aug 2019, 22:47
Re: Instant and average fuel consumption
This information is not present on CAN. The IPC is responssible for calculating them. All it gets from CAN is fuel flow or something similar and then computes this against vehicle speed.
You'll have to sniff CAN for data that changes with RPM and go from there.
We can get the algorithm from IPC by reverse engineering using a dissasembler software against its flash contents... but this might proove to be harder to do than sniffing CAN and doing some math
You'll have to sniff CAN for data that changes with RPM and go from there.
We can get the algorithm from IPC by reverse engineering using a dissasembler software against its flash contents... but this might proove to be harder to do than sniffing CAN and doing some math
Re: Instant and average fuel consumption
if we know formula... we can create simple c++ arduino code to calculate ... maybe
08B is fuel, right?
08B is fuel, right?