Current Speed: Pid 0D Current gear is not available, only manufacturer specific.
i just started interacting using OBDII protocol with my car (RAV4) through a VB program i did.
I managed to find out the standard PIDs such as RPM, Speed etc but i have not managed to find anything related to current speed.
After some googling, i was pointed to the PID 19F5 but with no information on what mode it should be used.
Does anyone have any idea of how to get the current gear ?
Thanks in advance
That's what I call an old and incomplete list. Even back in 1996 we started out with more standard pids than $1C. Any pids with 4-digit number is non-standard and manufacturer specific.
You could use speed and rpm to figure out what gear you're in. It would be fairly easy with a standard transmission. A bit tougher with an auto... but not entirely impossible.
"stop with the REINSTALLS, what do you think we got some lame-o installer!!!" - mitchjs
^^^ Ya that's exactly what I was thinking. It'd be easier if you knew the gear ratios and final drive.
Thanks for the comments,
as a final question can anyone let me know the formula that relates speed , rpm and gear ratio ?
Spend a few minutes logging data, rpm and vss, in each gear. Draw out a chart of rpm/vss. The height at the long flat bits are the gear ratios. Write down those numbers.
Now go back and while you're driving, pick the rpm/vss ratio that's closest to your known gear. Done.
Of course, doing this automatically is a fair bit harder. My current plan is to [when I have time] do the ratios, use FFTs to throw away the high frequency stuff, and calculate the flat bits.
And they say people never use higher math in everyday life. Way to go Gary.
— OBDLink MX: world's smallest, fastest, most advanced OBD/Bluetooth adapter with SW and MS CAN support. Read the review to learn more.
— Need to look up a diagnostic trouble code? Try the most up-to-date, free DTCsearch.com!
You cannot send me a private message using this forum. Use my email instead: vitaliy[@]scantool.net.