Bonjour François,
I also played with GPS ( driven from my PSP ) and combine with
tire rotation from the Prius to have more accurate data...
> would you share with us some info regarding:
> mpg: do we get a fuel comsumption in L/H
You can convert from KM/L L/100KM etc. from MPG :
I didn't find the exact MPG computations ( nor did anyone I know ),
but I am using the following formula which seemed at least as good :
if(ThrottleV!=0) MPG=(float)((SpeedV*SPDSCALER_MILE)/ThrottleV);
where
#define SPDSCALER_MILE 10000.0f
ThrottleV is 0x348 ( 11.3 sample/sec 0 - 33280 )
SpeedV is 0x3CA ( 4.6 sample/sec
> torque : how do you get info
I only use RPM from 0x3C8 ( 7.1 samples/s value = 0 - 26880 )
Exact torque values are not reported as far as I know, but need
to be solicited. Which means you have to send a request on the
CAN and wait for a response :
1. Send to ID 0x7e2 : 02 21 c3 00 00 00 00 00 (len:
2. you should get back on ID 0x7eA : 10 27 61 c3 ?? ?? ?? ?? (len
these are not relevant for torque
3. Now send to ID 0x7e2 : 30 00 00 00 00 00 00 00 (len
And you'll get the rest of the data
ID 7ea 21 ?? ?? ?? ?? ?? ?? ??
ID 7ea 22 ?? ?? ?? ?? ?? ?? ??
ID 7ea 23 ?? ?? ?? ?? ?? ?? ??
ID 7ea 24 ?? ?? ?? ?? ?? ?? ??
ID 7ea 25 ?? ?? ?? ?? ?? ?? ??
In all those questions marks lies MG1 and MG2 RPM, torq, temp, inv temps as well as engine speed request and eng speed etc.
Play with it and observe...
Cheers,
Attila