I bought a Raspberry Pi the other day, and I'm thinking, since I have already constructed the OBD-II to DB9 cables, I'm wondering if there's a way I can use that to finish my project. Does anyone know of any Linux OBD software that will run on the Pi? I've started searching, but haven't come up with anything yet. Gonna keep any progress posted here. Any insight this community could lend is greatly appreciated.
I've looked for the same thing for quite a while. Here is probably the most useful link I've found:
The author reverse engineers a piece of software written for Windows by looking at the byte streams going between his computer and his car's computer. While the technical details are interested, he also provides snippets of source code that can be used.
His final conclusion is that the Raspberry Pi is not able to read from the OBD-II interface of a car while the engine is running. His reasoning is buggy serial drivers resulting in bad timing.
Here's another one that may provide a solution eventually, but mostly covers the hardware side for now:
The author requested a free STN1110 chip from http://www.obdsol.com/stn1110/ and plans on making a custom board to communicate with his car. If you do a search on the Raspberry Pi boards you will find a couple other people working on the same thing. I was even able to find a person working on a marketable version of such a board:
The creator did not provide a website for ordering such a board that I'm aware of, but seems to offer them if you send a private message on the form.
There is also an android app called Torque that is available. I haven't managed to find source for it however.
Some more potentially useful links:
http://www.obdtester.com/pyobd - Open source (GPL) program written in python that interfaces with OBD-II. If that's not a perfect match for the Rasberry Pi, I don't know what is.
http://sourceforge.net/projects/openobd/ - An abandoned C++ based OBD-II program for both Windows and Linux based systems.
There was a blog post on http://www.raspberrypi.org/ today with some more good information:
Here's a link to the blog: http://www.raspberrypi.org/archives/4462
A link to a forum post of a guy who put a PI in his F150: http://www.raspberrypi.org/phpBB3//viewtopic.php?f=41&t=50495
A link to his github source: https://github.com/martinohanlon/pyobd
Another project with OBD and GPS: http://icculus.org/obdgpslogger/
Software written for the above that simulates OBD: http://icculus.org/obdgpslogger/obdsim.html
I have a feeling that if I don't start working on this soon there wont be anything left to develop.
You might find this project interesting.. A guy has created a ODB2 data logger for his motorbike using a raspberry pi.
He includes links to github where you can find the source code as well as detail about the USB -> OBD2 interface he used.
There is also a pair of guys in the process of creating an OBD2 logging app using a raspberry pi, check out their blog: