Since there is a mistake on my first post regarding of the protocol, I've made some more research on that. Here is the result on how the ecu response to the command.
Based on Christia999 code, I found the OBD command code was setting at here (refer to picture 1 and picture 2 below)
Picture 1 (The OBD Command)
Picture 2
If we look further on the code comment, the OBD code were divided into few table ranges to store the variable value. Here are the table range comments by Christia999:
So how does it work? Let say we want to get the RPM value from the ECU. So the command we should be use is 0x21 (based on Mitsubishi ECU command that I've posted before). Whenever we send 0x21 command, the ECU will look-up at the variable value of the table which can be refer at the picture below.
So it is prove that the function for RPM is correct where RPM function is y=31.25*x and x is a value response by ECU.
Communication Signal
As I've wrote before, the communication with the ECU can describe as below:
Reference:
- Serial communications rate is 1953 baud, 8 bits, 1 stop bit, no parity, TTL.
- Communication signal is "Inverted"
- Communication referral as 1 byte sent and 1 bytes receive
Multiplexing communication between ECU
Reference:
- E931/E932 source files with comments and symbols.
- Multiplexing on Wikipedia
Boss, i really impress with your project. I tried to read my car,s ecu since 2010 and built my own device but failed. How can i contact you? My email is yusrijamal(a)gmail.com. Please send me your contact number and email. Thank you. I am desperate to know.
ReplyDeleteHi yusri, tak terperasan ada komen nie. Awak boleh e-mail saya di en.gosip(at)gmail.com
ReplyDeleteHellk bro.sy still xpaham la. Bole tunjuk cara nye dlm video tak??
ReplyDelete
ReplyDeletehi dear its very first-class and very helpful submit for those who are new and thinking to begin a weblog site.Your posts are very helpful and creative mitsubishi