Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

I recently built an OBDuino32k with my Arduino Uno. Unfortunately, I built the wrong interface, so I can't use it with my car. I built an interface for ISO instead of ELM.

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.

share|improve this question
1  
I'm also planning to connect my Pi to the OBD-II interface in my car. For the hardware I'm using a dongle that connects via bluetooth as that seems the easiest way to do it (no soldering for a start). –  Tom77 Apr 8 '13 at 14:57
    
@Tom77 - Seems interesting. Do you have a blog or website tracking your project? I'd like to see it. –  Thomas Apr 8 '13 at 18:53
add comment

2 Answers 2

up vote 5 down vote accepted

I've looked for the same thing for quite a while. Here is probably the most useful link I've found:

http://cyantific.de/raspberrypi/kw1281-live-diagnosis-with-raspberry-pi/

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:

http://wolframpc.blogspot.com/p/raspberry-pi-car-pc-project.html

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:

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=41&t=8854

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.

Edit 7/28/2013

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.

share|improve this answer
    
Please only use links as an additional resource, not your main one. We need you to describe what those links say. –  xxmbabanexx Apr 5 '13 at 2:50
    
Wow! Thanks! I'm gonna check these out! Looks like promising info to build upon. –  Thomas Apr 5 '13 at 3:46
1  
@xxmbabanexx Added a description of link content and a bit more info. –  Sparafusile Apr 5 '13 at 12:03
    
Much better. This is an awesome answer. –  xxmbabanexx Apr 5 '13 at 17:20
add comment

You might find this project interesting.. A guy has created a ODB2 data logger for his motorbike using a raspberry pi.

http://www.pistonheads.com/gassing/topic.asp?t=1216528

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:

http://www.pimyride.com/

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.