"When a man dies, his good deeds come to an end except three: ongoing charity, beneficial knowledge and righteous offspring who will pray for him." [Sahih Muslim: 3084]

Wednesday, June 26, 2013

Mitsubishi ECU - OBD Command Code and Protocol

OBD Command
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:
  • 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
There are some people a little bit confuse including me about the multiplexing communication. Wikipedia explain that multiplexing (also known as muxing) is a method by which multiple analogue message signals or digital data streams are combined into one signal over a shared medium.
Multiplexing communication between ECU

Reference:

4 comments:

  1. 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.

    ReplyDelete
  2. Hi yusri, tak terperasan ada komen nie. Awak boleh e-mail saya di en.gosip(at)gmail.com

    ReplyDelete
  3. Hellk bro.sy still xpaham la. Bole tunjuk cara nye dlm video tak??

    ReplyDelete

  4. hi 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

    ReplyDelete