MATLAB: Making A “Gauge Cluster” for OBDII Data

datagraphicsMATLABobd

I am looking to make a GUI that contains gauges, which would be able to give me a visual display of performance oriented data from my car's Diagnostic port, (OBDII). I have experience using pre-made apps which achieve the same thing, but I am looking to do it for free, and use this as a project for school. I have an ELM327 USB-OBDII interface, but am not sure how I can go about retriving the actual data being brought into the computer from matlab. I have seen that there is the App from 2015 called OBDTool, but it doesn't provide what I'm looking for. As a side question, is there a way I can look at the source code for OBDTool to see how the data is being interpreted for usage in that UI? I feel it would be helpful to see a working implementation of a similar idea, to help get a basis to build my code onto. Thanks for any help you can provide!

Best Answer

I think you should focus first on getting the data from the interface. It's a well known interface and should be plenty of resources on the internet to obtain the data. I have no experience with such problems, but by Googling a bit about the protocol, I found this doc. Also, take a look at serial function.